busybox: add support for config overrides via env/busybox-config
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39107
This commit is contained in:
parent
405b5c2b92
commit
7340bc73f2
1 changed files with 6 additions and 0 deletions
|
@ -65,6 +65,12 @@ ifdef CONFIG_BUSYBOX_ENABLE_NFS_MOUNT
|
||||||
CONFIG_TEMPLATE:=+ $(CONFIG_TEMPLATE) ./config/nfsmount
|
CONFIG_TEMPLATE:=+ $(CONFIG_TEMPLATE) ./config/nfsmount
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ENV_CONFIG:=$(wildcard $(TOPDIR)/env/busybox-config)
|
||||||
|
ifneq ($(ENV_CONFIG),)
|
||||||
|
CONFIG_TEMPLATE:=+ $(CONFIG_TEMPLATE) $(ENV_CONFIG)
|
||||||
|
STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(shell $(SH_FUNC) md5s < $(ENV_CONFIG))
|
||||||
|
endif
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(SCRIPT_DIR)/kconfig.pl $(CONFIG_TEMPLATE) > $(PKG_BUILD_DIR)/.config
|
$(SCRIPT_DIR)/kconfig.pl $(CONFIG_TEMPLATE) > $(PKG_BUILD_DIR)/.config
|
||||||
yes 'n' | $(MAKE) -C $(PKG_BUILD_DIR) \
|
yes 'n' | $(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
|
|
Loading…
Reference in a new issue