aboutsummaryrefslogtreecommitdiff
path: root/test-build.mk
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1992-07-18 05:54:04 +0000
committerK. Richard Pixley <rich@cygnus>1992-07-18 05:54:04 +0000
commit846b9d7b0d707bd8a876c58323b1ff73df89ab0e (patch)
treedc20d5d01ddd8689d86ef5b4593a460da700184d /test-build.mk
parentec467c8310882175939aae42c518504c41bf5882 (diff)
downloadgdb-846b9d7b0d707bd8a876c58323b1ff73df89ab0e.zip
gdb-846b9d7b0d707bd8a876c58323b1ff73df89ab0e.tar.gz
gdb-846b9d7b0d707bd8a876c58323b1ff73df89ab0e.tar.bz2
recurse explicitly with -f test-build.mk when appropriate.
Diffstat (limited to 'test-build.mk')
-rw-r--r--test-build.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/test-build.mk b/test-build.mk
index a61dbfc..946cffa 100644
--- a/test-build.mk
+++ b/test-build.mk
@@ -48,7 +48,7 @@ release_root := $(ROOTING)/$(RELEASE_TAG)
TIME := time
GCC := gcc -O
-GNU_MAKE := /usr/latest/bin/make -f test-build.mk
+GNU_MAKE := /usr/latest/bin/make
override MAKE := make
override MAKEFLAGS :=
override MFLAGS :=
@@ -80,9 +80,8 @@ $(host)-stamp-in-place: $(TREE)-stamp-co
PATH=/bin:/usr/bin:/usr/ucb ; \
export PATH ; \
SHELL=/bin/sh ; export SHELL ; \
- $(TIME) $(GNU_MAKE) $(host)-stamp-in-place-installed host=$(host) $(FLAGS_TO_PASS)
+ $(TIME) $(GNU_MAKE) -f test-build.mk $(host)-stamp-in-place-installed host=$(host) $(FLAGS_TO_PASS)
touch $@
- mv $(INPLACEDIR) $(STAGE1DIR)
$(host)-stamp-in-place-installed: $(host)-stamp-in-place-checked
(cd $(INPLACEDIR) ; $(TIME) $(MAKE) $(MF) install host=$(host))
@@ -123,7 +122,7 @@ $(host)-stamp-stage1:
PATH=`pwd`/$(HOLESDIR) ; \
export PATH ; \
SHELL=sh ; export SHELL ; \
- $(TIME) $(GNU_MAKE) $(host)-stamp-stage1-installed host=$(host) $(FLAGS_TO_PASS)
+ $(TIME) $(GNU_MAKE) -f test-build.mk $(host)-stamp-stage1-installed host=$(host) $(FLAGS_TO_PASS)
touch $@
mv $(WORKING_DIR) $(STAGE1DIR)
@@ -161,7 +160,7 @@ $(host)-stamp-stage2:
PATH=$(release_root)/H-$(host)/bin:`pwd`/$(HOLESDIR) ; \
export PATH ; \
SHELL=sh ; export SHELL ; \
- $(TIME) $(MAKE) -w $(STAGE2DIR) host=$(host) $(FLAGS_TO_PASS)
+ $(TIME) $(MAKE) -f test-build.mk -w $(STAGE2DIR) host=$(host) $(FLAGS_TO_PASS)
touch $@
$(STAGE2DIR): $(host)-stamp-stage2-installed