blob: ef87df2f50a454ac0f9c5aedeb235b347a2706b4 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
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
Greg KHb67dbf92005-07-07 14:37:53 -070014obj-$(CONFIG_SECURITY) += security.o dummy.o inode.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015# 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