From: Felix Fietkau Date: Thu, 2 Aug 2007 13:38:03 +0000 (+0000) Subject: fix kmod packaging for packages where some KCONFIG symbols are set to y X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=21075a17f77be37c466053f6150e8fcf8f6d52cd;p=openwrt%2Fstaging%2Fblocktrron.git fix kmod packaging for packages where some KCONFIG symbols are set to y SVN-Revision: 8316 --- 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)