security: remove unneeded subdir-$(CONFIG_...)
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 28 May 2021 18:01:40 +0000 (03:01 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 2 Sep 2021 23:17:20 +0000 (08:17 +0900)
All of these are unneeded. The directories to descend are specified
by obj-$(CONFIG_...).

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
security/Makefile

index 47e4329..18121f8 100644 (file)
@@ -4,16 +4,6 @@
 #
 
 obj-$(CONFIG_KEYS)                     += keys/
-subdir-$(CONFIG_SECURITY_SELINUX)      += selinux
-subdir-$(CONFIG_SECURITY_SMACK)                += smack
-subdir-$(CONFIG_SECURITY_TOMOYO)        += tomoyo
-subdir-$(CONFIG_SECURITY_APPARMOR)     += apparmor
-subdir-$(CONFIG_SECURITY_YAMA)         += yama
-subdir-$(CONFIG_SECURITY_LOADPIN)      += loadpin
-subdir-$(CONFIG_SECURITY_SAFESETID)    += safesetid
-subdir-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown
-subdir-$(CONFIG_BPF_LSM)               += bpf
-subdir-$(CONFIG_SECURITY_LANDLOCK)     += landlock
 
 # always enable default capabilities
 obj-y                                  += commoncap.o
@@ -36,5 +26,4 @@ obj-$(CONFIG_BPF_LSM)                 += bpf/
 obj-$(CONFIG_SECURITY_LANDLOCK)                += landlock/
 
 # Object integrity file lists
-subdir-$(CONFIG_INTEGRITY)             += integrity
 obj-$(CONFIG_INTEGRITY)                        += integrity/