Makefile 660 B

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