Makefile (597473720f4dc69749542bfcfed4a927a43d935e) Makefile (000d388ed3bbed745f366ce71b2bb7c2ee70f449)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the kernel security code
4#
5
6obj-$(CONFIG_KEYS) += keys/
7subdir-$(CONFIG_SECURITY_SELINUX) += selinux
8subdir-$(CONFIG_SECURITY_SMACK) += smack
9subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo
10subdir-$(CONFIG_SECURITY_APPARMOR) += apparmor
11subdir-$(CONFIG_SECURITY_YAMA) += yama
12subdir-$(CONFIG_SECURITY_LOADPIN) += loadpin
13subdir-$(CONFIG_SECURITY_SAFESETID) += safesetid
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the kernel security code
4#
5
6obj-$(CONFIG_KEYS) += keys/
7subdir-$(CONFIG_SECURITY_SELINUX) += selinux
8subdir-$(CONFIG_SECURITY_SMACK) += smack
9subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo
10subdir-$(CONFIG_SECURITY_APPARMOR) += apparmor
11subdir-$(CONFIG_SECURITY_YAMA) += yama
12subdir-$(CONFIG_SECURITY_LOADPIN) += loadpin
13subdir-$(CONFIG_SECURITY_SAFESETID) += safesetid
14subdir-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown
14
15# always enable default capabilities
16obj-y += commoncap.o
17obj-$(CONFIG_MMU) += min_addr.o
18
19# Object file lists
20obj-$(CONFIG_SECURITY) += security.o
21obj-$(CONFIG_SECURITYFS) += inode.o
22obj-$(CONFIG_SECURITY_SELINUX) += selinux/
23obj-$(CONFIG_SECURITY_SMACK) += smack/
24obj-$(CONFIG_AUDIT) += lsm_audit.o
25obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/
26obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/
27obj-$(CONFIG_SECURITY_YAMA) += yama/
28obj-$(CONFIG_SECURITY_LOADPIN) += loadpin/
29obj-$(CONFIG_SECURITY_SAFESETID) += safesetid/
15
16# always enable default capabilities
17obj-y += commoncap.o
18obj-$(CONFIG_MMU) += min_addr.o
19
20# Object file lists
21obj-$(CONFIG_SECURITY) += security.o
22obj-$(CONFIG_SECURITYFS) += inode.o
23obj-$(CONFIG_SECURITY_SELINUX) += selinux/
24obj-$(CONFIG_SECURITY_SMACK) += smack/
25obj-$(CONFIG_AUDIT) += lsm_audit.o
26obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/
27obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/
28obj-$(CONFIG_SECURITY_YAMA) += yama/
29obj-$(CONFIG_SECURITY_LOADPIN) += loadpin/
30obj-$(CONFIG_SECURITY_SAFESETID) += safesetid/
31obj-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown/
30obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o
31
32# Object integrity file lists
33subdir-$(CONFIG_INTEGRITY) += integrity
34obj-$(CONFIG_INTEGRITY) += integrity/
32obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o
33
34# Object integrity file lists
35subdir-$(CONFIG_INTEGRITY) += integrity
36obj-$(CONFIG_INTEGRITY) += integrity/