mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-16 07:26:38 +00:00
debug/gdb: --disable-sim for CT_GDB_CROSS.
sim was already disabled for CT_GDB_NATIVE. Reviewed-by: Michael Hope Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org> [yann.morin.1998@anciens.enib.fr: make it a config option] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
067467bb18
commit
145d048e58
@ -24,6 +24,15 @@ config GDB_CROSS_STATIC
|
||||
That way, you can share the cross-gdb without installing a toolchain
|
||||
on every machine that will be used to debug target programs.
|
||||
|
||||
config GDB_CROSS_SIM
|
||||
bool
|
||||
prompt "Enable 'sim'"
|
||||
depends on EXPERIMENTAL
|
||||
help
|
||||
Say 'y' here if you want to build the 'sim' emulator.
|
||||
You probably don't want it, unless you are building for bare-metal.
|
||||
The default is 'n'.
|
||||
|
||||
config GDB_CROSS_PYTHON
|
||||
bool
|
||||
prompt "Enable python scripting"
|
||||
|
@ -123,6 +123,11 @@ do_debug_gdb_build() {
|
||||
else
|
||||
cross_extra_config+=( "--with-python=no" )
|
||||
fi
|
||||
if [ "${CT_GDB_CROSS_SIM}" = "y" ]; then
|
||||
cross_extra_config+=( "--enable-sim" )
|
||||
else
|
||||
cross_extra_config+=( "--disable-sim" )
|
||||
fi
|
||||
|
||||
CC_for_gdb=
|
||||
LD_for_gdb=
|
||||
|
Loading…
x
Reference in New Issue
Block a user