debug/gdb: global static forces static cross-gdb

If the global static option is set, then build host binutils statically.

Signed-off-by: "Bryan Hundven" <bryanhundven@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
Bryan Hundven" 2010-12-09 18:55:15 +01:00 committed by Yann E. MORIN"
parent fb70d71c9c
commit c10e06ed81
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,8 @@
# Menu for the cross GDB
config STATIC_TOOLCHAIN
select GDB_CROSS_STATIC if GDB_CROSS
config GDB_CROSS
bool
prompt "Cross-gdb"

View File

@ -40,6 +40,9 @@ config STATIC_TOOLCHAIN
confident that this host has the required versions of system libs, then
you can say 'Y' here, and all the host tools will be linked staticaly.
The impacted tools are:
- the cross-gdb
The default is 'N', to build dynamicaly-linked host binaries.
NOTE: this has no connection to whether the target libraries will be