[kernel] kmod-crypto-hmac and kmod-crypto-core both are packing hmac.ko
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 24 Mar 2009 13:44:20 +0000 (13:44 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 24 Mar 2009 13:44:20 +0000 (13:44 +0000)
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

package/kernel/modules/crypto.mk

index f675c5a..5edf5f1 100644 (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
This page took 0.031992 seconds and 4 git commands to generate.