u-boot.mk: add UBOOT_MAKE_FLAGS variable similar to MAKE_FLAGS

Signed-off-by: Felix Fietkau <nbd@nbd.name>
openwrt-18.06
Felix Fietkau 2017-01-25 07:28:57 +01:00
parent 1a83d4d30f
commit 1e14f01ed6
1 changed files with 2 additions and 1 deletions

View File

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