2
0
Эх сурвалжийг харах

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16598
Signed-off-by: Robert Marko <[email protected]>
Zxl hhyccc 1 жил өмнө
parent
commit
7ada5ab1c9

+ 1 - 1
include/kernel-build.mk

@@ -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