kernel-build.mk: Fix multi-core build warning.

In the case of multi-core compilation, the warning prompts to add a "+" sign.
````
warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
`````
Signed-off-by: Zxl hhyccc <zxlhhy@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16598
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Zxl hhyccc 2024-10-04 22:31:25 +08:00 committed by Robert Marko
parent 5ee75b6bb2
commit 7ada5ab1c9

View File

@ -154,7 +154,7 @@ define BuildKernel
download: $(if $(LINUX_SITE),$(DL_DIR)/$(LINUX_SOURCE)) download: $(if $(LINUX_SITE),$(DL_DIR)/$(LINUX_SOURCE))
prepare: $(STAMP_PREPARED) prepare: $(STAMP_PREPARED)
compile: $(LINUX_DIR)/.modules compile: $(LINUX_DIR)/.modules
$(MAKE) -C image compile TARGET_BUILD= +$(MAKE) -C image compile TARGET_BUILD=
dtb: $(STAMP_CONFIGURED) dtb: $(STAMP_CONFIGURED)
$(_SINGLE)$(KERNEL_MAKE) scripts_dtc $(_SINGLE)$(KERNEL_MAKE) scripts_dtc