config/gmp_mpfr.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Oct 18 18:37:28 2008 +0000 (2008-10-18)
changeset 945 d0e5f04d2e06
parent 634 c74132339c44
permissions -rw-r--r--
Extract the config files related stuff from the kconfig stuff
- create config/config.mk, with all the config.gen/ rules
- the only common points between config files and configurators:
- the top-level config file to include, stored in KCONFIG_TOP
- the config_file rules, which makes config files available to configurators
- dependency-files are renamed from %.d to %.dep (.d is reserved for directories)
- a few eye-candy here and there

/trunk/kconfig/kconfig.mk | 184 12 172 0 +++--------------------------------------------------
/trunk/config/config.mk | 118 9 109 0 +++-------------------------------
/trunk/ct-ng.in | 1 1 0 0 +
3 files changed, 22 insertions(+), 281 deletions(-)
     1 # GMP and MPFR libraries config options
     2 
     3 menu "GMP and MPFR"
     4 
     5 config GMP_MPFR
     6     bool
     7     prompt "GMP and MPFR"
     8     help
     9       Recent gcc needs both GMP and MPFR to build some frontends.
    10 
    11       Say 'Y' here if you want to build those two libraries specifically
    12       for crosstool-NG.
    13 
    14       The packages that can use GMP and MPFR are:
    15         - binutils
    16         - gcc
    17         - gdb
    18 
    19 config GMP_MPFR_TARGET
    20     bool
    21     prompt "Build libraries for the target"
    22     depends on GMP_MPFR
    23     depends on ! BARE_METAL
    24     default n
    25     help
    26       Also build libraries for the target. This can be usefull if you want
    27       to later build a compiler that will run on the target, or if you want
    28       to run gdb natively on the target.
    29 
    30 if GMP_MPFR
    31 source config/gmp_mpfr/gmp.in
    32 source config/gmp_mpfr/mpfr.in
    33 endif
    34 
    35 endmenu