Commit 9f7ce8e249ab761c7ed753059cb16319ede41762

Authored by David Howells
1 parent f0894940ae

KEYS: Reorganise keys Makefile

Reorganise the keys directory Makefile to put all the core bits together and
the type-specific bits after.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Mimi Zohar <zohar@us.ibm.com>

Showing 1 changed file with 9 additions and 3 deletions Side-by-side Diff

security/keys/Makefile
... ... @@ -2,6 +2,9 @@
2 2 # Makefile for key management
3 3 #
4 4  
  5 +#
  6 +# Core
  7 +#
5 8 obj-y := \
6 9 gc.o \
7 10 key.o \
8 11  
... ... @@ -12,10 +15,13 @@
12 15 request_key.o \
13 16 request_key_auth.o \
14 17 user_defined.o
15   -
16   -obj-$(CONFIG_TRUSTED_KEYS) += trusted.o
17   -obj-$(CONFIG_ENCRYPTED_KEYS) += encrypted-keys/
18 18 obj-$(CONFIG_KEYS_COMPAT) += compat.o
19 19 obj-$(CONFIG_PROC_FS) += proc.o
20 20 obj-$(CONFIG_SYSCTL) += sysctl.o
  21 +
  22 +#
  23 +# Key types
  24 +#
  25 +obj-$(CONFIG_TRUSTED_KEYS) += trusted.o
  26 +obj-$(CONFIG_ENCRYPTED_KEYS) += encrypted-keys/