contrib: fix gcc test suite on system without echo -e
authorAndy Gibbs <andyg1001@hotmail.co.uk>
Mon Nov 01 01:12:39 2010 +0100 (2010-11-01)
changeset 21704f8aa694f9c0
parent 2169 8b470eaf3d85
child 2171 c2541d3f2f56
contrib: fix gcc test suite on system without echo -e

Fix the use of quotes in contrib/gcc-test-suite/Makefile to solve the
problem where board.exp is incorrectly generated on some build systems
where 'echo -e' is not handled correctly.

Signed-off-by: Andy Gibbs <andyg1001@hotmail.co.uk>
[Yann E. MORIN: fix space damage, pretty-up the stuff]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
contrib/gcc-test-suite/Makefile
     1.1 --- a/contrib/gcc-test-suite/Makefile	Sun Oct 31 20:17:30 2010 +0100
     1.2 +++ b/contrib/gcc-test-suite/Makefile	Mon Nov 01 01:12:39 2010 +0100
     1.3 @@ -45,16 +45,16 @@
     1.4  
     1.5  $(LOGDIR)/site.exp: $(TOPDIR)/default.cfg $(LOGDIR)
     1.6  	@{ echo 'lappend boards_dir "$(LOGDIR)"'; \
     1.7 -	  echo "set target_alias $(TARGET)"; } > $@
     1.8 +	   echo 'set target_alias $(TARGET)';     } > $@
     1.9  
    1.10  $(LOGDIR)/board.exp: $(TOPDIR)/default.cfg $(LOGDIR)
    1.11 -	@{ echo -e "load_generic_config \"unix\""; \
    1.12 -	echo -e "process_multilib_options \"\"" ; \
    1.13 -	echo "set_board_info bmk,use_alarm 1" ; \
    1.14 -	echo "set_board_info rsh_prog ssh" ; \
    1.15 -	echo "set_board_info rcp_prog scp" ; \
    1.16 -	echo "set_board_info hostname $(DG_TARGET_HOSTNAME)"; \
    1.17 -	echo "set_board_info username $(DG_TARGET_USERNAME)"; } > $@
    1.18 +	@{ echo 'load_generic_config "unix"';                    \
    1.19 +	   echo 'process_multilib_options ""';                   \
    1.20 +	   echo 'set_board_info bmk,use_alarm 1';                \
    1.21 +	   echo 'set_board_info rsh_prog ssh';                   \
    1.22 +	   echo 'set_board_info rcp_prog scp';                   \
    1.23 +	   echo 'set_board_info hostname $(DG_TARGET_HOSTNAME)'; \
    1.24 +	   echo 'set_board_info username $(DG_TARGET_USERNAME)'; } > $@
    1.25  
    1.26  # As Martin puts it:
    1.27  #  > The thing is that when you run 50k+ test cases the odds are that at