net: dcb: use obj-$(CONFIG_DCB) form in net/Makefile
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 25 Jan 2021 23:16:56 +0000 (08:16 +0900)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Jan 2021 01:03:52 +0000 (17:03 -0800)
commit1e328ed559201c4a3733b148b0afe3cfb4ad8b45
tree1c15bd1bbaf6c081600409758727c9f218bc7a3e
parent8b5f4eb3ab700046b9f41d53544791fa02852551
net: dcb: use obj-$(CONFIG_DCB) form in net/Makefile

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

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

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20210125231659.106201-2-masahiroy@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/Makefile
net/dcb/Makefile