mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-31 00:23:56 +00:00
debug/gdb: add extra config for gdb cross.
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org> [yann.morin.1998@anciens.enib.fr: prompt rewording, as suggested by M. Hope] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
91eb66a629
commit
3980ce9905
@ -38,5 +38,12 @@ config GDB_CROSS_PYTHON
|
|||||||
Building a static gdb can help in this regard, although there
|
Building a static gdb can help in this regard, although there
|
||||||
have been reports of problems when linking gdb to the static
|
have been reports of problems when linking gdb to the static
|
||||||
libpython.a. This should be fixed in gdb >=7.3. YMMV.
|
libpython.a. This should be fixed in gdb >=7.3. YMMV.
|
||||||
|
|
||||||
|
config GDB_CROSS_EXTRA_CONFIG_ARRAY
|
||||||
|
string
|
||||||
|
prompt "Cross-gdb extra config"
|
||||||
|
default ""
|
||||||
|
help
|
||||||
|
Extra flags to pass onto ./configure when configuring the gdb cross.
|
||||||
|
|
||||||
endif # GDB_CROSS
|
endif # GDB_CROSS
|
||||||
|
@ -147,7 +147,8 @@ do_debug_gdb_build() {
|
|||||||
--with-sysroot="${CT_SYSROOT_DIR}" \
|
--with-sysroot="${CT_SYSROOT_DIR}" \
|
||||||
--with-expat=yes \
|
--with-expat=yes \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
"${cross_extra_config[@]}"
|
"${cross_extra_config[@]}" \
|
||||||
|
"${CT_GDB_CROSS_EXTRA_CONFIG_ARRAY[@]}"
|
||||||
|
|
||||||
CT_DoLog EXTRA "Building cross-gdb"
|
CT_DoLog EXTRA "Building cross-gdb"
|
||||||
CT_DoExecLog ALL make ${JOBSFLAGS}
|
CT_DoExecLog ALL make ${JOBSFLAGS}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user