Linux 4.19.133
[linux/fpc-iii.git] / security / Makefile
blob4d2d3782ddefd3fbdd6d2984a1faa8a2bd6561ae
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the kernel security code
6 obj-$(CONFIG_KEYS) += keys/
7 subdir-$(CONFIG_SECURITY_SELINUX) += selinux
8 subdir-$(CONFIG_SECURITY_SMACK) += smack
9 subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo
10 subdir-$(CONFIG_SECURITY_APPARMOR) += apparmor
11 subdir-$(CONFIG_SECURITY_YAMA) += yama
12 subdir-$(CONFIG_SECURITY_LOADPIN) += loadpin
14 # always enable default capabilities
15 obj-y += commoncap.o
16 obj-$(CONFIG_MMU) += min_addr.o
18 # Object file lists
19 obj-$(CONFIG_SECURITY) += security.o
20 obj-$(CONFIG_SECURITYFS) += inode.o
21 obj-$(CONFIG_SECURITY_SELINUX) += selinux/
22 obj-$(CONFIG_SECURITY_SMACK) += smack/
23 obj-$(CONFIG_AUDIT) += lsm_audit.o
24 obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/
25 obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/
26 obj-$(CONFIG_SECURITY_YAMA) += yama/
27 obj-$(CONFIG_SECURITY_LOADPIN) += loadpin/
28 obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o
30 # Object integrity file lists
31 subdir-$(CONFIG_INTEGRITY) += integrity
32 obj-$(CONFIG_INTEGRITY) += integrity/