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>
This commit is contained in:
parent
0e2d0ad03d
commit
879058a16e
6
Makefile
6
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user