debug/gdb: global static forces static cross-gdb
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Dec 09 18:55:15 2010 +0100 (2010-12-09)
changeset 2209cdafca8bdaa8
parent 2208 5aa0516d6738
child 2210 c423e3d8f541
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>
config/debug/gdb.in.cross
config/toolchain.in
     1.1 --- a/config/debug/gdb.in.cross	Thu Dec 09 18:54:46 2010 +0100
     1.2 +++ b/config/debug/gdb.in.cross	Thu Dec 09 18:55:15 2010 +0100
     1.3 @@ -1,5 +1,8 @@
     1.4  # Menu for the cross GDB
     1.5  
     1.6 +config STATIC_TOOLCHAIN
     1.7 +    select GDB_CROSS_STATIC if GDB_CROSS
     1.8 +
     1.9  config GDB_CROSS
    1.10      bool
    1.11      prompt "Cross-gdb"
     2.1 --- a/config/toolchain.in	Thu Dec 09 18:54:46 2010 +0100
     2.2 +++ b/config/toolchain.in	Thu Dec 09 18:55:15 2010 +0100
     2.3 @@ -40,6 +40,9 @@
     2.4        confident that this host has the required versions of system libs, then
     2.5        you can say 'Y' here, and all the host tools will be linked staticaly.
     2.6        
     2.7 +      The impacted tools are:
     2.8 +        - the cross-gdb
     2.9 +      
    2.10        The default is 'N', to build dynamicaly-linked host binaries.
    2.11        
    2.12        NOTE: this has no connection to whether the target libraries will be