]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3a0aee91df946dba541962f1c98b14dd87a2b178
tree1c15bd1bbaf6c081600409758727c9f218bc7a3e
parent32793a258e0e272a5b87887a3993e0daf79828ac
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