diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-02-17 22:50:49 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-02-17 22:50:49 (GMT) |
commit | 2949150cbe92e9e90e9738a2b77489cb0593b5a7 (patch) | |
tree | cd4a7a01a59c6a0e5960ca9314142ef1fbf7cb8d /config/companion_libs.in | |
parent | 77a605d48ed255d94bbe93ba17d53a2245a22a35 (diff) |
complibs: hide companion libraries for target entry
The companion libraries on the target are required only for internal use by
binutils and gdb. The user should not have to know about this, so hide the
option.
Diffstat (limited to 'config/companion_libs.in')
-rw-r--r-- | config/companion_libs.in | 62 |
1 files changed, 41 insertions, 21 deletions
diff --git a/config/companion_libs.in b/config/companion_libs.in index 346b6ab..e230cf9 100644 --- a/config/companion_libs.in +++ b/config/companion_libs.in @@ -100,19 +100,54 @@ config MPC can say 'Y' here, although it is unknown yet if any other component can use it. -if GMP +config GMP_TARGET + bool + +config MPFR_TARGET + bool + select GMP_TARGET + +config PPL_TARGET + bool + select GMP_TARGET + select MPFR_TARGET + +config CLOOG_TARGET + bool + select GMP_TARGET + select MPFR_TARGET + select PPL_TARGET + +config MPC_TARGET + bool + select GMP_TARGET + select MPFR_TARGET + select PPL_TARGET + select CLOOG_TARGET + +if GMP || GMP_TARGET +comment "GMP version needed to build for target" + depends on !GMP source config/companion_libs/gmp.in endif -if MPFR +if MPFR || MPFR_TARGET +comment "MPFR version needed to build for target" + depends on !MPFR source config/companion_libs/mpfr.in endif -if PPL +if PPL || PPL_TARGET +comment "PPL version needed to build for target" + depends on !PPL source config/companion_libs/ppl.in endif -if CLOOG +if CLOOG || CLOOG_TARGET +comment "CLOOG version needed to build for target" + depends on !CLOOG source config/companion_libs/cloog.in endif -if MPC +if MPC || MPC_TARGET +comment "MPC version needed to build for target" + depends on !MPC source config/companion_libs/mpc.in endif @@ -122,12 +157,11 @@ config FOO comment "Companion libraries common options" depends on COMPLIBS || WRAPPER_NEEDED -if COMPLIBS - config COMP_LIBS_CHECK bool prompt "| Check the companion libraries builds (!!! READ HELP!!!)" default n + depends on COMPLIBS help It is highly recommended to check the newly built companion libraries. Unfortunately, this is a very intensive task, and takes a loooong time. @@ -142,20 +176,6 @@ config COMP_LIBS_CHECK building PPL on my machine takes roughly 1'40", while checking it takes about 1h40'... -config COMPLIBS_TARGET - bool - prompt "| Build companion libraries for the target" - depends on ! BARE_METAL - default n - help - Also build companion libraries for the target. This can be usefull if - you want to later build a compiler that will run on the target, or if - you want to run gdb natively on the target. - - Please note that for now, crosstool-NG can only build GMP and MPFR so. - -endif # COMPLIBS - choice bool prompt "| Install tools wrapper as:" |