X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2ed862c4a542b02c56d0d8525b0299f6c7315b2e..fef4a866f152f4b7ec38c260e9d67d419f210d90:/include/kernel.mk 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)