summaryrefslogtreecommitdiff
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
commit21075a17f77be37c466053f6150e8fcf8f6d52cd (patch)
treed9023d628e52fd4db74a65caa722bbcc132bf8b5
parent9b1084b7fcc0ba9238bd68a0b94df5ea092ae422 (diff)
downloadmtk-20170518-21075a17f77be37c466053f6150e8fcf8f6d52cd.zip
mtk-20170518-21075a17f77be37c466053f6150e8fcf8f6d52cd.tar.gz
mtk-20170518-21075a17f77be37c466053f6150e8fcf8f6d52cd.tar.bz2
fix kmod packaging for packages where some KCONFIG symbols are set to y
SVN-Revision: 8316
-rw-r--r--include/kernel.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index 407109f..dfdd277 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)