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(-)
5 config BINUTILS_VERSION
10 prompt "binutils version"
12 config BINUTILS_V_2_14
14 prompt "2.14 (OBSOLETE)"
17 config BINUTILS_V_2_15
19 prompt "2.15 (OBSOLETE)"
22 config BINUTILS_V_2_16_1
26 config BINUTILS_V_2_17
30 config BINUTILS_V_2_18
34 config BINUTILS_V_2_18_50_0_4
36 prompt "2.18.50.0.4 (EXPERIMENTAL)"
37 depends on EXPERIMENTAL
39 config BINUTILS_V_2_18_50_0_6
41 prompt "2.18.50.0.6 (EXPERIMENTAL)"
42 depends on EXPERIMENTAL
44 config BINUTILS_V_2_18_50_0_7
46 prompt "2.18.50.0.7 (EXPERIMENTAL)"
47 depends on EXPERIMENTAL
49 config BINUTILS_V_2_18_50_0_8
51 prompt "2.18.50.0.8 (EXPERIMENTAL)"
52 depends on EXPERIMENTAL
54 # CT_INSERT_VERSION_ABOVE
55 # Don't remove above line!
58 config BINUTILS_VERSION
60 default "2.14" if BINUTILS_V_2_14
61 default "2.15" if BINUTILS_V_2_15
62 default "2.16.1" if BINUTILS_V_2_16_1
63 default "2.17" if BINUTILS_V_2_17
64 default "2.18" if BINUTILS_V_2_18
65 default "2.18.50.0.4" if BINUTILS_V_2_18_50_0_4
66 default "2.18.50.0.6" if BINUTILS_V_2_18_50_0_6
67 default "2.18.50.0.7" if BINUTILS_V_2_18_50_0_7
68 default "2.18.50.0.8" if BINUTILS_V_2_18_50_0_8
69 # CT_INSERT_VERSION_STRING_ABOVE
70 # Don't remove above line!
72 config BINUTILS_EXTRA_CONFIG
74 prompt "binutils extra config"
77 Extra flags passed onto ./configure when configuring
79 config BINUTILS_FOR_TARGET
81 prompt "binutils libraries for the target"
82 depends on ! BARE_METAL
85 Some utilities may need binutils libraries to be available on
86 the target, eg. oprofile.
88 if BINUTILS_FOR_TARGET
90 config BINUTILS_FOR_TARGET_IBERTY
95 config BINUTILS_FOR_TARGET_BFD
100 endif # BINUTILS_FOR_TARGET