aboutsummaryrefslogtreecommitdiff
path: root/security/keys/encrypted-keys/Makefile
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-11-18 11:17:23 +1100
committerJames Morris <jmorris@namei.org>2011-11-18 11:17:23 +1100
commitb85c804d5ad48f239871b95afbddd84422e06f25 (patch)
treeb78af4d780dc7eec0c7b866194385150e6b29500 /security/keys/encrypted-keys/Makefile
parentfe8a0df46e5076429872887b467c538bc9c0c738 (diff)
parent9c69898783a0121399ec078d40d4ccc00e3cb0df (diff)
Merge branch 'encrypted-key-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity into for-linus
Diffstat (limited to 'security/keys/encrypted-keys/Makefile')
-rw-r--r--security/keys/encrypted-keys/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/security/keys/encrypted-keys/Makefile b/security/keys/encrypted-keys/Makefile
index 6bc7a86d102..d6f8433250a 100644
--- a/security/keys/encrypted-keys/Makefile
+++ b/security/keys/encrypted-keys/Makefile
@@ -2,5 +2,9 @@
# Makefile for encrypted keys
#
-obj-$(CONFIG_ENCRYPTED_KEYS) += encrypted.o ecryptfs_format.o
-obj-$(CONFIG_TRUSTED_KEYS) += masterkey_trusted.o
+obj-$(CONFIG_ENCRYPTED_KEYS) += encrypted-keys.o
+
+encrypted-keys-y := encrypted.o ecryptfs_format.o
+masterkey-$(CONFIG_TRUSTED_KEYS) := masterkey_trusted.o
+masterkey-$(CONFIG_TRUSTED_KEYS)-$(CONFIG_ENCRYPTED_KEYS) := masterkey_trusted.o
+encrypted-keys-y += $(masterkey-y) $(masterkey-m-m)