xref: /openbmc/linux/security/Makefile (revision 1da177e4)
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
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
19obj-$(CONFIG_SECURITY_SECLVL)		+= seclvl.o
20