config/companion_libs.in
changeset 1811 35cf5e2f110a
parent 1810 e44f67656c5f
child 1847 c311bf33c64d
     1.1 --- a/config/companion_libs.in	Wed Feb 17 23:50:49 2010 +0100
     1.2 +++ b/config/companion_libs.in	Wed Feb 17 23:41:17 2010 +0100
     1.3 @@ -100,6 +100,20 @@
     1.4        can say 'Y' here, although it is unknown yet if any other component
     1.5        can use it.
     1.6  
     1.7 +config LIBELF
     1.8 +    bool
     1.9 +#    prompt "libelf"
    1.10 +    select COMPLIBS
    1.11 +    select WRAPPER_NEEDED
    1.12 +    help
    1.13 +      gcc-4.5.0 and above can also use libelf to enable some optimisation
    1.14 +      (LTO, Link-Time Optimisation, to be precise).  Although libelf is
    1.15 +      optional, crosstool-NG requires it and uses it to build gcc >= 4.5.0.
    1.16 +      
    1.17 +      This will be automatically selected if you choose gcc>=4.5.0, but you
    1.18 +      can say 'Y' here, although it is unknown yet if any other component
    1.19 +      can use it.
    1.20 +
    1.21  config GMP_TARGET
    1.22      bool
    1.23  
    1.24 @@ -125,6 +139,9 @@
    1.25      select PPL_TARGET
    1.26      select CLOOG_TARGET
    1.27  
    1.28 +config LIBELF_TARGET
    1.29 +    bool
    1.30 +
    1.31  if GMP || GMP_TARGET
    1.32  comment "GMP version needed to build for target"
    1.33      depends on !GMP
    1.34 @@ -150,6 +167,11 @@
    1.35      depends on !MPC
    1.36  source config/companion_libs/mpc.in
    1.37  endif
    1.38 +if LIBELF || LIBELF_TARGET
    1.39 +comment "libelf version needed to build for target"
    1.40 +    depends on !LIBELF
    1.41 +source config/companion_libs/libelf.in
    1.42 +endif
    1.43  
    1.44  config FOO
    1.45      bool