Skip to content
Commit 0cfd99b4 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Jakub Kicinski
Browse files

net: switchdev: use obj-$(CONFIG_NET_SWITCHDEV) form in net/Makefile



CONFIG_NET_SWITCHDEV is a bool option. Change the ifeq conditional to
the standard obj-$(CONFIG_NET_SWITCHDEV) form.

Use obj-y in net/switchdev/Makefile because Kbuild visits this Makefile
only when CONFIG_NET_SWITCHDEV=y.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20210125231659.106201-3-masahiroy@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 1e328ed5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment