aboutsummaryrefslogtreecommitdiff
path: root/build-all.mk
diff options
context:
space:
mode:
authorMark Eichin <eichin@cygnus>1993-11-11 20:35:30 +0000
committerMark Eichin <eichin@cygnus>1993-11-11 20:35:30 +0000
commit7ae681949a6c62d0e880775f0b20503e72ae6906 (patch)
tree681011379bf08836208ac537c3294b10e96b3af6 /build-all.mk
parent062d0925477751f162dc82739b1051497b01abc4 (diff)
downloadgdb-7ae681949a6c62d0e880775f0b20503e72ae6906.zip
gdb-7ae681949a6c62d0e880775f0b20503e72ae6906.tar.gz
gdb-7ae681949a6c62d0e880775f0b20503e72ae6906.tar.bz2
if we're on lynx, set up GNU_MAKE and CONFIG_SHELL in FLAGS_TO_PASS to
override "generic" (ie. incorrect) values of "" and /usr/latest/bin/make
Diffstat (limited to 'build-all.mk')
-rw-r--r--build-all.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/build-all.mk b/build-all.mk
index 2c7dc98..c691622 100644
--- a/build-all.mk
+++ b/build-all.mk
@@ -201,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)