diff --git a/include/kernel.mk b/include/kernel.mk index 788e3f237..748605705 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -115,8 +115,7 @@ $(call KernelPackage/$(1)/description) endef endif - # check that all CONFIG_* symbols in $(KCONFIG) are set to 'm' - ifeq ($(filter-out m,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$(if $($(c)),$($(c)),n))),) + 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) diff --git a/include/netfilter.mk b/include/netfilter.mk index 6f77f9670..35efc039c 100644 --- a/include/netfilter.mk +++ b/include/netfilter.mk @@ -16,9 +16,7 @@ endif define nf_add $(1)-$$($(2)) += $(3) - ifeq ($$($(2)),m) - KCONFIG_$(1) += $(2) - endif + KCONFIG_$(1) += $(2) endef IPT_CONNTRACK-m :=