config/global/ct-behave.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 446 d205527c5e01
child 914 0b164a321177
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@445
     1
# Options specific to crosstool-NG overall behavior
yann@1
     2
yann@197
     3
comment "crosstool-NG behavior"
yann@121
     4
yann@244
     5
config OBSOLETE
yann@244
     6
    bool
yann@244
     7
    prompt "Use obsolete features"
yann@244
     8
    default n
yann@244
     9
    help
yann@244
    10
      If you set this to Y, you will be able to select obsolete features.
yann@445
    11
yann@244
    12
      Such obsolete features are the use of old kernel headers, old
yann@244
    13
      gcc versions, etc...
yann@244
    14
yann@41
    15
config EXPERIMENTAL
yann@41
    16
    bool
yann@41
    17
    prompt "Try features marked as EXPERIMENTAL"
yann@41
    18
    default n
yann@41
    19
    help
yann@41
    20
      If you set this to Y, then you will be able to try very experimental
yann@41
    21
      features.
yann@445
    22
yann@41
    23
      Experimental features can be one of:
yann@41
    24
        - working, in which case you should tell me it is!
yann@41
    25
        - buggy, in which case you could try patching and send me the result
yann@41
    26
        - unfinished, in which case you could try hacking it and send me the result
yann@384
    27
        - non-existant, in which case you could also try hacking it in and send me
yann@384
    28
          the result
yann@41
    29
yann@244
    30
config BROKEN
yann@61
    31
    bool
yann@244
    32
    prompt "Try broken stuff"
yann@61
    33
    default n
yann@244
    34
    depends on EXPERIMENTAL
yann@61
    35
    help
yann@244
    36
      Select this if you want to _debug_ broken stuff.
yann@61
    37
yann@121
    38
config DEBUG_CT
yann@121
    39
    bool
yann@121
    40
    prompt "Debug crosstool-NG"
yann@121
    41
    default n
yann@121
    42
    help
yann@121
    43
      Say 'y' here to get some debugging options
yann@121
    44
yann@121
    45
if DEBUG_CT
yann@121
    46
yann@725
    47
config DEBUG_PAUSE_STEPS
yann@121
    48
    bool
yann@121
    49
    prompt "Pause between every steps"
yann@121
    50
    default n
yann@121
    51
    help
yann@121
    52
      Say 'y' if you intend to attend the build, and want to investigate
yann@121
    53
      the result of each steps before running the next one.
yann@121
    54
yann@121
    55
config DEBUG_CT_SAVE_STEPS
yann@121
    56
    bool
yann@121
    57
    prompt "Save intermediate steps"
yann@121
    58
    default n
yann@121
    59
    help
yann@121
    60
      If you say 'y' here, then you will be able to restart crosstool-NG at
yann@168
    61
      any step.
yann@445
    62
yann@445
    63
      It is not currently possible to restart at any of the debug facility.
yann@168
    64
      They are treated as a whole.
yann@168
    65
yann@168
    66
      See docs/overview.txt for the list of steps.
yann@121
    67
yann@121
    68
config DEBUG_CT_SAVE_STEPS_GZIP
yann@121
    69
    bool
yann@121
    70
    prompt "gzip saved states"
yann@121
    71
    default y
yann@121
    72
    depends on DEBUG_CT_SAVE_STEPS
yann@121
    73
    help
yann@121
    74
      If you are tight on space, then you can ask to gzip the saved states
yann@121
    75
      tarballs. On the other hand, this takes some longer time...
yann@445
    76
yann@121
    77
      To lose as less time as possible, the gzip process is done with a low
yann@121
    78
      compression ratio (-3), which gives roughly 70% gain in size. Going
yann@121
    79
      further doesn't gain much, and takes far more time (believe me, I've
yann@121
    80
      got figures here! :-) ).
yann@121
    81
yann@121
    82
endif