fix kconfig for packages that only define =y, =m or =n rules

SVN-Revision: 12414
This commit is contained in:
Felix Fietkau 2008-08-27 21:34:01 +00:00
parent e44384cae9
commit 38b96e6b68

View file

@ -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)