Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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. subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo
  8. subdir-$(CONFIG_SECURITY_APPARMOR) += apparmor
  9. subdir-$(CONFIG_SECURITY_YAMA) += yama
  10. # always enable default capabilities
  11. obj-y += commoncap.o
  12. obj-$(CONFIG_MMU) += min_addr.o
  13. # Object file lists
  14. obj-$(CONFIG_SECURITY) += security.o capability.o
  15. obj-$(CONFIG_SECURITYFS) += inode.o
  16. # Must precede capability.o in order to stack properly.
  17. obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o
  18. obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o
  19. obj-$(CONFIG_AUDIT) += lsm_audit.o
  20. obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/built-in.o
  21. obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/built-in.o
  22. obj-$(CONFIG_SECURITY_YAMA) += yama/built-in.o
  23. obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o
  24. # Object integrity file lists
  25. subdir-$(CONFIG_INTEGRITY) += integrity
  26. obj-$(CONFIG_INTEGRITY) += integrity/built-in.o
  27. # TIMA uevent
  28. obj-$(CONFIG_TIMA_UEVENT) += tima_uevent/
  29. #TZ ICCC
  30. obj-$(CONFIG_TZ_ICCC) += tz_iccc/