diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-01-26 02:16:56 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-28 04:03:52 +0300 |
commit | 1e328ed559201c4a3733b148b0afe3cfb4ad8b45 (patch) | |
tree | 1c15bd1bbaf6c081600409758727c9f218bc7a3e /net/Makefile | |
parent | 8b5f4eb3ab700046b9f41d53544791fa02852551 (diff) | |
download | linux-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/Makefile')
-rw-r--r-- | net/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/Makefile b/net/Makefile index 6fa3b2e26cab..a7e38bd463a4 100644 --- a/net/Makefile +++ b/net/Makefile @@ -55,9 +55,7 @@ obj-$(CONFIG_SMC) += smc/ obj-$(CONFIG_RFKILL) += rfkill/ obj-$(CONFIG_NET_9P) += 9p/ obj-$(CONFIG_CAIF) += caif/ -ifneq ($(CONFIG_DCB),) -obj-y += dcb/ -endif +obj-$(CONFIG_DCB) += dcb/ obj-$(CONFIG_6LOWPAN) += 6lowpan/ obj-$(CONFIG_IEEE802154) += ieee802154/ obj-$(CONFIG_MAC802154) += mac802154/ |