mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08:00
9c69898783
Encrypted keys are encrypted/decrypted using either a trusted or user-defined key type, which is referred to as the 'master' key. The master key may be of type trusted iff the trusted key is builtin or both the trusted key and encrypted keys are built as modules. This patch resolves the build dependency problem. - Use "masterkey-$(CONFIG_TRUSTED_KEYS)-$(CONFIG_ENCRYPTED_KEYS)" construct to encapsulate the above logic. (Suggested by Dimtry Kasatkin.) - Fixing the encrypted-keys Makefile, results in a module name change from encrypted.ko to encrypted-keys.ko. - Add module dependency for request_trusted_key() definition Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
11 lines
324 B
Makefile
11 lines
324 B
Makefile
#
|
|
# Makefile for encrypted keys
|
|
#
|
|
|
|
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)
|