* as.h: If __GNUC__ and inline are both undefined, define inline away.
[deliverable/binutils-gdb.git] / build-all.mk
index 5fda25871e26abcec1a03fc0a1fcad621d66a272..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
@@ -181,12 +180,14 @@ ifeq ($(canonhost),i386-lynxos)
 TARGETS = $(NATIVE)
 CC = /bin/gcc
 all: all-cygnus
+SHELL=/bin/bash
 endif
 
 ifeq ($(canonhost),m68k-lynxos)
 TARGETS = $(NATIVE)
 CC = /bin/gcc
 all: all-cygnus
+SHELL=/bin/bash
 endif
 
 
@@ -197,7 +198,13 @@ FLAGS_TO_PASS := \
        "CXXFLAGS=$(CXXFLAGS)" \
        "host=$(canonhost)" \
        "MAKEINFOFLAGS=$(MAKEINFOFLAGS)" \
-       "RELEASE_TAG=$(RELEASE_TAG)"
+       "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`
@@ -220,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) && \
@@ -252,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.024838 seconds and 4 git commands to generate.