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(-)
9 prompt "'latest' snapshot (EXPERIMENTAL)"
10 depends on EXPERIMENTAL
14 prompt "<specific date> (EXPERIMENTAL)"
15 depends on EXPERIMENTAL
19 prompt "2.3.6 (OBSOLETE)"
42 # CT_INSERT_VERSION_ABOVE
43 # Don't remove above line!
48 prompt "Enter date (YYYYMMDD)" if LIBC_V_date
49 default "latest" if LIBC_V_LATEST
50 default "2.3.6" if LIBC_V_2_3_6
51 default "2.4" if LIBC_V_2_4
52 default "2.5" if LIBC_V_2_5
53 default "2.5.1" if LIBC_V_2_5_1
54 default "2.6" if LIBC_V_2_6
55 default "2.6.1" if LIBC_V_2_6_1
56 default "2.7" if LIBC_V_2_7
57 # CT_INSERT_VERSION_STRING_ABOVE
58 # Don't remove above line!
60 # Please note: This is not used for now (no sh support).
61 config LIBC_GLIBC_CONFIGPARMS
63 # prompt "Extra config params (READ HELP)"
64 default "" if ARCH != "sh3" && ARCH != "sh4"
65 default "no-z-defs=yes" if ARCH = "sh3" || ARCH = "sh4"
67 Some architectures need to set options in the file configparms.
68 This is the case for sh3/4, which really need to set configparms as of
71 Unless you are building a toolchain for sh3/4, you should leave that empty.
73 Note: this is awkward, doesn't work well if you need more than one
76 source config/libc/glibc-eglibc-common.in