Makefile 892 B

1234567891011121314151617181920212223242526272829
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Makefile for the kernel security code
  4. #
  5. obj-$(CONFIG_KEYS) += keys/
  6. # always enable default capabilities
  7. obj-y += commoncap.o
  8. obj-$(CONFIG_MMU) += min_addr.o
  9. # Object file lists
  10. obj-$(CONFIG_SECURITY) += security.o
  11. obj-$(CONFIG_SECURITYFS) += inode.o
  12. obj-$(CONFIG_SECURITY_SELINUX) += selinux/
  13. obj-$(CONFIG_SECURITY_SMACK) += smack/
  14. obj-$(CONFIG_SECURITY) += lsm_audit.o
  15. obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/
  16. obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/
  17. obj-$(CONFIG_SECURITY_YAMA) += yama/
  18. obj-$(CONFIG_SECURITY_LOADPIN) += loadpin/
  19. obj-$(CONFIG_SECURITY_SAFESETID) += safesetid/
  20. obj-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown/
  21. obj-$(CONFIG_CGROUPS) += device_cgroup.o
  22. obj-$(CONFIG_BPF_LSM) += bpf/
  23. obj-$(CONFIG_SECURITY_LANDLOCK) += landlock/
  24. # Object integrity file lists
  25. obj-$(CONFIG_INTEGRITY) += integrity/