* target.h: Add enum target_waitkind, enum target_signal, and
[deliverable/binutils-gdb.git] / build-all.mk
index 1b0fe902d243c224504831c3305f1bfbbede9540..c69162232930ade97054e8763350ea9a7373b73f 100644 (file)
@@ -142,7 +142,6 @@ TARGETS = \
        $(NATIVE) \
        i960-vxworks \
        m68k-aout       m68k-vxworks
-#      sh-hms          # doesn't work
 CC = cc 
 #CFLAGS = +Obb2000
 CFLAGS = -g
@@ -202,6 +201,11 @@ FLAGS_TO_PASS := \
        "RELEASE_TAG=$(RELEASE_TAG)" \
        "SHELL=$(SHELL)"
 
+# set GNU_MAKE and CONFIG_SHELL correctly in sub-builds
+ifeq ($(patsubst %-lynxos,lynxos,$(canonhost)),lynxos)
+FLAGS_TO_PASS := $(FLAGS_TO_PASS) "GNU_MAKE=$(MAKE)" "CONFIG_SHELL=/bin/bash"
+endif
+
 all-emacs:
        @echo build started at `date`
        [ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR)
@@ -223,7 +227,7 @@ all-cygnus:
                 echo "     completed successfully" ; \
            else \
              true ; \
-           fi \
+           fi \
          else \
            echo "building $(canonhost) cross to $$i" ; \
             $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i do-cygnus $(cyglog) && \
@@ -255,7 +259,7 @@ build-cygnus:
              echo "3staging $(canonhost) native" ; \
              $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(canonhost)-stamp-3stage-done $(log) && \
                 echo "     completed successfully" ; \
-           fi \
+           fi \
          else \
            echo "building $(canonhost) cross to $$i:" `date` ; \
             $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i build-cygnus $(cyglog) && \
This page took 0.022911 seconds and 4 git commands to generate.