xref: /openbmc/linux/security/Makefile (revision f15cbe6f)
1#
2# Makefile for the kernel security code
3#
4
5obj-$(CONFIG_KEYS)			+= keys/
6subdir-$(CONFIG_SECURITY_SELINUX)	+= selinux
7subdir-$(CONFIG_SECURITY_SMACK)		+= smack
8
9# always enable default capabilities
10obj-y		+= commoncap.o
11
12# Object file lists
13obj-$(CONFIG_SECURITY)			+= security.o capability.o inode.o
14# Must precede capability.o in order to stack properly.
15obj-$(CONFIG_SECURITY_SELINUX)		+= selinux/built-in.o
16obj-$(CONFIG_SECURITY_SMACK)		+= smack/built-in.o
17obj-$(CONFIG_SECURITY_ROOTPLUG)		+= root_plug.o
18obj-$(CONFIG_CGROUP_DEVICE)		+= device_cgroup.o
19