From 799672a6414c7056d24213041bb3f0a12e9a9a66 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 14 Sep 2008 16:21:07 +0000 Subject: 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(-) --- config/debug/dmalloc.in | 1 + config/debug/duma.in | 1 + config/debug/gdb.in | 4 +++- config/debug/strace.in | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) (limited to 'config/debug') diff --git a/config/debug/dmalloc.in b/config/debug/dmalloc.in index 8a53c71a..692c2292 100644 --- a/config/debug/dmalloc.in +++ b/config/debug/dmalloc.in @@ -4,6 +4,7 @@ menuconfig DMALLOC bool prompt "dmalloc" default n + depends on ! BARE_METAL if DMALLOC diff --git a/config/debug/duma.in b/config/debug/duma.in index 16f3d2a3..5de4e7c0 100644 --- a/config/debug/duma.in +++ b/config/debug/duma.in @@ -4,6 +4,7 @@ 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. diff --git a/config/debug/gdb.in b/config/debug/gdb.in index 43239ac2..b65a71b2 100644 --- a/config/debug/gdb.in +++ b/config/debug/gdb.in @@ -13,7 +13,7 @@ config GDB_CROSS bool prompt "Cross-gdb" default y - select GDB_GDBSERVER + select GDB_GDBSERVER if ! BARE_METAL help Build and install a cross-gdb for the target, to run on host. @@ -45,6 +45,7 @@ config GDB_NATIVE bool prompt "Native gdb" default n + depends on ! BARE_METAL help Build and install a native gdb for the target, to run on the target. @@ -78,6 +79,7 @@ config GDB_GDBSERVER bool prompt "gdbserver" default n + depends on ! BARE_METAL help Build and install a gdbserver for the target, to run on the target. diff --git a/config/debug/strace.in b/config/debug/strace.in index 234556ae..055bb222 100644 --- a/config/debug/strace.in +++ b/config/debug/strace.in @@ -4,6 +4,7 @@ menuconfig STRACE bool prompt "strace" default n + depends on ! BARE_METAL if STRACE -- cgit v1.2.3