Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # Makefile for the kernel security code | |
3 | # | |
4 | ||
5 | obj-$(CONFIG_KEYS) += keys/ | |
6 | subdir-$(CONFIG_SECURITY_SELINUX) += selinux | |
e114e473 | 7 | subdir-$(CONFIG_SECURITY_SMACK) += smack |
00d7d6f8 | 8 | subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo |
1da177e4 | 9 | |
5915eb53 | 10 | # always enable default capabilities |
1da177e4 | 11 | obj-y += commoncap.o |
1da177e4 LT |
12 | |
13 | # Object file lists | |
da31894e EP |
14 | obj-$(CONFIG_SECURITY) += security.o capability.o |
15 | obj-$(CONFIG_SECURITYFS) += inode.o | |
1da177e4 LT |
16 | # Must precede capability.o in order to stack properly. |
17 | obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o | |
5915eb53 | 18 | obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o |
42d5aaa2 | 19 | obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/built-in.o |
5915eb53 | 20 | obj-$(CONFIG_SECURITY_ROOTPLUG) += root_plug.o |
08ce5f16 | 21 | obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o |
3323eec9 MZ |
22 | |
23 | # Object integrity file lists | |
24 | subdir-$(CONFIG_IMA) += integrity/ima | |
25 | obj-$(CONFIG_IMA) += integrity/ima/built-in.o |