Re: [PATCH 2/5] integrity: remove pointless subdir-$(CONFIG_...)

From: Masahiro Yamada
Date: Mon Sep 09 2019 - 07:45:02 EST


On Fri, Jul 26, 2019 at 11:12 AM Masahiro Yamada
<yamada.masahiro@xxxxxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxxxxx>
> ---

Ping.


>
> security/integrity/Makefile | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/security/integrity/Makefile b/security/integrity/Makefile
> index b6d6273a4176..35e6ca773734 100644
> --- a/security/integrity/Makefile
> +++ b/security/integrity/Makefile
> @@ -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/
> --
> 2.17.1
>


--
Best Regards
Masahiro Yamada