From: Felix Fietkau Date: Wed, 25 Jan 2017 06:28:57 +0000 (+0100) Subject: u-boot.mk: add UBOOT_MAKE_FLAGS variable similar to MAKE_FLAGS X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fyousong.git;a=commitdiff_plain;h=1e14f01ed6d0cfff962c633bf130e96964c13e43 u-boot.mk: add UBOOT_MAKE_FLAGS variable similar to MAKE_FLAGS Signed-off-by: Felix Fietkau --- diff --git a/include/u-boot.mk b/include/u-boot.mk index 4993eb6a06..de62923352 100644 --- a/include/u-boot.mk +++ b/include/u-boot.mk @@ -76,7 +76,8 @@ DTC=$(wildcard $(LINUX_DIR)/scripts/dtc/dtc) define Build/Compile/U-Boot +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ CROSS_COMPILE=$(TARGET_CROSS) \ - $(if $(DTC),DTC="$(DTC)") + $(if $(DTC),DTC="$(DTC)") \ + $(UBOOT_MAKE_FLAGS) endef define BuildPackage/U-Boot/Defaults