diff options
Diffstat (limited to 'security/Makefile')
-rw-r--r-- | security/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile new file mode 100644 index 000000000000..197cc2f3f1ec --- /dev/null +++ b/security/Makefile | |||
@@ -0,0 +1,19 @@ | |||
1 | # | ||
2 | # Makefile for the kernel security code | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_KEYS) += keys/ | ||
6 | subdir-$(CONFIG_SECURITY_SELINUX) += selinux | ||
7 | |||
8 | # if we don't select a security model, use the default capabilities | ||
9 | ifneq ($(CONFIG_SECURITY),y) | ||
10 | obj-y += commoncap.o | ||
11 | endif | ||
12 | |||
13 | # Object file lists | ||
14 | obj-$(CONFIG_SECURITY) += security.o dummy.o | ||
15 | # Must precede capability.o in order to stack properly. | ||
16 | obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o | ||
17 | obj-$(CONFIG_SECURITY_CAPABILITIES) += commoncap.o capability.o | ||
18 | obj-$(CONFIG_SECURITY_ROOTPLUG) += commoncap.o root_plug.o | ||
19 | obj-$(CONFIG_SECURITY_SECLVL) += seclvl.o | ||