summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2013-12-16 13:49:28 +0100
committerPeter Korsgaard <peter@korsgaard.com>2013-12-16 13:49:28 +0100
commit879058a16ea326fcdb7e96e3995a09112e193edc (patch)
tree08b0bcc3121e88093a95bf718ecb8f2ea4d88206
parent0e2d0ad03d638a92b3349ea8cbbf847e6b7ce518 (diff)
downloadbuildroot-879058a16ea326fcdb7e96e3995a09112e193edc.tar.gz
buildroot-879058a16ea326fcdb7e96e3995a09112e193edc.zip
Makefile: don't use parallel make when calling back into buildroot
The source-check / external-deps make targets ends up calling recursively into buildroot's Makefile, causing make to display a warning: make[2]: warning: -jN forced in submake: disabling jobserver mode. We don't support toplevel parallel make, so get rid of the warning using MAKE1 instead. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d52182e8d6..925c1d2fda 100644
--- a/Makefile
+++ b/Makefile
@@ -418,7 +418,7 @@ dirs: $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
$(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR)
$(BUILD_DIR)/buildroot-config/auto.conf: $(BUILDROOT_CONFIG)
- $(MAKE) $(EXTRAMAKEARGS) HOSTCC="$(HOSTCC_NOCCACHE)" HOSTCXX="$(HOSTCXX_NOCCACHE)" silentoldconfig
+ $(MAKE1) $(EXTRAMAKEARGS) HOSTCC="$(HOSTCC_NOCCACHE)" HOSTCXX="$(HOSTCXX_NOCCACHE)" silentoldconfig
prepare: $(BUILD_DIR)/buildroot-config/auto.conf
@@ -603,7 +603,7 @@ toolchain-eclipse-register:
source: dirs $(TARGETS_SOURCE) $(HOST_SOURCE)
external-deps:
- @$(MAKE) -Bs DL_MODE=SHOW_EXTERNAL_DEPS $(EXTRAMAKEARGS) source | sort -u
+ @$(MAKE1) -Bs DL_MODE=SHOW_EXTERNAL_DEPS $(EXTRAMAKEARGS) source | sort -u
legal-info-clean:
@rm -fr $(LEGAL_INFO_DIR)
@@ -753,7 +753,7 @@ savedefconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
# check if download URLs are outdated
source-check:
- $(MAKE) DL_MODE=SOURCE_CHECK $(EXTRAMAKEARGS) source
+ $(MAKE1) DL_MODE=SOURCE_CHECK $(EXTRAMAKEARGS) source
.PHONY: defconfig savedefconfig
OpenPOWER on IntegriCloud