diff options
Diffstat (limited to 'samples')
32 files changed, 227 insertions, 18 deletions
diff --git a/samples/arm-cortex_a15-linux-gnueabi/crosstool.config b/samples/arm-cortex_a15-linux-gnueabihf/crosstool.config index b625116..b625116 100644 --- a/samples/arm-cortex_a15-linux-gnueabi/crosstool.config +++ b/samples/arm-cortex_a15-linux-gnueabihf/crosstool.config diff --git a/samples/arm-cortex_a15-linux-gnueabi/reported.by b/samples/arm-cortex_a15-linux-gnueabihf/reported.by index 3e05b5a..3e05b5a 100644 --- a/samples/arm-cortex_a15-linux-gnueabi/reported.by +++ b/samples/arm-cortex_a15-linux-gnueabihf/reported.by diff --git a/samples/arm-multilib-linux-uclibcgnueabi/crosstool.config b/samples/arm-multilib-linux-uclibcgnueabi/crosstool.config new file mode 100644 index 0000000..b9fcb42 --- /dev/null +++ b/samples/arm-multilib-linux-uclibcgnueabi/crosstool.config @@ -0,0 +1,18 @@ +CT_LOCAL_TARBALLS_DIR="${HOME}/src" +CT_SAVE_TARBALLS=y +CT_LOG_EXTRA=y +CT_ARCH_FLOAT_SW=y +CT_ARCH_arm=y +CT_MULTILIB=y +CT_TARGET_VENDOR="multilib" +CT_KERNEL_linux=y +CT_BINUTILS_LINKER_LD_GOLD=y +CT_BINUTILS_GOLD_THREADS=y +CT_BINUTILS_LD_WRAPPER=y +CT_BINUTILS_PLUGINS=y +CT_LIBC_uClibc=y +CT_THREADS_NONE=y +CT_CC_GCC_MULTILIB_LIST="aprofile" +CT_DEBUG_dmalloc=y +CT_DEBUG_ltrace=y +CT_DEBUG_strace=y diff --git a/samples/arm-multilib-linux-uclibcgnueabi/reported.by b/samples/arm-multilib-linux-uclibcgnueabi/reported.by new file mode 100644 index 0000000..b876cab --- /dev/null +++ b/samples/arm-multilib-linux-uclibcgnueabi/reported.by @@ -0,0 +1,3 @@ +reporter_name="Alexey Neyman" +reporter_url="" +reporter_comment="Multilib configuration for ARM/uClibc-ng." diff --git a/samples/i686-w64-mingw32,nios2-spico-elf/crosstool.config b/samples/i686-w64-mingw32,nios2-spico-elf/crosstool.config index c112aa0..70b5a03 100644 --- a/samples/i686-w64-mingw32,nios2-spico-elf/crosstool.config +++ b/samples/i686-w64-mingw32,nios2-spico-elf/crosstool.config @@ -13,5 +13,5 @@ CT_BINUTILS_V_2_25=y CT_CC_LANG_CXX=y CT_DEBUG_gdb=y CT_MPFR_V_3_1_2=y -CT_ISL_V_0_12_2=y +CT_ISL_V_0_14=y CT_MPC_V_1_0_2=y diff --git a/samples/mips64el-n64-linux-uclibc/crosstool.config b/samples/mips64el-multilib-linux-uclibc/crosstool.config index 2853ccb..bced5d1 100644 --- a/samples/mips64el-n64-linux-uclibc/crosstool.config +++ b/samples/mips64el-multilib-linux-uclibc/crosstool.config @@ -5,8 +5,8 @@ CT_ARCH_LE=y CT_ARCH_64=y CT_ARCH_FLOAT_SW=y CT_ARCH_mips=y -CT_ARCH_mips_n64=y -CT_TARGET_VENDOR="n64" +CT_MULTILIB=y +CT_TARGET_VENDOR="multilib" CT_KERNEL_linux=y CT_BINUTILS_PLUGINS=y CT_LIBC_uClibc=y diff --git a/samples/mips64el-multilib-linux-uclibc/reported.by b/samples/mips64el-multilib-linux-uclibc/reported.by new file mode 100644 index 0000000..023996f --- /dev/null +++ b/samples/mips64el-multilib-linux-uclibc/reported.by @@ -0,0 +1,3 @@ +reporter_name="Alexey Neyman" +reporter_url="" +reporter_comment="Multilib configuration for MIPS/uClibc-ng." diff --git a/samples/mips64el-n32-linux-uclibc/reported.by b/samples/mips64el-n32-linux-uclibc/reported.by deleted file mode 100644 index bdc66ad..0000000 --- a/samples/mips64el-n32-linux-uclibc/reported.by +++ /dev/null @@ -1,3 +0,0 @@ -reporter_name="Yann E. MORIN" -reporter_url="http://ymorin.is-a-geek.org/projects/crosstool" -reporter_comment="EXPERIMENTAL MIPS-64 n32 toolchain." diff --git a/samples/mips64el-n64-linux-uclibc/reported.by b/samples/mips64el-n64-linux-uclibc/reported.by deleted file mode 100644 index b8e8268..0000000 --- a/samples/mips64el-n64-linux-uclibc/reported.by +++ /dev/null @@ -1,3 +0,0 @@ -reporter_name="Yann E. MORIN" -reporter_url="http://ymorin.is-a-geek.org/projects/crosstool" -reporter_comment="EXPERIMENTAL MIPS-64 n64 toolchain." diff --git a/samples/mipsel-multilib-linux-gnu/crosstool.config b/samples/mipsel-multilib-linux-gnu/crosstool.config new file mode 100644 index 0000000..fa54b08 --- /dev/null +++ b/samples/mipsel-multilib-linux-gnu/crosstool.config @@ -0,0 +1,20 @@ +CT_LOCAL_TARBALLS_DIR="${HOME}/src" +CT_SAVE_TARBALLS=y +CT_LOG_EXTRA=y +CT_ARCH_LE=y +CT_ARCH_FLOAT_SW=y +CT_ARCH_mips=y +CT_MULTILIB=y +CT_TARGET_VENDOR="multilib" +CT_KERNEL_linux=y +CT_BINUTILS_PLUGINS=y +CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="--enable-targets=all" +CT_CC_GCC_EXTRA_CONFIG_ARRAY="--enable-targets=all" +CT_CC_GCC_mips_plt=y +CT_CC_LANG_CXX=y +CT_DEBUG_dmalloc=y +CT_DEBUG_duma=y +CT_DEBUG_gdb=y +# CT_GDB_CROSS_PYTHON is not set +CT_GDB_NATIVE=y +CT_DEBUG_strace=y diff --git a/samples/mipsel-multilib-linux-gnu/reported.by b/samples/mipsel-multilib-linux-gnu/reported.by new file mode 100644 index 0000000..a0eb574 --- /dev/null +++ b/samples/mipsel-multilib-linux-gnu/reported.by @@ -0,0 +1,3 @@ +reporter_name="Alexey Neyman" +reporter_url="" +reporter_comment="Multilib configuration for MIPS/glibc." diff --git a/samples/powerpc64-multilib-linux-gnu/crosstool.config b/samples/powerpc64-multilib-linux-gnu/crosstool.config new file mode 100644 index 0000000..71d2f78 --- /dev/null +++ b/samples/powerpc64-multilib-linux-gnu/crosstool.config @@ -0,0 +1,13 @@ +CT_LOCAL_TARBALLS_DIR="${HOME}/src" +CT_SAVE_TARBALLS=y +CT_LOG_EXTRA=y +CT_ARCH_64=y +CT_ARCH_powerpc=y +CT_MULTILIB=y +CT_TARGET_VENDOR="multilib" +CT_KERNEL_linux=y +CT_BINUTILS_PLUGINS=y +CT_CC_LANG_CXX=y +CT_DEBUG_gdb=y +# CT_GDB_CROSS_PYTHON is not set +CT_GDB_NATIVE=y diff --git a/samples/powerpc64-multilib-linux-gnu/reported.by b/samples/powerpc64-multilib-linux-gnu/reported.by new file mode 100644 index 0000000..b5909d6 --- /dev/null +++ b/samples/powerpc64-multilib-linux-gnu/reported.by @@ -0,0 +1,3 @@ +reporter_name="Alexey Neyman" +reporter_url="" +reporter_comment="Multilib configuration for PowerPC/glibc." diff --git a/samples/mips64el-n32-linux-uclibc/crosstool.config b/samples/powerpc64le-unknown-linux-gnu/crosstool.config index 0f61616..6c7771d 100644 --- a/samples/mips64el-n32-linux-uclibc/crosstool.config +++ b/samples/powerpc64le-unknown-linux-gnu/crosstool.config @@ -1,14 +1,13 @@ CT_LOCAL_TARBALLS_DIR="${HOME}/src" CT_SAVE_TARBALLS=y CT_LOG_EXTRA=y -CT_ARCH_LE=y CT_ARCH_64=y -CT_ARCH_FLOAT_SW=y -CT_ARCH_mips=y -CT_TARGET_VENDOR="n32" +CT_ARCH_powerpc=y CT_KERNEL_linux=y CT_BINUTILS_PLUGINS=y -CT_LIBC_uClibc=y -CT_LIBC_UCLIBC_WCHAR=y -CT_CC_GCC_mips_plt=y CT_CC_LANG_CXX=y +CT_DEBUG_gdb=y +# CT_GDB_CROSS_PYTHON is not set +CT_GDB_NATIVE=y +CT_ARCH_ENDIAN="little" +CT_ARCH_LE=y diff --git a/samples/powerpc64le-unknown-linux-gnu/reported.by b/samples/powerpc64le-unknown-linux-gnu/reported.by new file mode 100644 index 0000000..0bcecbb --- /dev/null +++ b/samples/powerpc64le-unknown-linux-gnu/reported.by @@ -0,0 +1,3 @@ +reporter_name="Vaibhav Jain" +reporter_url="https://github.com/vaibhav92/crosstool-ng" +reporter_comment="Based on power64-unknown-linux-gnu sample implemented by Yann E. MORIN" diff --git a/samples/s390x-ibm-linux-gnu/crosstool.config b/samples/s390x-ibm-linux-gnu/crosstool.config index c4b9ded..7e6bb40 100644 --- a/samples/s390x-ibm-linux-gnu/crosstool.config +++ b/samples/s390x-ibm-linux-gnu/crosstool.config @@ -1,6 +1,5 @@ CT_LOCAL_TARBALLS_DIR="${HOME}/src" CT_SAVE_TARBALLS=y -CT_PATCH_NONE=y CT_LOG_EXTRA=y CT_ARCH_64=y CT_ARCH_s390=y diff --git a/samples/samples.mk b/samples/samples.mk index 643e595..bf51135 100644 --- a/samples/samples.mk +++ b/samples/samples.mk @@ -186,6 +186,7 @@ $(CT_SAMPLES): config_files __comma = , prefix_dir = $(CT_PREFIX)/$(subst $(__comma),=,$(1)) host_triplet = $(if $(findstring $(__comma),$(1)),$(firstword $(subst $(__comma), ,$(1)))) +target_triplet = $(if $(findstring $(__comma),$(1)),$(word 2,$(subst $(__comma), ,$(1))),$(1)) # Create the rule to build a sample # $1: sample name (target tuple, or host/target tuples separated by a comma) @@ -212,7 +213,8 @@ define build_sample fi; \ printf '\r %-5s %s\n' $$status '$(1)'; \ mkdir -p .build-all/$$status/$(1); \ - bzip2 < build.log > .build-all/$$status/$(1)/build.log.bz2 + bzip2 < build.log > .build-all/$$status/$(1)/build.log.bz2; \ + [ "$$status" = PASS -a -z "$(CT_PRESERVE_PASSED_BUILDS)" ] && rm -rf .build/$(call target_triplet,$(1)) || : endef # ---------------------------------------------------------- diff --git a/samples/sh4-multilib-linux-gnu/crosstool.config b/samples/sh4-multilib-linux-gnu/crosstool.config new file mode 100644 index 0000000..cb2d3b7 --- /dev/null +++ b/samples/sh4-multilib-linux-gnu/crosstool.config @@ -0,0 +1,13 @@ +CT_LOCAL_TARBALLS_DIR="${HOME}/src" +CT_SAVE_TARBALLS=y +CT_LOG_EXTRA=y +CT_ARCH_sh=y +CT_ARCH_SH_SH4=y +CT_TARGET_VENDOR="multilib" +CT_KERNEL_linux=y +CT_BINUTILS_PLUGINS=y +CT_CC_GCC_V_4_9_3=y +CT_CC_GCC_MULTILIB_LIST="m4,m4a" +CT_CC_LANG_CXX=y +CT_DEBUG_gdb=y +# CT_GDB_CROSS_PYTHON is not set diff --git a/samples/sh4-multilib-linux-gnu/reported.by b/samples/sh4-multilib-linux-gnu/reported.by new file mode 100644 index 0000000..f03f2c5 --- /dev/null +++ b/samples/sh4-multilib-linux-gnu/reported.by @@ -0,0 +1,3 @@ +reporter_name="Alexey Neyman" +reporter_url="" +reporter_comment="Multilib configuration for SuperH/glibc." diff --git a/samples/sh4-multilib-linux-uclibc/crosstool.config b/samples/sh4-multilib-linux-uclibc/crosstool.config new file mode 100644 index 0000000..e634521 --- /dev/null +++ b/samples/sh4-multilib-linux-uclibc/crosstool.config @@ -0,0 +1,14 @@ +CT_LOCAL_TARBALLS_DIR="${HOME}/src" +CT_SAVE_TARBALLS=y +CT_LOG_EXTRA=y +CT_ARCH_sh=y +CT_ARCH_SH_SH4=y +CT_TARGET_VENDOR="multilib" +CT_KERNEL_linux=y +CT_BINUTILS_PLUGINS=y +CT_LIBC_uClibc=y +CT_CC_GCC_V_4_9_3=y +CT_CC_GCC_MULTILIB_LIST="m4,m4a,m3" +CT_CC_LANG_CXX=y +CT_DEBUG_gdb=y +# CT_GDB_CROSS_PYTHON is not set diff --git a/samples/sh4-multilib-linux-uclibc/reported.by b/samples/sh4-multilib-linux-uclibc/reported.by new file mode 100644 index 0000000..2d3a629 --- /dev/null +++ b/samples/sh4-multilib-linux-uclibc/reported.by @@ -0,0 +1,3 @@ +reporter_name="Alexey Neyman" +reporter_url="" +reporter_comment="Multilib configuration for SuperH/uClibc." diff --git a/samples/sparc-leon-linux-uclibc/crosstool.config b/samples/sparc-leon-linux-uclibc/crosstool.config new file mode 100644 index 0000000..4afde66 --- /dev/null +++ b/samples/sparc-leon-linux-uclibc/crosstool.config @@ -0,0 +1,17 @@ +CT_LOCAL_TARBALLS_DIR="${HOME}/src" +CT_SAVE_TARBALLS=y +CT_LOG_EXTRA=y +CT_ARCH_CPU="leon" +CT_ARCH_TUNE="leon" +CT_ARCH_FLOAT_SW=y +CT_ARCH_sparc=y +CT_TARGET_VENDOR="leon" +CT_KERNEL_linux=y +CT_KERNEL_V_3_10=y +CT_LIBC_uClibc=y +CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config" +CT_LIBC_UCLIBC_IPV6=y +CT_LIBC_UCLIBC_WCHAR=y +CT_CC_GCC_V_4_9_3=y +CT_CC_GCC_EXTRA_CONFIG_ARRAY="--disable-libitm" +CT_CC_LANG_CXX=y diff --git a/samples/sparc-leon-linux-uclibc/reported.by b/samples/sparc-leon-linux-uclibc/reported.by new file mode 100644 index 0000000..edba82e --- /dev/null +++ b/samples/sparc-leon-linux-uclibc/reported.by @@ -0,0 +1,3 @@ +reporter_name="Kirill K. Smirnov" +reporter_url="" +reporter_comment="For sparc/leon without FPU" diff --git a/samples/sparc-leon-linux-uclibc/uClibc-1.0.12.config b/samples/sparc-leon-linux-uclibc/uClibc-1.0.12.config new file mode 100644 index 0000000..abcfe40 --- /dev/null +++ b/samples/sparc-leon-linux-uclibc/uClibc-1.0.12.config @@ -0,0 +1,20 @@ +TARGET_sparc=y +# UCLIBC_HAS_FPU is not set +DO_C99_MATH=y +UCLIBC_HAS_THREADS_NATIVE=y +UCLIBC_SUSV3_LEGACY=y +UCLIBC_SUSV4_LEGACY=y +# UNIX98PTY_ONLY is not set +UCLIBC_HAS_LIBUTIL=y +UCLIBC_HAS_SHA256_CRYPT_IMPL=y +UCLIBC_HAS_SHA512_CRYPT_IMPL=y +UCLIBC_HAS_IPV6=y +UCLIBC_HAS_RPC=y +UCLIBC_HAS_FULL_RPC=y +UCLIBC_HAS_REENTRANT_RPC=y +UCLIBC_USE_NETLINK=y +UCLIBC_HAS_RESOLVER_SUPPORT=y +UCLIBC_HAS_LIBRESOLV_STUB=y +UCLIBC_HAS_WCHAR=y +UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y +UCLIBC_HAS_PRINTF_M_SPEC=y diff --git a/samples/sparc64-multilib-linux-gnu/crosstool.config b/samples/sparc64-multilib-linux-gnu/crosstool.config new file mode 100644 index 0000000..c9b89cf --- /dev/null +++ b/samples/sparc64-multilib-linux-gnu/crosstool.config @@ -0,0 +1,8 @@ +CT_LOCAL_TARBALLS_DIR="${HOME}/src" +CT_SAVE_TARBALLS=y +CT_LOG_EXTRA=y +CT_ARCH_64=y +CT_ARCH_sparc=y +CT_MULTILIB=y +CT_TARGET_VENDOR="multilib" +CT_KERNEL_linux=y diff --git a/samples/sparc64-multilib-linux-gnu/reported.by b/samples/sparc64-multilib-linux-gnu/reported.by new file mode 100644 index 0000000..8ef2217 --- /dev/null +++ b/samples/sparc64-multilib-linux-gnu/reported.by @@ -0,0 +1,3 @@ +reporter_name="Alexey Neyman" +reporter_url="" +reporter_comment="Multilib configuration for SPARC/glibc." diff --git a/samples/x86_64-multilib-linux-gnu/crosstool.config b/samples/x86_64-multilib-linux-gnu/crosstool.config new file mode 100644 index 0000000..b6663e8 --- /dev/null +++ b/samples/x86_64-multilib-linux-gnu/crosstool.config @@ -0,0 +1,17 @@ +CT_LOCAL_TARBALLS_DIR="${HOME}/src" +CT_SAVE_TARBALLS=y +CT_LOG_EXTRA=y +CT_ARCH_64=y +CT_ARCH_x86=y +CT_MULTILIB=y +CT_TARGET_VENDOR="multilib" +CT_KERNEL_linux=y +CT_BINUTILS_LINKER_LD_GOLD=y +CT_BINUTILS_GOLD_THREADS=y +CT_BINUTILS_LD_WRAPPER=y +CT_BINUTILS_PLUGINS=y +CT_LIBC_GLIBC_KERNEL_VERSION_NONE=y +CT_CC_GCC_MULTILIB_LIST="m64,m32,mx32" +CT_CC_GCC_LNK_HASH_STYLE_BOTH=y +CT_CC_LANG_CXX=y +CT_DEBUG_gdb=y diff --git a/samples/x86_64-multilib-linux-gnu/reported.by b/samples/x86_64-multilib-linux-gnu/reported.by new file mode 100644 index 0000000..f7441e0 --- /dev/null +++ b/samples/x86_64-multilib-linux-gnu/reported.by @@ -0,0 +1,3 @@ +reporter_name="Alexey Neyman" +reporter_url="" +reporter_comment="Multilib configuration for x86/glibc." diff --git a/samples/x86_64-multilib-linux-musl/crosstool.config b/samples/x86_64-multilib-linux-musl/crosstool.config new file mode 100644 index 0000000..c16bd4a --- /dev/null +++ b/samples/x86_64-multilib-linux-musl/crosstool.config @@ -0,0 +1,19 @@ +CT_EXPERIMENTAL=y +CT_LOCAL_TARBALLS_DIR="${HOME}/src" +CT_SAVE_TARBALLS=y +CT_LOG_EXTRA=y +CT_ARCH_64=y +CT_ARCH_x86=y +CT_MULTILIB=y +CT_TARGET_VENDOR="multilib" +CT_KERNEL_linux=y +# CT_KERNEL_LINUX_INSTALL_CHECK is not set +CT_BINUTILS_LINKER_LD_GOLD=y +CT_BINUTILS_GOLD_THREADS=y +CT_BINUTILS_LD_WRAPPER=y +CT_BINUTILS_PLUGINS=y +CT_LIBC_musl=y +CT_CC_LANG_CXX=y +CT_DEBUG_dmalloc=y +CT_DEBUG_duma=y +CT_DEBUG_gdb=y diff --git a/samples/x86_64-multilib-linux-musl/reported.by b/samples/x86_64-multilib-linux-musl/reported.by new file mode 100644 index 0000000..0773337 --- /dev/null +++ b/samples/x86_64-multilib-linux-musl/reported.by @@ -0,0 +1,3 @@ +reporter_name="Alexey Neyman" +reporter_url="" +reporter_comment="Multilib configuration for x86/musl." diff --git a/samples/x86_64-multilib-linux-uclibc/crosstool.config b/samples/x86_64-multilib-linux-uclibc/crosstool.config new file mode 100644 index 0000000..f28915a --- /dev/null +++ b/samples/x86_64-multilib-linux-uclibc/crosstool.config @@ -0,0 +1,20 @@ +CT_LOCAL_TARBALLS_DIR="${HOME}/src" +CT_SAVE_TARBALLS=y +CT_LOG_EXTRA=y +CT_ARCH_64=y +CT_ARCH_x86=y +CT_MULTILIB=y +CT_TARGET_VENDOR="multilib" +CT_KERNEL_linux=y +# CT_KERNEL_LINUX_INSTALL_CHECK is not set +CT_BINUTILS_LINKER_LD_GOLD=y +CT_BINUTILS_GOLD_THREADS=y +CT_BINUTILS_LD_WRAPPER=y +CT_BINUTILS_PLUGINS=y +CT_LIBC_uClibc=y +CT_LIBC_UCLIBC_WCHAR=y +CT_CC_LANG_CXX=y +CT_DEBUG_dmalloc=y +CT_DEBUG_duma=y +CT_DEBUG_gdb=y +CT_GDB_NATIVE=y diff --git a/samples/x86_64-multilib-linux-uclibc/reported.by b/samples/x86_64-multilib-linux-uclibc/reported.by new file mode 100644 index 0000000..8c22764 --- /dev/null +++ b/samples/x86_64-multilib-linux-uclibc/reported.by @@ -0,0 +1,3 @@ +reporter_name="Alexey Neyman" +reporter_url="" +reporter_comment="Multilib configuration for x86/uClibc-ng." |