aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-08-02 13:38:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-08-02 13:38:03 +0000
commit2190e2e3a3cecbd6a44a41a1723f3012832400e5 (patch)
tree9c47bd93e54a36c804797153365278eea57313db /include/kernel.mk
parent3204a4bf169c5b8f9ccc0d69cb8a7d6111f71eca (diff)
downloadmaster-187ad058-2190e2e3a3cecbd6a44a41a1723f3012832400e5.tar.gz
master-187ad058-2190e2e3a3cecbd6a44a41a1723f3012832400e5.tar.bz2
master-187ad058-2190e2e3a3cecbd6a44a41a1723f3012832400e5.zip
fix kmod packaging for packages where some KCONFIG symbols are set to y
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8316 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/kernel.mk')
-rw-r--r--include/kernel.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index 407109f38b..dfdd277dc7 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -99,7 +99,7 @@ define KernelPackage
$(call KernelPackage/$(1)/$(BOARD)-$(KERNEL))
endef
- ifeq ($(filter y,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c)))),)
+ ifneq ($(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)