]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
kbuild: remove duplicated dependency between modules and modules_check
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 28 Aug 2022 02:39:49 +0000 (11:39 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 28 Sep 2022 19:40:15 +0000 (04:40 +0900)
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>
Makefile

index 498095b3825e3fbb4d92c362117afbcf3a21a477..e0b363398939b1c190f89cba04595f3772d751ad 100644 (file)
--- 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) > $@