diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-02-19 04:33:02 -0500 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-02-27 07:39:48 -0500 |
commit | 67274c083438340ad16c1437caebc84e1253b224 (patch) | |
tree | 9959b5c3b53c128b29319985e0f069f38f150562 /Kbuild | |
parent | 6d3c94e4a6523d1c3b59c23fb607d18bf08ea4fc (diff) |
scripts/gdb: delay generation of gdb constants.py
scripts/gdb/linux/constants.py is never used in the kernel build
process. There is no good reason to create it so early.
Get it out of the 'prepare' stage.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'Kbuild')
-rw-r--r-- | Kbuild | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -6,7 +6,6 @@ | |||
6 | # 2) Generate timeconst.h | 6 | # 2) Generate timeconst.h |
7 | # 3) Generate asm-offsets.h (may need bounds.h and timeconst.h) | 7 | # 3) Generate asm-offsets.h (may need bounds.h and timeconst.h) |
8 | # 4) Check for missing system calls | 8 | # 4) Check for missing system calls |
9 | # 5) Generate constants.py (may need bounds.h) | ||
10 | 9 | ||
11 | ##### | 10 | ##### |
12 | # 1) Generate bounds.h | 11 | # 1) Generate bounds.h |
@@ -58,14 +57,5 @@ quiet_cmd_syscalls = CALL $< | |||
58 | missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE | 57 | missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE |
59 | $(call cmd,syscalls) | 58 | $(call cmd,syscalls) |
60 | 59 | ||
61 | ##### | ||
62 | # 5) Generate constants for Python GDB integration | ||
63 | # | ||
64 | |||
65 | extra-$(CONFIG_GDB_SCRIPTS) += build_constants_py | ||
66 | |||
67 | build_constants_py: $(timeconst-file) $(bounds-file) | ||
68 | @$(MAKE) $(build)=scripts/gdb/linux $@ | ||
69 | |||
70 | # Keep these three files during make clean | 60 | # Keep these three files during make clean |
71 | no-clean-files := $(bounds-file) $(offsets-file) $(timeconst-file) | 61 | no-clean-files := $(bounds-file) $(offsets-file) $(timeconst-file) |