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@xxxxxxxxxx> --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7c955e906445..f04126181885 100644 --- a/Makefile +++ b/Makefile @@ -1436,8 +1436,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) > $@ -- 2.34.1