Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame^] | 1 | # |
| 2 | # Makefile for the kernel security code |
| 3 | # |
| 4 | |
| 5 | obj-$(CONFIG_KEYS) += keys/ |
| 6 | subdir-$(CONFIG_SECURITY_SELINUX) += selinux |
| 7 | |
| 8 | # if we don't select a security model, use the default capabilities |
| 9 | ifneq ($(CONFIG_SECURITY),y) |
| 10 | obj-y += commoncap.o |
| 11 | endif |
| 12 | |
| 13 | # Object file lists |
| 14 | obj-$(CONFIG_SECURITY) += security.o dummy.o |
| 15 | # Must precede capability.o in order to stack properly. |
| 16 | obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o |
| 17 | obj-$(CONFIG_SECURITY_CAPABILITIES) += commoncap.o capability.o |
| 18 | obj-$(CONFIG_SECURITY_ROOTPLUG) += commoncap.o root_plug.o |
| 19 | obj-$(CONFIG_SECURITY_SECLVL) += seclvl.o |