From: Masahiro Yamada Date: Tue, 4 Jun 2019 10:13:57 +0000 (+0900) Subject: kbuild: make gdb_script depend on prepare0 instead of prepare X-Git-Tag: v5.3-rc1~111^2~45 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=7a739ce51dca77184e5fc7b4ad5696b32a5c9422;p=users%2Fwilly%2Flinux.git kbuild: make gdb_script depend on prepare0 instead of prepare '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 --- diff --git a/Makefile b/Makefile index 5d550ad872a7..4bc9c708bcdd 100644 --- 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)