Merge tag 'v3.10.76' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / security / Makefile
CommitLineData
1da177e4
LT
1#
2# Makefile for the kernel security code
3#
4
5obj-$(CONFIG_KEYS) += keys/
6subdir-$(CONFIG_SECURITY_SELINUX) += selinux
e114e473 7subdir-$(CONFIG_SECURITY_SMACK) += smack
00d7d6f8 8subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo
f9ad1af5 9subdir-$(CONFIG_SECURITY_APPARMOR) += apparmor
2d514487 10subdir-$(CONFIG_SECURITY_YAMA) += yama
1da177e4 11
5915eb53 12# always enable default capabilities
6e141546
DH
13obj-y += commoncap.o
14obj-$(CONFIG_MMU) += min_addr.o
1da177e4
LT
15
16# Object file lists
da31894e
EP
17obj-$(CONFIG_SECURITY) += security.o capability.o
18obj-$(CONFIG_SECURITYFS) += inode.o
1da177e4
LT
19# Must precede capability.o in order to stack properly.
20obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o
5915eb53 21obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o
2bf49690 22obj-$(CONFIG_AUDIT) += lsm_audit.o
42d5aaa2 23obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/built-in.o
f9ad1af5 24obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/built-in.o
2d514487 25obj-$(CONFIG_SECURITY_YAMA) += yama/built-in.o
08ce5f16 26obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o
3323eec9
MZ
27
28# Object integrity file lists
f381c272
MZ
29subdir-$(CONFIG_INTEGRITY) += integrity
30obj-$(CONFIG_INTEGRITY) += integrity/built-in.o