]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
kbuild: make gdb_script depend on prepare0 instead of prepare
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 4 Jun 2019 10:13:57 +0000 (19:13 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 15 Jun 2019 10:57:01 +0000 (19:57 +0900)
'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 <yamada.masahiro@socionext.com>
Makefile

index 5d550ad872a745ea7d456c535566d45e77d5eb25..4bc9c708bcdd285ec78d57031e4c40c61c0aa23b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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)