Re: [PATCH 4/4] net: l3mdev: use obj-$(CONFIG_NET_L3_MASTER_DEV) form in net/Makefile

From: David Ahern
Date: Tue Jan 26 2021 - 05:58:49 EST


On 1/25/21 4:16 PM, Masahiro Yamada wrote:
> CONFIG_NET_L3_MASTER_DEV is a bool option. Change the ifeq conditional
> to the standard obj-$(CONFIG_NET_L3_MASTER_DEV) form.
>
> Use obj-y in net/l3mdev/Makefile because Kbuild visits this Makefile
> only when CONFIG_NET_L3_MASTER_DEV=y.
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---
>
> net/Makefile | 4 +---
> net/l3mdev/Makefile | 2 +-
> 2 files changed, 2 insertions(+), 4 deletions(-)
>

Reviewed-by: David Ahern <dsahern@xxxxxxxxxx>