diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-09-08 23:33:01 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-09-08 23:33:01 +0000 |
commit | 440947abee81dedef1dac901fadc1580a2eef9a8 (patch) | |
tree | 70db2b45e8a53265c11741a0714cb84b19e04e42 /include | |
parent | 076aaa3fdacd8d2b4e4c12009464408564b31312 (diff) |
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.mk | 6 |
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))) |