Skip to content

Commit

Permalink
kbuild: remove duplicated dependency between modules and modules_check
Browse files Browse the repository at this point in the history
The dependency, "modules: modules_check" is specified twice.
Commit 1a998be ("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>
  • Loading branch information
Masahiro Yamada committed Sep 28, 2022
1 parent e30d448 commit f75a033
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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) > $@

Expand Down

0 comments on commit f75a033

Please sign in to comment.