revert CONFIG_* symbols set m enforcement introduced in [8591], it can't work when symbols from different kernel versions are mixed in KCONFIG

SVN-Revision: 8798
This commit is contained in:
Nicolas Thill 2007-09-16 16:10:37 +00:00
parent f34b4c6e57
commit 892b16a352
2 changed files with 2 additions and 5 deletions

View file

@ -115,8 +115,7 @@ $(call KernelPackage/$(1)/description)
endef endef
endif endif
# check that all CONFIG_* symbols in $(KCONFIG) are set to 'm' ifneq ($(if $(KCONFIG),$(filter m,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c)))),.),)
ifeq ($(filter-out m,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$(if $($(c)),$($(c)),n))),)
ifneq ($(strip $(FILES)),) ifneq ($(strip $(FILES)),)
define Package/kmod-$(1)/install define Package/kmod-$(1)/install
mkdir -p $$(1)/lib/modules/$(LINUX_VERSION) mkdir -p $$(1)/lib/modules/$(LINUX_VERSION)

View file

@ -16,9 +16,7 @@ endif
define nf_add define nf_add
$(1)-$$($(2)) += $(3) $(1)-$$($(2)) += $(3)
ifeq ($$($(2)),m) KCONFIG_$(1) += $(2)
KCONFIG_$(1) += $(2)
endif
endef endef
IPT_CONNTRACK-m := IPT_CONNTRACK-m :=