diff -r e44f67656c5f -r 35cf5e2f110a config/companion_libs.in --- a/config/companion_libs.in Wed Feb 17 23:50:49 2010 +0100 +++ b/config/companion_libs.in Wed Feb 17 23:41:17 2010 +0100 @@ -100,6 +100,20 @@ can say 'Y' here, although it is unknown yet if any other component can use it. +config LIBELF + bool +# prompt "libelf" + select COMPLIBS + select WRAPPER_NEEDED + help + gcc-4.5.0 and above can also use libelf to enable some optimisation + (LTO, Link-Time Optimisation, to be precise). Although libelf is + optional, crosstool-NG requires it and uses it to build gcc >= 4.5.0. + + This will be automatically selected if you choose gcc>=4.5.0, but you + can say 'Y' here, although it is unknown yet if any other component + can use it. + config GMP_TARGET bool @@ -125,6 +139,9 @@ select PPL_TARGET select CLOOG_TARGET +config LIBELF_TARGET + bool + if GMP || GMP_TARGET comment "GMP version needed to build for target" depends on !GMP @@ -150,6 +167,11 @@ depends on !MPC source config/companion_libs/mpc.in endif +if LIBELF || LIBELF_TARGET +comment "libelf version needed to build for target" + depends on !LIBELF +source config/companion_libs/libelf.in +endif config FOO bool