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 |
f9ad1af5 | 9 | subdir-$(CONFIG_SECURITY_APPARMOR) += apparmor |
2d514487 | 10 | subdir-$(CONFIG_SECURITY_YAMA) += yama |
9b091556 | 11 | subdir-$(CONFIG_SECURITY_LOADPIN) += loadpin |
1da177e4 | 12 | |
5915eb53 | 13 | # always enable default capabilities |
6e141546 DH |
14 | obj-y += commoncap.o |
15 | obj-$(CONFIG_MMU) += min_addr.o | |
1da177e4 LT |
16 | |
17 | # Object file lists | |
b1d9e6b0 | 18 | obj-$(CONFIG_SECURITY) += security.o |
da31894e | 19 | obj-$(CONFIG_SECURITYFS) += inode.o |
e0c2de2b SR |
20 | obj-$(CONFIG_SECURITY_SELINUX) += selinux/ |
21 | obj-$(CONFIG_SECURITY_SMACK) += smack/ | |
2bf49690 | 22 | obj-$(CONFIG_AUDIT) += lsm_audit.o |
e0c2de2b SR |
23 | obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/ |
24 | obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/ | |
25 | obj-$(CONFIG_SECURITY_YAMA) += yama/ | |
9b091556 | 26 | obj-$(CONFIG_SECURITY_LOADPIN) += loadpin/ |
08ce5f16 | 27 | obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o |
3323eec9 MZ |
28 | |
29 | # Object integrity file lists | |
f381c272 | 30 | subdir-$(CONFIG_INTEGRITY) += integrity |
e0c2de2b | 31 | obj-$(CONFIG_INTEGRITY) += integrity/ |