xref: /openbmc/linux/security/Makefile (revision 64c70b1c)
1#
2# Makefile for the kernel security code
3#
4
5obj-$(CONFIG_KEYS)			+= keys/
6subdir-$(CONFIG_SECURITY_SELINUX)	+= selinux
7
8# if we don't select a security model, use the default capabilities
9ifneq ($(CONFIG_SECURITY),y)
10obj-y		+= commoncap.o
11endif
12
13# Object file lists
14obj-$(CONFIG_SECURITY)			+= security.o dummy.o inode.o
15# Must precede capability.o in order to stack properly.
16obj-$(CONFIG_SECURITY_SELINUX)		+= selinux/built-in.o
17obj-$(CONFIG_SECURITY_CAPABILITIES)	+= commoncap.o capability.o
18obj-$(CONFIG_SECURITY_ROOTPLUG)		+= commoncap.o root_plug.o
19