config: add option to build multilib
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Nov 23 23:25:43 2011 +0100 (2011-11-23)
changeset 2815446a17b5dd1e
parent 2814 3dc2727ebffc
child 2816 313e27d0f2c5
config: add option to build multilib

Add a toolchain-wide option to enable multilib.

This is currently a noop, and will be implemented
in subsequent patches for each impacted components.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
config/target.in
     1.1 --- a/config/target.in	Sat Dec 31 16:23:27 2011 +0100
     1.2 +++ b/config/target.in	Wed Nov 23 23:25:43 2011 +0100
     1.3 @@ -44,6 +44,23 @@
     1.4  #--------------------------------------
     1.5  comment "Generic target options"
     1.6  
     1.7 +#--------------------------------------
     1.8 +config MULTILIB
     1.9 +    bool
    1.10 +    prompt "Build a multilib toolchain (EXPERIMENTAL)"
    1.11 +    depends on EXPERIMENTAL
    1.12 +    help
    1.13 +      If you say 'y' here, then the toolchain will also contain the C library
    1.14 +      optimised for some variants of the selected architecture, besides the
    1.15 +      default settings.
    1.16 +      
    1.17 +      This means the build time of the C library will be in O(nb_variants).
    1.18 +      
    1.19 +      The list of variants is dependent on the architecture, and is hard-coded
    1.20 +      in gcc, so it is not possible to say what variants to support, only
    1.21 +      whether hard-coded variants should be supported or not.
    1.22 +
    1.23 +#--------------------------------------
    1.24  config ARCH_SUPPORTS_BOTH_MMU
    1.25      bool
    1.26