summaryrefslogtreecommitdiffstats
path: root/net/l3mdev
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-01-26 00:16:58 +0100
committerJakub Kicinski <kuba@kernel.org>2021-01-28 02:03:52 +0100
commitd32f834cd6873d9a5ed18ad028700f60d1688cf3 (patch)
treef6209a496b4091a765f7c7354aca4dccacbe94a0 /net/l3mdev
parentnet: switchdev: use obj-$(CONFIG_NET_SWITCHDEV) form in net/Makefile (diff)
downloadlinux-d32f834cd6873d9a5ed18ad028700f60d1688cf3.tar.xz
linux-d32f834cd6873d9a5ed18ad028700f60d1688cf3.zip
net: l3mdev: use obj-$(CONFIG_NET_L3_MASTER_DEV) form in net/Makefile
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@kernel.org> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://lore.kernel.org/r/20210125231659.106201-4-masahiroy@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/l3mdev')
-rw-r--r--net/l3mdev/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/l3mdev/Makefile b/net/l3mdev/Makefile
index 59755a9e2f9b..9e7da0acc58c 100644
--- a/net/l3mdev/Makefile
+++ b/net/l3mdev/Makefile
@@ -3,4 +3,4 @@
# Makefile for the L3 device API
#
-obj-$(CONFIG_NET_L3_MASTER_DEV) += l3mdev.o
+obj-y += l3mdev.o