summaryrefslogtreecommitdiff
path: root/crypto/Makefile
diff options
context:
space:
mode:
authorJames Morris <jmorris@intercode.com.au>2002-12-05 19:04:03 -0800
committerJames Morris <jmorris@intercode.com.au>2002-12-05 19:04:03 -0800
commitf1853422bfddde6e25868ef280f96752e71e5dec (patch)
tree7a746bf19fc25c5346e57ed6b38be81da3ed30ae /crypto/Makefile
parent7ac20748d507220d1e737382d0e9727c65c16ec1 (diff)
[CRYPTO]: Dont compile procfs stuff if procfs is not enabled.
Diffstat (limited to 'crypto/Makefile')
-rw-r--r--crypto/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/Makefile b/crypto/Makefile
index 13415dce5181..9bbb7ac45d56 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -5,8 +5,10 @@
export-objs := api.o hmac.o
autoload-crypto-$(CONFIG_KMOD) = autoload.o
+proc-crypto-$(CONFIG_PROC_FS) = proc.o
-obj-$(CONFIG_CRYPTO) += api.o cipher.o digest.o compress.o $(autoload-crypto-y)
+obj-$(CONFIG_CRYPTO) += api.o cipher.o digest.o compress.o \
+ $(autoload-crypto-y) $(proc-crypto-y)
obj-$(CONFIG_CRYPTO_HMAC) += hmac.o
obj-$(CONFIG_CRYPTO_NULL) += crypto_null.o