integrity: remove pointless subdir-$(CONFIG_...)
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 26 Jul 2019 02:10:55 +0000 (11:10 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 5 Oct 2019 06:29:49 +0000 (15:29 +0900)
The ima/ and evm/ sub-directories contain built-in objects, so
obj-$(CONFIG_...) is the correct way to descend into them.

subdir-$(CONFIG_...) is redundant.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
security/integrity/Makefile

index b6d6273..35e6ca7 100644 (file)
@@ -14,7 +14,5 @@ integrity-$(CONFIG_LOAD_UEFI_KEYS) += platform_certs/efi_parser.o \
                                        platform_certs/load_uefi.o
 integrity-$(CONFIG_LOAD_IPL_KEYS) += platform_certs/load_ipl_s390.o
 
-subdir-$(CONFIG_IMA)                   += ima
 obj-$(CONFIG_IMA)                      += ima/
-subdir-$(CONFIG_EVM)                   += evm
 obj-$(CONFIG_EVM)                      += evm/