fix kmod-crypto, emit warning messages for kmod packages that cannot be built due to missing kernel config options

SVN-Revision: 8697
This commit is contained in:
Felix Fietkau 2007-09-08 23:33:01 +00:00
parent e63e1f7a4a
commit 0c9b23594d
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)))

View file

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