From 8dc7ced4d4df85bc6cc77b625d54150a64f31bc6 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Mon, 3 Sep 2007 08:58:14 +0000 Subject: require all CONFIG_* symbols listed in its KCONFIG to be set to m in order to actually build a kmod package, tweak and fix kernel package definitions. SVN-Revision: 8591 --- include/kernel.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/kernel.mk') diff --git a/include/kernel.mk b/include/kernel.mk index 519ea42d23..a0f256b998 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -104,7 +104,8 @@ $(call KernelPackage/$(1)/description) endef endif - ifneq ($(if $(KCONFIG),$(filter m,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c)))),.),) + # 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 ($(strip $(FILES)),) define Package/kmod-$(1)/install mkdir -p $$(1)/lib/modules/$(LINUX_VERSION) -- cgit v1.2.3