diff options
author | Bryan Hundven" <bryanhundven@gmail.com> | 2010-12-09 17:55:15 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-12-09 17:55:15 (GMT) |
commit | c10e06ed81a7afb628aff6d9f4e6762fc8386c52 (patch) | |
tree | e22d2d08ea5d30dcfcae81483931f535c9565311 | |
parent | fb70d71c9c5946c47759d24d739a8f0c8900ad49 (diff) |
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>
-rw-r--r-- | config/debug/gdb.in.cross | 3 | ||||
-rw-r--r-- | config/toolchain.in | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/config/debug/gdb.in.cross b/config/debug/gdb.in.cross index c731bf6..b5d362c 100644 --- a/config/debug/gdb.in.cross +++ b/config/debug/gdb.in.cross @@ -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 --git a/config/toolchain.in b/config/toolchain.in index 12e2b73..86578c6 100644 --- a/config/toolchain.in +++ b/config/toolchain.in @@ -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 |