1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-02-03 18:31:06 +02:00

[kernel] kmod-crypto-hmac and kmod-crypto-core both are packing hmac.ko

kmod-crypto-hmac only needs the symbol for building crypto_hash, this was done in r9004.
With r13850 hmac.ko was also packed with kmod-crypto-core.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15015 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hauke 2009-03-24 13:44:20 +00:00
parent 6e3a62ef6a
commit 35a5434415

View File

@ -38,7 +38,6 @@ CRYPTO_MODULES = \
HASH=crypto_hash \
CBC=cbc \
ECB=ecb \
HMAC=hmac \
DEFLATE=deflate
crypto_confvar=CONFIG_CRYPTO_$(word 1,$(subst =,$(space),$(1)))
@ -50,7 +49,7 @@ crypto_name=$(if $(findstring y,$($(call crypto_confvar,$(1)))),,$(word 2,$(subs
define KernelPackage/crypto-core
SUBMENU:=$(CRYPTO_MENU)
TITLE:=Core CryptoAPI modules
KCONFIG:=CONFIG_CRYPTO=y $(foreach mod,$(CRYPTO_MODULES),$(call crypto_confvar,$(mod)))
KCONFIG:=CONFIG_CRYPTO=y CONFIG_CRYPTO_HMAC $(foreach mod,$(CRYPTO_MODULES),$(call crypto_confvar,$(mod)))
FILES:=$(foreach mod,$(CRYPTO_MODULES),$(call crypto_file,$(mod)))
AUTOLOAD:=$(call AutoLoad,01,$(foreach mod,$(CRYPTO_MODULES),$(call crypto_name,$(mod))))
endef