linux/security/Makefile
<<
>>
Prefs
   1# SPDX-License-Identifier: GPL-2.0
   2#
   3# Makefile for the kernel security code
   4#
   5
   6obj-$(CONFIG_KEYS)                      += keys/
   7subdir-$(CONFIG_SECURITY_SELINUX)       += selinux
   8subdir-$(CONFIG_SECURITY_SMACK)         += smack
   9subdir-$(CONFIG_SECURITY_TOMOYO)        += tomoyo
  10subdir-$(CONFIG_SECURITY_APPARMOR)      += apparmor
  11subdir-$(CONFIG_SECURITY_YAMA)          += yama
  12subdir-$(CONFIG_SECURITY_LOADPIN)       += loadpin
  13subdir-$(CONFIG_SECURITY_SAFESETID)    += safesetid
  14
  15# always enable default capabilities
  16obj-y                                   += commoncap.o
  17obj-$(CONFIG_MMU)                       += min_addr.o
  18
  19# Object file lists
  20obj-$(CONFIG_SECURITY)                  += security.o
  21obj-$(CONFIG_SECURITYFS)                += inode.o
  22obj-$(CONFIG_SECURITY_SELINUX)          += selinux/
  23obj-$(CONFIG_SECURITY_SMACK)            += smack/
  24obj-$(CONFIG_AUDIT)                     += lsm_audit.o
  25obj-$(CONFIG_SECURITY_TOMOYO)           += tomoyo/
  26obj-$(CONFIG_SECURITY_APPARMOR)         += apparmor/
  27obj-$(CONFIG_SECURITY_YAMA)             += yama/
  28obj-$(CONFIG_SECURITY_LOADPIN)          += loadpin/
  29obj-$(CONFIG_SECURITY_SAFESETID)       += safesetid/
  30obj-$(CONFIG_CGROUP_DEVICE)             += device_cgroup.o
  31
  32# Object integrity file lists
  33subdir-$(CONFIG_INTEGRITY)              += integrity
  34obj-$(CONFIG_INTEGRITY)                 += integrity/
  35