kbuild: remove duplicated dependency between modules and modules_check

The dependency, "modules: modules_check" is specified twice.
Commit 1a998be620 ("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>
This commit is contained in:
Masahiro Yamada 2022-08-28 11:39:49 +09:00
parent e30d448754
commit f75a03340c
1 changed files with 1 additions and 2 deletions

View File

@ -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) > $@