mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 21:07:54 +00:00
799672a641
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(-)
103 lines
2.0 KiB
Plaintext
103 lines
2.0 KiB
Plaintext
# binutils options
|
|
|
|
menu "binutils"
|
|
|
|
config BINUTILS_VERSION
|
|
string
|
|
|
|
choice
|
|
bool
|
|
prompt "binutils version"
|
|
|
|
config BINUTILS_V_2_14
|
|
bool
|
|
prompt "2.14 (OBSOLETE)"
|
|
depends on OBSOLETE
|
|
|
|
config BINUTILS_V_2_15
|
|
bool
|
|
prompt "2.15 (OBSOLETE)"
|
|
depends on OBSOLETE
|
|
|
|
config BINUTILS_V_2_16_1
|
|
bool
|
|
prompt "2.16.1"
|
|
|
|
config BINUTILS_V_2_17
|
|
bool
|
|
prompt "2.17"
|
|
|
|
config BINUTILS_V_2_18
|
|
bool
|
|
prompt "2.18"
|
|
|
|
config BINUTILS_V_2_18_50_0_4
|
|
bool
|
|
prompt "2.18.50.0.4 (EXPERIMENTAL)"
|
|
depends on EXPERIMENTAL
|
|
|
|
config BINUTILS_V_2_18_50_0_6
|
|
bool
|
|
prompt "2.18.50.0.6 (EXPERIMENTAL)"
|
|
depends on EXPERIMENTAL
|
|
|
|
config BINUTILS_V_2_18_50_0_7
|
|
bool
|
|
prompt "2.18.50.0.7 (EXPERIMENTAL)"
|
|
depends on EXPERIMENTAL
|
|
|
|
config BINUTILS_V_2_18_50_0_8
|
|
bool
|
|
prompt "2.18.50.0.8 (EXPERIMENTAL)"
|
|
depends on EXPERIMENTAL
|
|
|
|
# CT_INSERT_VERSION_ABOVE
|
|
# Don't remove above line!
|
|
endchoice
|
|
|
|
config BINUTILS_VERSION
|
|
string
|
|
default "2.14" if BINUTILS_V_2_14
|
|
default "2.15" if BINUTILS_V_2_15
|
|
default "2.16.1" if BINUTILS_V_2_16_1
|
|
default "2.17" if BINUTILS_V_2_17
|
|
default "2.18" if BINUTILS_V_2_18
|
|
default "2.18.50.0.4" if BINUTILS_V_2_18_50_0_4
|
|
default "2.18.50.0.6" if BINUTILS_V_2_18_50_0_6
|
|
default "2.18.50.0.7" if BINUTILS_V_2_18_50_0_7
|
|
default "2.18.50.0.8" if BINUTILS_V_2_18_50_0_8
|
|
# CT_INSERT_VERSION_STRING_ABOVE
|
|
# Don't remove above line!
|
|
|
|
config BINUTILS_EXTRA_CONFIG
|
|
string
|
|
prompt "binutils extra config"
|
|
default ""
|
|
help
|
|
Extra flags passed onto ./configure when configuring
|
|
|
|
config BINUTILS_FOR_TARGET
|
|
bool
|
|
prompt "binutils libraries for the target"
|
|
depends on ! BARE_METAL
|
|
default n
|
|
help
|
|
Some utilities may need binutils libraries to be available on
|
|
the target, eg. oprofile.
|
|
|
|
if BINUTILS_FOR_TARGET
|
|
|
|
config BINUTILS_FOR_TARGET_IBERTY
|
|
bool
|
|
prompt "libiberty"
|
|
default y
|
|
|
|
config BINUTILS_FOR_TARGET_BFD
|
|
bool
|
|
prompt "libbfd"
|
|
default y
|
|
|
|
endif # BINUTILS_FOR_TARGET
|
|
|
|
endmenu
|