mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-08 00:57:07 +08:00
u-boot.mk: add support for config customization
This commit is contained in:
parent
8185ba94ef
commit
ba80c413a1
@ -83,6 +83,9 @@ endef
|
|||||||
|
|
||||||
define Build/Configure/U-Boot
|
define Build/Configure/U-Boot
|
||||||
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) $(UBOOT_CONFIGURE_VARS) $(UBOOT_CONFIG)_config
|
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) $(UBOOT_CONFIGURE_VARS) $(UBOOT_CONFIG)_config
|
||||||
|
$(if $(strip $(UBOOT_CUSTOMIZE_CONFIG)),
|
||||||
|
$(PKG_BUILD_DIR)/scripts/config --file $(PKG_BUILD_DIR)/.config $(UBOOT_CUSTOMIZE_CONFIG)
|
||||||
|
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) $(UBOOT_CONFIGURE_VARS) oldconfig)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
DTC=$(wildcard $(LINUX_DIR)/scripts/dtc/dtc)
|
DTC=$(wildcard $(LINUX_DIR)/scripts/dtc/dtc)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user