config/global/extract.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
child 1510 0d601781661d
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@693
     1
# Options specific to extracting packages
yann@693
     2
yann@693
     3
comment "Extracting"
yann@693
     4
yann@693
     5
config FORCE_EXTRACT
yann@693
     6
    bool
yann@693
     7
    prompt "Force extractions"
yann@693
     8
    default n
yann@693
     9
    help
yann@693
    10
      Force extraction of already exctracted tarballs.
yann@693
    11
      
yann@693
    12
      Usefull if you suspect a previous extract did not complete (eg. broken
yann@693
    13
      tarball), or you added a new set of patches for this component.
yann@693
    14
yann@693
    15
config OVERIDE_CONFIG_GUESS_SUB
yann@693
    16
    bool
yann@693
    17
    prompt "Override config.{guess,sub}"
yann@693
    18
    default y
yann@693
    19
    help
yann@693
    20
      Override tools' versions of config.guess and config.sub with the ones
yann@693
    21
      from crosstool-NG. This means that all instances of config.guess and
yann@693
    22
      config.sub in gcc, binutils, glibc, etc... will be replaced.
yann@693
    23
yann@693
    24
      Most of the time, the versions of those scripts found in packages are old
yann@693
    25
      versions, thus lacking some target definitions. This is the case for
yann@693
    26
      uClibc-based tuples in old versions of gcc and gdb, for example.
yann@693
    27
yann@693
    28
      Also, doing so will guarantee that all components have the same tuples
yann@693
    29
      definitions for your target, and not diverging ones.
yann@693
    30
yann@693
    31
      You can update the ones provided with crosstool-NG by first running:
yann@693
    32
        ct-ng updatetools
yann@693
    33
      in the directory where you want to run crosstool-NG prior to the build.
yann@693
    34
yann@693
    35
config ONLY_EXTRACT
yann@693
    36
    bool
yann@693
    37
    prompt "Stop after extracting tarballs"
yann@693
    38
    default n
yann@693
    39
    help
yann@693
    40
      Exit after unpacking and patching tarballs.
yann@693
    41
      
yann@693
    42
      Usefull to look at the code before doing the build itself.