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 |
Casey Schaufler | e114e47 | 2008-02-04 22:29:50 -0800 | [diff] [blame] | 7 | subdir-$(CONFIG_SECURITY_SMACK) += smack |
Kentaro Takeda | 00d7d6f | 2009-02-05 17:18:17 +0900 | [diff] [blame] | 8 | subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | |
Miklos Szeredi | 5915eb5 | 2008-07-03 20:56:05 +0200 | [diff] [blame] | 10 | # always enable default capabilities |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | obj-y += commoncap.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | |
| 13 | # Object file lists |
Eric Paris | da31894 | 2008-08-22 11:35:57 -0400 | [diff] [blame] | 14 | obj-$(CONFIG_SECURITY) += security.o capability.o |
| 15 | obj-$(CONFIG_SECURITYFS) += inode.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | # Must precede capability.o in order to stack properly. |
| 17 | obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o |
Miklos Szeredi | 5915eb5 | 2008-07-03 20:56:05 +0200 | [diff] [blame] | 18 | obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o |
James Morris | 42d5aaa | 2009-02-12 16:29:04 +1100 | [diff] [blame] | 19 | obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/built-in.o |
Miklos Szeredi | 5915eb5 | 2008-07-03 20:56:05 +0200 | [diff] [blame] | 20 | obj-$(CONFIG_SECURITY_ROOTPLUG) += root_plug.o |
Serge E. Hallyn | 08ce5f1 | 2008-04-29 01:00:10 -0700 | [diff] [blame] | 21 | obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o |
Mimi Zohar | 3323eec9 | 2009-02-04 09:06:58 -0500 | [diff] [blame] | 22 | |
| 23 | # Object integrity file lists |
| 24 | subdir-$(CONFIG_IMA) += integrity/ima |
| 25 | obj-$(CONFIG_IMA) += integrity/ima/built-in.o |