mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 05:46:30 +02: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:
parent
076aaa3fda
commit
440947abee
@ -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)))
|
||||
|
||||
|
@ -24,31 +24,31 @@ define KernelPackage/crypto
|
||||
SUBMENU:=$(EMENU)
|
||||
TITLE:=CryptoAPI modules
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_HMAC \
|
||||
CONFIG_CRYPTO_NULL \
|
||||
CONFIG_CRYPTO_MD4 \
|
||||
CONFIG_CRYPTO_MD5 \
|
||||
CONFIG_CRYPTO_SHA1 \
|
||||
CONFIG_CRYPTO_SHA256 \
|
||||
CONFIG_CRYPTO_SHA512 \
|
||||
CONFIG_CRYPTO_WP512 \
|
||||
CONFIG_CRYPTO_TGR192 \
|
||||
CONFIG_CRYPTO_DES \
|
||||
CONFIG_CRYPTO_BLOWFISH \
|
||||
CONFIG_CRYPTO_TWOFISH \
|
||||
CONFIG_CRYPTO_SERPENT \
|
||||
CONFIG_CRYPTO_AES \
|
||||
CONFIG_CRYPTO_CAST5 \
|
||||
CONFIG_CRYPTO_CAST6 \
|
||||
CONFIG_CRYPTO_TEA \
|
||||
CONFIG_CRYPTO_ARC4 \
|
||||
CONFIG_CRYPTO_KHAZAD \
|
||||
CONFIG_CRYPTO_ANUBIS \
|
||||
CONFIG_CRYPTO_DEFLATE \
|
||||
CONFIG_CRYPTO_MICHAEL_MIC \
|
||||
CONFIG_CRYPTO_CRC32C \
|
||||
CONFIG_CRYPTO_ECB \
|
||||
CONFIG_CRYPTO_BLKCIPHER
|
||||
CONFIG_CRYPTO_HMAC=m \
|
||||
CONFIG_CRYPTO_NULL=m \
|
||||
CONFIG_CRYPTO_MD4=m \
|
||||
CONFIG_CRYPTO_MD5=m \
|
||||
CONFIG_CRYPTO_SHA1=m \
|
||||
CONFIG_CRYPTO_SHA256=m \
|
||||
CONFIG_CRYPTO_SHA512=m \
|
||||
CONFIG_CRYPTO_WP512=m \
|
||||
CONFIG_CRYPTO_TGR192=m \
|
||||
CONFIG_CRYPTO_DES=m \
|
||||
CONFIG_CRYPTO_BLOWFISH=m \
|
||||
CONFIG_CRYPTO_TWOFISH=m \
|
||||
CONFIG_CRYPTO_SERPENT=m \
|
||||
CONFIG_CRYPTO_AES=m \
|
||||
CONFIG_CRYPTO_CAST5=m \
|
||||
CONFIG_CRYPTO_CAST6=m \
|
||||
CONFIG_CRYPTO_TEA=m \
|
||||
CONFIG_CRYPTO_ARC4=m \
|
||||
CONFIG_CRYPTO_KHAZAD=m \
|
||||
CONFIG_CRYPTO_ANUBIS=m \
|
||||
CONFIG_CRYPTO_DEFLATE=m \
|
||||
CONFIG_CRYPTO_MICHAEL_MIC=m \
|
||||
CONFIG_CRYPTO_CRC32C=m \
|
||||
CONFIG_CRYPTO_ECB=m \
|
||||
CONFIG_CRYPTO_BLKCIPHER=m
|
||||
FILES:=$(LINUX_DIR)/crypto/*.$(LINUX_KMOD_SUFFIX)
|
||||
endef
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user