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(-)
2 # Automatically generated make config: don't edit
3 # crosstool-NG version: 1.2.0+svn_trunk@1001M
4 # Thu Sep 11 00:53:13 2008
8 # Paths and misc options
12 # crosstool-NG behavior
14 # CT_OBSOLETE is not set
16 # CT_BROKEN is not set
17 # CT_DEBUG_CT is not set
22 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
24 CT_WORK_DIR="${CT_TOP_DIR}/targets"
25 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
26 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
27 # CT_CUSTOM_PATCH is not set
34 # CT_FORCE_DOWNLOAD is not set
35 # CT_USE_PROXY is not set
37 # CT_USE_LAN_MIRROR is not set
39 # CT_ONLY_DOWNLOAD is not set
44 # CT_FORCE_EXTRACT is not set
45 CT_OVERIDE_CONFIG_GUESS_SUB=y
46 # CT_ONLY_EXTRACT is not set
60 # CT_LOG_ERROR is not set
61 # CT_LOG_WARN is not set
62 # CT_LOG_INFO is not set
64 # CT_LOG_DEBUG is not set
65 # CT_LOG_ALL is not set
66 CT_LOG_LEVEL_MAX="EXTRA"
67 # CT_LOG_SEE_TOOLS_WARN is not set
70 CT_LOG_FILE_COMPRESS=y
76 CT_ARCH_SUPPORT_ARCH=y
77 # CT_ARCH_SUPPORT_ABI is not set
79 CT_ARCH_SUPPORT_TUNE=y
81 CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
82 # CT_ARCH_DEFAULT_BE is not set
88 # CT_ARCH_BE is not set
91 # CT_ARCH_FLOAT_SW is not set
96 # General target options
99 # CT_ARCH_alpha is not set
102 # CT_ARCH_ia64 is not set
103 # CT_ARCH_mips is not set
104 # CT_ARCH_powerpc is not set
105 # CT_ARCH_sh is not set
106 # CT_ARCH_x86 is not set
107 # CT_ARCH_x86_64 is not set
110 # Target optimisations
118 # General toolchain options
121 CT_TARGET_VENDOR="unknown"
122 CT_TARGET_ALIAS_SED_EXPR=""
128 # CT_NATIVE is not set
130 # CT_CROSS_NATIVE is not set
131 # CT_CANADIAN is not set
132 CT_TOOLCHAIN_TYPE="cross"
142 CT_GMP_VERSION="4.2.2"
145 CT_MPFR_VERSION="2.3.1"
151 CT_BINUTILS_VERSION="2.18"
152 # CT_BINUTILS_V_2_14 is not set
153 # CT_BINUTILS_V_2_15 is not set
154 # CT_BINUTILS_V_2_16_1 is not set
155 # CT_BINUTILS_V_2_17 is not set
157 # CT_BINUTILS_V_2_18_50_0_4 is not set
158 # CT_BINUTILS_V_2_18_50_0_6 is not set
159 # CT_BINUTILS_V_2_18_50_0_7 is not set
160 # CT_BINUTILS_V_2_18_50_0_8 is not set
161 CT_BINUTILS_EXTRA_CONFIG=""
167 CT_CC_VERSION="4.3.1"
169 # CT_CC_V_2_95_3 is not set
170 # CT_CC_V_3_2_3 is not set
171 # CT_CC_V_3_3_6 is not set
172 # CT_CC_V_3_4_6 is not set
173 # CT_CC_V_4_0_0 is not set
174 # CT_CC_V_4_0_1 is not set
175 # CT_CC_V_4_0_2 is not set
176 # CT_CC_V_4_0_3 is not set
177 # CT_CC_V_4_0_4 is not set
178 # CT_CC_V_4_1_0 is not set
179 # CT_CC_V_4_1_1 is not set
180 # CT_CC_V_4_1_2 is not set
181 # CT_CC_V_4_2_0 is not set
182 # CT_CC_V_4_2_1 is not set
183 # CT_CC_V_4_2_2 is not set
184 # CT_CC_V_4_2_3 is not set
185 # CT_CC_V_4_2_4 is not set
186 # CT_CC_V_4_3_0 is not set
188 CT_CC_GCC_4_3_or_later=y
189 CT_CC_CORE_EXTRA_CONFIG=""
190 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
193 CT_CC_SUPPORT_FORTRAN=y
197 CT_CC_SUPPORT_OBJCXX=y
200 # Only C language supported on bare metal
207 # CT_SSTRIP is not set
214 # CT_GDB_CROSS_STATIC is not set
215 # CT_GDB_CROSS_INSIGHT is not set
216 # CT_GDB_V_snapshot is not set
217 # CT_GDB_V_6_4 is not set
218 # CT_GDB_V_6_5 is not set
219 # CT_GDB_V_6_6 is not set
220 # CT_GDB_V_6_7 is not set
221 # CT_GDB_V_6_7_1 is not set