aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-09-08 23:33:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-09-08 23:33:01 +0000
commite5bcbd103b062e84660ab116c1bb68406ba6bf23 (patch)
tree70db2b45e8a53265c11741a0714cb84b19e04e42 /include
parentb1f60da08180ddd53deff5365c07ef7e23642ac8 (diff)
downloadupstream-e5bcbd103b062e84660ab116c1bb68406ba6bf23.tar.gz
upstream-e5bcbd103b062e84660ab116c1bb68406ba6bf23.tar.bz2
upstream-e5bcbd103b062e84660ab116c1bb68406ba6bf23.zip
fix kmod-crypto, emit warning messages for kmod packages that cannot be built due to missing kernel config options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8697 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/kernel.mk6
1 files changed, 6 insertions, 0 deletions
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)))