summaryrefslogtreecommitdiff
path: root/net/dcb/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-01-26 02:16:56 +0300
committerJakub Kicinski <kuba@kernel.org>2021-01-28 04:03:52 +0300
commit1e328ed559201c4a3733b148b0afe3cfb4ad8b45 (patch)
tree1c15bd1bbaf6c081600409758727c9f218bc7a3e /net/dcb/Makefile
parent8b5f4eb3ab700046b9f41d53544791fa02852551 (diff)
downloadlinux-1e328ed559201c4a3733b148b0afe3cfb4ad8b45.tar.xz
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>
Diffstat (limited to 'net/dcb/Makefile')
-rw-r--r--net/dcb/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dcb/Makefile b/net/dcb/Makefile
index 3016e5a7716a..2c0fa16ee2a9 100644
--- a/net/dcb/Makefile
+++ b/net/dcb/Makefile
@@ -1,2 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only
-obj-$(CONFIG_DCB) += dcbnl.o dcbevent.o
+obj-y += dcbnl.o dcbevent.o