summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-08-28 11:39:49 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2022-09-29 04:40:15 +0900
commitf75a03340c2c2eea772e4d59412135021afea493 (patch)
treeb881f9461914486d4a076df679e4b871181db1e6 /Makefile
parente30d448754284d6c7580b8f330e257e9801bec76 (diff)
downloadlinux-stable-f75a03340c2c2eea772e4d59412135021afea493.tar.gz
linux-stable-f75a03340c2c2eea772e4d59412135021afea493.tar.bz2
linux-stable-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) > $@