kernel: fix parallel build issues with header install
authorFelix Fietkau <nbd@openwrt.org>
Thu, 30 Jan 2014 07:33:42 +0000 (07:33 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 30 Jan 2014 07:33:42 +0000 (07:33 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39424

include/kernel-defaults.mk

index b4c6b9c2d34c1549d5de43882dead00ed5fbb05c..caaa09d51ddd567a5a8884459fc5c664e45fd6d9 100644 (file)
@@ -104,7 +104,7 @@ define Kernel/Configure/Default
        $(SCRIPT_DIR)/kconfig.pl 'm+' '+' $(LINUX_DIR)/.config.target /dev/null $(LINUX_DIR)/.config.override > $(LINUX_DIR)/.config
        $(call Kernel/SetNoInitramfs)
        rm -rf $(KERNEL_BUILD_DIR)/modules
-       [ -d $(LINUX_DIR)/user_headers ] || $(MAKE) $(KERNEL_MAKEOPTS) INSTALL_HDR_PATH=$(LINUX_DIR)/user_headers headers_install
+       $(_SINGLE) [ -d $(LINUX_DIR)/user_headers ] || $(MAKE) $(KERNEL_MAKEOPTS) INSTALL_HDR_PATH=$(LINUX_DIR)/user_headers headers_install
        $(SH_FUNC) grep '=[ym]' $(LINUX_DIR)/.config | LC_ALL=C sort | md5s > $(LINUX_DIR)/.vermagic
 endef