Skip to content

Commit

Permalink
kbuild: make gdb_script depend on prepare0 instead of prepare
Browse files Browse the repository at this point in the history
'gdb_script' needs headers generated by ./Kbuild, which is visited
by 'prepare0'. None of 'gdb_script' depends on 'prepare'.

Loosen the dependency.

Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
masahir0y committed Jun 15, 2019
1 parent 3a51f90 commit 7a739ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1540,7 +1540,7 @@ $(DOC_TARGETS): scripts_basic FORCE
# ---------------------------------------------------------------------------

PHONY += scripts_gdb
scripts_gdb: prepare
scripts_gdb: prepare0
$(Q)$(MAKE) $(build)=scripts/gdb
$(Q)ln -fsn $(abspath $(srctree)/scripts/gdb/vmlinux-gdb.py)

Expand Down

0 comments on commit 7a739ce

Please sign in to comment.