Makefile 556 B

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