mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 05:17:54 +00:00
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:
parent
de889264bb
commit
1c9199ee6c
@ -45,16 +45,16 @@ $(LOGDIR):
|
|||||||
|
|
||||||
$(LOGDIR)/site.exp: $(TOPDIR)/default.cfg $(LOGDIR)
|
$(LOGDIR)/site.exp: $(TOPDIR)/default.cfg $(LOGDIR)
|
||||||
@{ echo 'lappend boards_dir "$(LOGDIR)"'; \
|
@{ echo 'lappend boards_dir "$(LOGDIR)"'; \
|
||||||
echo "set target_alias $(TARGET)"; } > $@
|
echo 'set target_alias $(TARGET)'; } > $@
|
||||||
|
|
||||||
$(LOGDIR)/board.exp: $(TOPDIR)/default.cfg $(LOGDIR)
|
$(LOGDIR)/board.exp: $(TOPDIR)/default.cfg $(LOGDIR)
|
||||||
@{ echo -e "load_generic_config \"unix\""; \
|
@{ echo 'load_generic_config "unix"'; \
|
||||||
echo -e "process_multilib_options \"\"" ; \
|
echo 'process_multilib_options ""'; \
|
||||||
echo "set_board_info bmk,use_alarm 1" ; \
|
echo 'set_board_info bmk,use_alarm 1'; \
|
||||||
echo "set_board_info rsh_prog ssh" ; \
|
echo 'set_board_info rsh_prog ssh'; \
|
||||||
echo "set_board_info rcp_prog scp" ; \
|
echo 'set_board_info rcp_prog scp'; \
|
||||||
echo "set_board_info hostname $(DG_TARGET_HOSTNAME)"; \
|
echo 'set_board_info hostname $(DG_TARGET_HOSTNAME)'; \
|
||||||
echo "set_board_info username $(DG_TARGET_USERNAME)"; } > $@
|
echo 'set_board_info username $(DG_TARGET_USERNAME)'; } > $@
|
||||||
|
|
||||||
# As Martin puts it:
|
# As Martin puts it:
|
||||||
# > The thing is that when you run 50k+ test cases the odds are that at
|
# > The thing is that when you run 50k+ test cases the odds are that at
|
||||||
|
Loading…
Reference in New Issue
Block a user