mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-26 14:19:43 +00:00
This patch makes kernel modules check if config is defined and creates a config passthrough target which will evaluate the original config in the generated package. This is done so kernel modules can have configuration menus like busybox, etc... Signed-off-by: Axel Gembe <ago@bastart.eu.org>
SVN-Revision: 11139
This commit is contained in:
parent
72d40dec08
commit
7c7bd6f61c
@ -120,6 +120,12 @@ $(call KernelPackage/$(1)/description)
|
||||
endef
|
||||
endif
|
||||
|
||||
ifdef KernelPackage/$(1)/config
|
||||
define Package/kmod-$(1)/config
|
||||
$(call KernelPackage/$(1)/config)
|
||||
endef
|
||||
endif
|
||||
|
||||
ifneq ($(if $(KCONFIG),$(filter m,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c)))),.),)
|
||||
ifneq ($(strip $(FILES)),)
|
||||
define Package/kmod-$(1)/install
|
||||
|
Loading…
x
Reference in New Issue
Block a user