Browse Source

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

SVN-Revision: 12414
Felix Fietkau 17 năm trước cách đây
mục cha
commit
38b96e6b68
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      include/kernel.mk

+ 1 - 1
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)