author: Masahiro Yamada <masahiroy@kernel.org> 2021-01-26 08:16:55 +0900
committer: Jakub Kicinski <kuba@kernel.org> 2021-01-27 17:03:52 -0800
commit: 8b5f4eb3ab700046b9f41d53544791fa02852551
parent: 69783429cd1386306071c19c0f635423a50cc804
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/Makefile b/Makefile
index b0e4767735dc..61357f7eb55f 100644
--- a/Makefile
+++ b/Makefile
@@ -649,7 +649,8 @@ ifeq ($(KBUILD_EXTMOD),)
core-y := init/ usr/
drivers-y := drivers/ sound/
drivers-$(CONFIG_SAMPLES) += samples/
-drivers-y += net/ virt/
+drivers-$(CONFIG_NET) += net/
+drivers-y += virt/
libs-y := lib/
endif # KBUILD_EXTMOD