config/kernel.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 14 16:21:07 2008 +0000 (2008-09-14)
changeset 850 ef8549b58b6f
parent 847 af75fc1fe0fc
child 854 f347a40db591
permissions -rw-r--r--
Introduce a new EXPERIMENTAL feature: BARE_METAL.
This should ultimately llow to build bare-metal compilers, for targets that have no kernel and no C library.
Move the C library build script to their own sub-directory; introduce an empty build script for bare-metal.
Move the compiler build script to its own sub-directory.
Move the kernel build script to its own sub-directory; introduce an empty build script for bare-metal.
Update the ARM target tuples to enable bare-metal targets.
Add two ARM bare-metal samples.
Add latest Linux kernel versions.

/trunk/scripts/build/kernel/none.sh | 77 6 71 0 +----
/trunk/scripts/build/cc/gcc.sh | 58 41 17 0 ++-
/trunk/scripts/build/libc/none.sh | 513 9 504 0 +-----------------------------
/trunk/scripts/crosstool.sh | 17 9 8 0 +
/trunk/scripts/functions | 6 4 2 0 +
/trunk/scripts/showSamples.sh | 6 3 3 0
/trunk/samples/arm-unknown-elf/crosstool.config | 225 225 0 0 +++++++++++++
/trunk/samples/arm-unknown-eabi/crosstool.config | 223 223 0 0 +++++++++++++
/trunk/config/kernel/linux_headers_install.in | 64 27 37 0 ++--
/trunk/config/kernel.in | 9 8 1 0 +
/trunk/config/toolchain.in | 1 1 0 0 +
/trunk/config/cc/gcc.in | 3 3 0 0 +
/trunk/config/debug/dmalloc.in | 1 1 0 0 +
/trunk/config/debug/gdb.in | 4 3 1 0 +
/trunk/config/debug/strace.in | 1 1 0 0 +
/trunk/config/debug/duma.in | 1 1 0 0 +
/trunk/config/cc.in | 8 8 0 0 +
/trunk/config/target.in | 13 13 0 0 +
/trunk/config/binutils.in | 1 1 0 0 +
/trunk/config/gmp_mpfr.in | 1 1 0 0 +
/trunk/config/libc.in | 17 11 6 0 +
/trunk/arch/arm/functions | 3 1 2 0 -
22 files changed, 600 insertions(+), 652 deletions(-)
yann@1
     1
# Kernel options
yann@1
     2
yann@850
     3
yann@1
     4
yann@847
     5
config KERNEL
yann@847
     6
    string
yann@850
     7
    default "none"  if BARE_METAL
yann@847
     8
    default "linux" if KERNEL_LINUX
yann@847
     9
yann@850
    10
if ! BARE_METAL
yann@850
    11
yann@850
    12
menu "Kernel"
yann@850
    13
yann@1
    14
choice
yann@1
    15
    bool
yann@34
    16
    prompt "Target OS"
yann@1
    17
    default KERNEL_LINUX
yann@1
    18
yann@1
    19
config KERNEL_LINUX
yann@1
    20
    bool
yann@1
    21
    prompt "linux"
yann@1
    22
    help
yann@1
    23
      Build a toolchain targeting systems running Linux as a kernel.
yann@1
    24
yann@1
    25
endchoice
yann@1
    26
yann@1
    27
config KERNEL_VERSION
yann@1
    28
    string
yann@1
    29
yann@1
    30
if KERNEL_LINUX
yann@448
    31
source config/kernel/linux.in
yann@1
    32
endif
yann@1
    33
yann@1
    34
endmenu
yann@850
    35
yann@850
    36
endif # ! BARE_METAL