summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-06-04 12:13:57 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-06-15 12:57:01 +0200
commit7a739ce51dca77184e5fc7b4ad5696b32a5c9422 (patch)
tree788a51c4bd95c688c18b46098fe42fffeb3141a2 /Makefile
parentkbuild: remove stale dependency between Documentation/ and headers_install (diff)
downloadlinux-7a739ce51dca77184e5fc7b4ad5696b32a5c9422.tar.xz
linux-7a739ce51dca77184e5fc7b4ad5696b32a5c9422.zip
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 <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)