mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Reviewed-by: Kieran Bingham <[email protected]>
This commit is contained in:
parent
6d3c94e4a6
commit
67274c0834
2 changed files with 11 additions and 10 deletions
11
Makefile
11
Makefile
|
|
@ -1519,6 +1519,17 @@ PHONY += $(DOC_TARGETS)
|
|||
$(DOC_TARGETS): scripts_basic FORCE
|
||||
$(Q)$(MAKE) $(build)=Documentation $@
|
||||
|
||||
# Misc
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
PHONY += scripts_gdb
|
||||
scripts_gdb: prepare
|
||||
$(Q)$(MAKE) $(build)=scripts/gdb/linux build_constants_py
|
||||
|
||||
ifdef CONFIG_GDB_SCRIPTS
|
||||
all: scripts_gdb
|
||||
endif
|
||||
|
||||
else # KBUILD_EXTMOD
|
||||
|
||||
###
|
||||
|
|
|
|||
Loading…
Reference in a new issue