From: Felix Fietkau Date: Wed, 27 Aug 2008 21:34:01 +0000 (+0000) Subject: fix kconfig for packages that only define =y, =m or =n rules X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=38b96e6b68453f94c8354fd5b9d3c88b32d161b0;p=openwrt%2Fstaging%2Fyousong.git fix kconfig for packages that only define =y, =m or =n rules SVN-Revision: 12414 --- diff --git a/include/kernel.mk b/include/kernel.mk index 7d986e4597..8393d2f420 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)