From 0c9b23594d42b9452d44009ad946a0a507823ff6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 8 Sep 2007 23:33:01 +0000 Subject: fix kmod-crypto, emit warning messages for kmod packages that cannot be built due to missing kernel config options SVN-Revision: 8697 --- include/kernel.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/kernel.mk b/include/kernel.mk index b82668ea48..b2a7476aa0 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -123,6 +123,12 @@ $(call KernelPackage/$(1)/description) $(call KernelPackage/$(1)/install,$$(1)) endef endif + $(if $(CONFIG_PACKAGE_kmod-$(1)), + else + compile: kmod-$(1)-unavailable + kmod-$(1)-unavailable: + @echo "WARNING: kmod-$(1) is not available in the kernel config" + ) endif $$(eval $$(call BuildPackage,kmod-$(1))) -- cgit v1.2.3