config/kernel.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jun 20 15:16:43 2008 +0000 (2008-06-20)
changeset 602 1968d150a34f
parent 446 d205527c5e01
child 847 af75fc1fe0fc
permissions -rw-r--r--
GMP and MPFR are no longer a sub-component of gcc (config-wise).
Build and install GMP and MPFR for the target.
Use the target GMP and MPFR to build the native gdb.
Have separate extra_config for cross gdb, native gdb and gdbserver.
Check native GMP and MPFR in //.

/trunk/scripts/build/debug/300-gdb.sh | 27 19 8 0 ++++++++++++++++-------
/trunk/scripts/build/gmp.sh | 47 39 8 0 ++++++++++++++++++++++++++++++++-------
/trunk/scripts/build/mpfr.sh | 49 40 9 0 +++++++++++++++++++++++++++++++++--------
/trunk/steps.mk | 2 2 0 0 ++
/trunk/config/cc/gcc.in | 18 1 17 0 +--------------
/trunk/config/debug/gdb.in | 6 1 5 0 +----
/trunk/config/config.in | 1 1 0 0 +
/trunk/config/gmp_mpfr.in | 34 34 0 0 ++++++++++++++++++++++++++++
8 files changed, 137 insertions(+), 47 deletions(-)
     1 # Kernel options
     2 
     3 menu "Kernel"
     4 
     5 choice
     6     bool
     7     prompt "Target OS"
     8     default KERNEL_LINUX
     9 
    10 config KERNEL_LINUX
    11     bool
    12     prompt "linux"
    13     help
    14       Build a toolchain targeting systems running Linux as a kernel.
    15 
    16 endchoice
    17 
    18 config KERNEL_VERSION
    19     string
    20 
    21 if KERNEL_LINUX
    22 source config/kernel/linux.in
    23 endif
    24 
    25 endmenu