aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.transmeta.com>2002-11-05 04:46:28 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-11-05 04:46:28 -0800
commit6b886bd82063af1f7ac0687c7b08ca874bca155e (patch)
tree44124c6bd8dc3c0a6304d072976246362c3bc76d /crypto
parent21d9540e83106a3882719b0e04f747ce653ac0c8 (diff)
downloadhistory-6b886bd82063af1f7ac0687c7b08ca874bca155e.tar.gz
The crypto auto-load should only be enabled if crypto in enabled.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/Makefile b/crypto/Makefile
index 658e55b1a4d128..01318339c13c94 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -4,8 +4,9 @@
export-objs := api.o hmac.o
-obj-$(CONFIG_CRYPTO) += api.o cipher.o digest.o compress.o
-obj-$(CONFIG_KMOD) += autoload.o
+autoload-crypto-$(CONFIG_KMOD) = autoload.o
+
+obj-$(CONFIG_CRYPTO) += api.o cipher.o digest.o compress.o $(autoload-crypto-y)
obj-$(CONFIG_CRYPTO_HMAC) += hmac.o
obj-$(CONFIG_CRYPTO_MD4) += md4.o