summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-01-25 07:25:16 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-02-05 19:34:05 -0600
commitbea399d6982881e4bc2cae4fa2c9f7aaf9a6cd42 (patch)
tree067c4a22a5fed6b5623b7c3c2b819466f3370bbf /Makefile
parentswitch to include-based build rather than sourced-based build (diff)
downloadcore-bea399d6982881e4bc2cae4fa2c9f7aaf9a6cd42.tar.gz
core-bea399d6982881e4bc2cae4fa2c9f7aaf9a6cd42.zip
dmake-invoked gnumake may need implicite rules... avoid impacting theem
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 29093cd2ca79..3858754f404c 100644
--- a/Makefile
+++ b/Makefile
@@ -251,10 +251,12 @@ define dmake_module_rules
.PHONY: $(1) $(1).all $(1).deliver $(1).clean
$(1): bootstrap fetch
- cd $(1) && $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) -- -P$(GMAKE_PARALLELISM)
+ cd $(1) && unset MAKEFLAGS && \
+ $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) -- -P$(GMAKE_PARALLELISM)
$(1).all: bootstrap fetch
- cd $(1) && $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) --all -- -P$(GMAKE_PARALLELISM)
+ cd $(1) && unset MAKEFLAGS && \
+ $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) --all -- -P$(GMAKE_PARALLELISM)
$(1).deliver: bootstrap fetch
cd $(1) && $(SOLARENV)/bin/deliver.pl
@@ -272,7 +274,7 @@ endef
# Build
#
build: bootstrap fetch $(if $(filter $(INPATH),$(INPATH_FOR_BUILD)),,cross-toolset)
- cd instsetoo_native && \
+ cd instsetoo_native && unset MAKEFLAGS && \
$(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) --all -- -P$(GMAKE_PARALLELISM)
cross-toolset: