summaryrefslogtreecommitdiff
path: root/include/kernel.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-08-02 23:49:31 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-08-02 23:49:31 +0000
commit0f74fa296c1b76ad1cb809b790dea7640e3c0562 (patch)
treee047975f9274e2dac166e6012ab1cc9796adcd32 /include/kernel.mk
parent43801c2b250dc82b987794737199bd0918db4fcd (diff)
downloadmtk-20170518-0f74fa296c1b76ad1cb809b790dea7640e3c0562.zip
mtk-20170518-0f74fa296c1b76ad1cb809b790dea7640e3c0562.tar.gz
mtk-20170518-0f74fa296c1b76ad1cb809b790dea7640e3c0562.tar.bz2
fix kmod packages that don't use KCONFIG
SVN-Revision: 8323
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 dfdd277..3fa576e 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -99,7 +99,7 @@ define KernelPackage
$(call KernelPackage/$(1)/$(BOARD)-$(KERNEL))
endef
- ifneq ($(filter m,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c)))),)
+ ifneq ($(if $(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)