# HG changeset patch # User "Yann E. MORIN" # Date 1291917315 -3600 # Node ID cdafca8bdaa871b52d35e2d2b2196a338234459c # Parent 5aa0516d6738b42adbfce47e893c936659c3d58b 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" Signed-off-by: "Yann E. MORIN" diff -r 5aa0516d6738 -r cdafca8bdaa8 config/debug/gdb.in.cross --- a/config/debug/gdb.in.cross Thu Dec 09 18:54:46 2010 +0100 +++ b/config/debug/gdb.in.cross Thu Dec 09 18:55:15 2010 +0100 @@ -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" diff -r 5aa0516d6738 -r cdafca8bdaa8 config/toolchain.in --- a/config/toolchain.in Thu Dec 09 18:54:46 2010 +0100 +++ b/config/toolchain.in Thu Dec 09 18:55:15 2010 +0100 @@ -40,6 +40,9 @@ 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