config/debug/duma.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 572 944e145f3890
child 916 68af6b83ff7e
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@236
     1
# D.U.M.A. - Detect Unintended Memory Access - Memory checker
yann@236
     2
yann@236
     3
menuconfig DUMA
yann@236
     4
    bool
yann@236
     5
    prompt "D.U.M.A."
yann@236
     6
    default n
yann@850
     7
    depends on ! BARE_METAL
yann@236
     8
    help
yann@236
     9
      D.U.M.A. - Detect Unintended Memory Access
yann@236
    10
      A memory bound checker, with additional features.
yann@236
    11
      Formerly known as Electric Fence.
yann@236
    12
yann@236
    13
if DUMA
yann@236
    14
yann@236
    15
config DUMA_A
yann@236
    16
    bool
yann@236
    17
    prompt "Build a static library"
yann@236
    18
    default y
yann@236
    19
yann@236
    20
config DUMA_SO
yann@236
    21
    bool
yann@236
    22
    prompt "Build a shared library"
yann@236
    23
    default y if SHARED_LIBS
yann@236
    24
    default n if ! SHARED_LIBS
yann@236
    25
yann@236
    26
choice
yann@236
    27
    bool
yann@236
    28
    prompt "D.U.M.A. version"
yann@236
    29
yann@236
    30
config DUMA_V_2_5_1
yann@236
    31
    bool
yann@236
    32
    prompt "2_5_1"
yann@236
    33
yann@369
    34
config DUMA_V_2_5_8
yann@279
    35
    bool
yann@369
    36
    prompt "2_5_8"
yann@279
    37
yann@430
    38
config DUMA_V_2_5_12
yann@430
    39
    bool
yann@430
    40
    prompt "2_5_12"
yann@430
    41
yann@572
    42
config DUMA_V_2_5_14
yann@572
    43
    bool
yann@572
    44
    prompt "2_5_14"
yann@572
    45
yann@236
    46
# CT_INSERT_VERSION_ABOVE
yann@236
    47
# Don't remove above line!
yann@236
    48
endchoice
yann@236
    49
yann@236
    50
config DUMA_VERSION
yann@236
    51
    string
yann@236
    52
    default "2_5_1" if DUMA_V_2_5_1
yann@369
    53
    default "2_5_8" if DUMA_V_2_5_8
yann@430
    54
    default "2_5_12" if DUMA_V_2_5_12
yann@572
    55
    default "2_5_14" if DUMA_V_2_5_14
yann@236
    56
# CT_INSERT_VERSION_STRING_ABOVE
yann@236
    57
# Don't remove above line!
yann@236
    58
yann@236
    59
endif