1.1 --- a/config/toolchain.in Sun Jul 17 16:53:40 2011 +0200
1.2 +++ b/config/toolchain.in Thu Nov 17 14:18:44 2011 +0100
1.3 @@ -46,20 +46,14 @@
1.4 In fact, the sysroot path is constructed as:
1.5 ${CT_PREFIX_DIR}/${CT_TARGET}/${CT_SYSROOT_DIR_PREFIX}/${CT_SYSROOT_NAME}
1.6
1.7 -# In case we need to add more conditions to enable static
1.8 -# toolchain, we'll be adding them here
1.9 -config STATIC_TOOLCHAIN_POSSIBLE
1.10 +config WANTS_STATIC_LINK
1.11 bool
1.12 - default y
1.13 - depends on CONFIGURE_static_link_ok
1.14 - depends on CONFIGURE_has_static_libstdcxx
1.15 - # Add new deps here! :-)
1.16
1.17 config STATIC_TOOLCHAIN
1.18 bool
1.19 prompt "Build Static Toolchain (EXPERIMENTAL)"
1.20 depends on EXPERIMENTAL
1.21 - depends on STATIC_TOOLCHAIN_POSSIBLE
1.22 + select WANTS_STATIC_LINK
1.23 help
1.24 Build static host binaries.
1.25
1.26 @@ -68,8 +62,9 @@
1.27 you can say 'Y' here, and all the host tools will be linked statically.
1.28
1.29 The impacted tools are:
1.30 - - the GNU binutils
1.31 - - the cross-gdb
1.32 + - the cross-binutils (GNU binutils, elf2flt)
1.33 + - the cross-compiler (gcc)
1.34 + - the cross-debugger (gdb)
1.35
1.36 The default is 'N', to build dynamicaly-linked host binaries.
1.37