summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-08-28 04:39:49 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2022-09-28 21:40:15 +0200
commitf75a03340c2c2eea772e4d59412135021afea493 (patch)
treeb881f9461914486d4a076df679e4b871181db1e6 /Makefile
parentnios2: move core-y in arch/nios2/Makefile to arch/nios2/Kbuild (diff)
downloadlinux-f75a03340c2c2eea772e4d59412135021afea493.tar.xz
linux-f75a03340c2c2eea772e4d59412135021afea493.zip
kbuild: remove duplicated dependency between modules and modules_check
The dependency, "modules: modules_check" is specified twice. Commit 1a998be620a1 ("kbuild: check module name conflict for external modules as well") missed to clean it up. 'PHONY += modules' also appears twice. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 498095b3825e..e0b363398939 100644
--- a/Makefile
+++ b/Makefile
@@ -1431,8 +1431,7 @@ endif
# Build modules
#
-PHONY += modules
-modules: $(if $(KBUILD_BUILTIN),vmlinux) modules_check modules_prepare
+modules: $(if $(KBUILD_BUILTIN),vmlinux) modules_prepare
cmd_modules_order = cat $(real-prereqs) > $@