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
This commit is contained in:
Felix Fietkau
2007-09-08 23:33:01 +00:00
parent b1f60da081
commit e5bcbd103b
2 changed files with 31 additions and 25 deletions

View File

@@ -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)))