mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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:
@@ -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)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user