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>
This commit is contained in:
Yann E. MORIN" 2010-11-01 01:12:39 +01:00 committed by Andy Gibbs
parent de889264bb
commit 1c9199ee6c

View File

@ -45,16 +45,16 @@ $(LOGDIR):
$(LOGDIR)/site.exp: $(TOPDIR)/default.cfg $(LOGDIR)
@{ echo 'lappend boards_dir "$(LOGDIR)"'; \
echo "set target_alias $(TARGET)"; } > $@
echo 'set target_alias $(TARGET)'; } > $@
$(LOGDIR)/board.exp: $(TOPDIR)/default.cfg $(LOGDIR)
@{ echo -e "load_generic_config \"unix\""; \
echo -e "process_multilib_options \"\"" ; \
echo "set_board_info bmk,use_alarm 1" ; \
echo "set_board_info rsh_prog ssh" ; \
echo "set_board_info rcp_prog scp" ; \
echo "set_board_info hostname $(DG_TARGET_HOSTNAME)"; \
echo "set_board_info username $(DG_TARGET_USERNAME)"; } > $@
@{ echo 'load_generic_config "unix"'; \
echo 'process_multilib_options ""'; \
echo 'set_board_info bmk,use_alarm 1'; \
echo 'set_board_info rsh_prog ssh'; \
echo 'set_board_info rcp_prog scp'; \
echo 'set_board_info hostname $(DG_TARGET_HOSTNAME)'; \
echo 'set_board_info username $(DG_TARGET_USERNAME)'; } > $@
# As Martin puts it:
# > The thing is that when you run 50k+ test cases the odds are that at