mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 05:17:54 +00:00
799672a641
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(-)
60 lines
1.0 KiB
Plaintext
60 lines
1.0 KiB
Plaintext
# D.U.M.A. - Detect Unintended Memory Access - Memory checker
|
|
|
|
menuconfig DUMA
|
|
bool
|
|
prompt "D.U.M.A."
|
|
default n
|
|
depends on ! BARE_METAL
|
|
help
|
|
D.U.M.A. - Detect Unintended Memory Access
|
|
A memory bound checker, with additional features.
|
|
Formerly known as Electric Fence.
|
|
|
|
if DUMA
|
|
|
|
config DUMA_A
|
|
bool
|
|
prompt "Build a static library"
|
|
default y
|
|
|
|
config DUMA_SO
|
|
bool
|
|
prompt "Build a shared library"
|
|
default y if SHARED_LIBS
|
|
default n if ! SHARED_LIBS
|
|
|
|
choice
|
|
bool
|
|
prompt "D.U.M.A. version"
|
|
|
|
config DUMA_V_2_5_1
|
|
bool
|
|
prompt "2_5_1"
|
|
|
|
config DUMA_V_2_5_8
|
|
bool
|
|
prompt "2_5_8"
|
|
|
|
config DUMA_V_2_5_12
|
|
bool
|
|
prompt "2_5_12"
|
|
|
|
config DUMA_V_2_5_14
|
|
bool
|
|
prompt "2_5_14"
|
|
|
|
# CT_INSERT_VERSION_ABOVE
|
|
# Don't remove above line!
|
|
endchoice
|
|
|
|
config DUMA_VERSION
|
|
string
|
|
default "2_5_1" if DUMA_V_2_5_1
|
|
default "2_5_8" if DUMA_V_2_5_8
|
|
default "2_5_12" if DUMA_V_2_5_12
|
|
default "2_5_14" if DUMA_V_2_5_14
|
|
# CT_INSERT_VERSION_STRING_ABOVE
|
|
# Don't remove above line!
|
|
|
|
endif
|