config/toolchain.in
changeset 2500 ba1e71fa72a9
parent 2490 cce067f0448e
child 2503 b5541f296b92
     1.1 --- a/config/toolchain.in	Tue May 31 21:03:03 2011 +0200
     1.2 +++ b/config/toolchain.in	Thu Jun 02 19:50:12 2011 +0200
     1.3 @@ -46,10 +46,19 @@
     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 +    bool
    1.11 +    default y
    1.12 +    depends on CONFIGURE_has_static_libstdcxx
    1.13 +    # Add new deps here! :-)
    1.14 +
    1.15  config STATIC_TOOLCHAIN
    1.16      bool
    1.17      prompt "Build Static Toolchain (EXPERIMENTAL)"
    1.18      depends on EXPERIMENTAL
    1.19 +    depends on STATIC_TOOLCHAIN_POSSIBLE
    1.20      help
    1.21        Build static host binaries.
    1.22