summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-08-27 21:34:01 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-08-27 21:34:01 +0000
commit5529ade6460e137c2ab5e63c5791b78de1414ac7 (patch)
treeb8fd7f9b3b6dbf4d7b248b9c172889948be7ba44
parent720ac73e79a9d410224875c0de9cf6e89f1866a5 (diff)
fix kconfig for packages that only define =y, =m or =n rules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12414 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/kernel.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index 7d986e459..8393d2f42 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -126,7 +126,7 @@ $(call KernelPackage/$(1)/config)
endef
endif
- ifneq ($(if $(KCONFIG),$(filter m,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c)))),.),)
+ ifneq ($(if $(filter-out %=y %=n %=m,$(KCONFIG)),$(filter m,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c)))),.),)
ifneq ($(strip $(FILES)),)
define Package/kmod-$(1)/install
mkdir -p $$(1)/lib/modules/$(LINUX_VERSION)