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 prompt "Get kernel headers from:"
7 config KERNEL_LINUX_HEADERS_INSTALL
9 prompt "kernel's 'headers_install'"
11 This will make use of the new headers_install rule in recent kernels.
12 This is most probably what you want to use.
14 config KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR
16 prompt "Use custom directory"
18 If you have some kernel headers lying around, you can enter the path
23 config KERNEL_VERSION_SEE_EXTRAVERSION
25 prompt "See extra versions"
27 depends on KERNEL_LINUX_HEADERS_COPY || KERNEL_LINUX_HEADERS_INSTALL
29 See extra versions (kernel with 4 numbers, eg 2.6.19.1).
31 If you say 'no', you'll only see sub-level, 3-digit versions.
32 If you say 'yes', you'll see far more versions!
34 It is recommended that you say 'no', unless you _*know*_
35 that an extra version fixes a headers bug.
37 if KERNEL_LINUX_HEADERS_INSTALL
38 source config/kernel/linux_headers_install.in
41 config KERNEL_LINUX_HEADERS_CUSTOM_DIR
43 prompt "Where are those custom headers?"
44 depends on KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR
46 Enter the base directory where the headers are to be found.
48 Eg. if the headers are in /some/place/include, then enter /some/place.
49 This is the same path you entered when you typed:
50 make INSTALL_HDR_PATH=/some/place headers_install
52 if ! KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR
56 prompt "Kernel verbosity:"
57 default KERNEL_LINUX_VERBOSITY_0
59 config KERNEL_LINUX_VERBOSITY_0
63 Print simplified command lines.
65 config KERNEL_LINUX_VERBOSITY_1
67 prompt "Full commands"
69 Print full command lines.
71 config KERNEL_LINUX_VERBOSITY_2
75 Print the reasons why a make target is rebuild.
79 config KERNEL_LINUX_VERBOSE_LEVEL
81 default 0 if KERNEL_LINUX_VERBOSITY_0
82 default 1 if KERNEL_LINUX_VERBOSITY_1
83 default 2 if KERNEL_LINUX_VERBOSITY_2