From e30e3708001f5f5bd4504f3b0121b08c5af84a46 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Sat, 9 Apr 2016 00:46:07 -0700 Subject: Create multilib configurations based on certain *-linux-* samples. Based on the following samples: - x86_64-unknown-linux-gnu (-m64/-m32/-mx32) - powerpc64-unknown-linux-gnu (-m64/-m32) - mipsel-unknown-linux-gnu (-mabi={32,n32,64}) - sh4-unknown-linux-gnu (-m4/-m4a) - x86_64-unknown-linux-uclibc (-m64/-m32) - mips64el-unknown-linux-uclibc (-mabi={32,n32,64}) New samples: - sparc64-multilib-linux-gnu (-m64/-m32) - sh4-multilib-linux-uclibc (-m4/-m4a/-m3) - x86_64-multilib-linux-musl (-m64/-m32) Notably missing is arm-unknown-linux-gnu (aprofile): GLIBC does not compile in one of the variants in its multilib set (-march=armv4t -mthumb) due to missing atomic ops implementation. Signed-off-by: Alexey Neyman --- .../mips64el-multilib-linux-uclibc/crosstool.config | 15 +++++++++++++++ samples/mips64el-multilib-linux-uclibc/reported.by | 3 +++ samples/mipsel-multilib-linux-gnu/crosstool.config | 20 ++++++++++++++++++++ samples/mipsel-multilib-linux-gnu/reported.by | 3 +++ .../powerpc64-multilib-linux-gnu/crosstool.config | 13 +++++++++++++ samples/powerpc64-multilib-linux-gnu/reported.by | 3 +++ samples/sh4-multilib-linux-gnu/crosstool.config | 13 +++++++++++++ samples/sh4-multilib-linux-gnu/reported.by | 3 +++ samples/sh4-multilib-linux-uclibc/crosstool.config | 14 ++++++++++++++ samples/sh4-multilib-linux-uclibc/reported.by | 3 +++ samples/sparc64-multilib-linux-gnu/crosstool.config | 8 ++++++++ samples/sparc64-multilib-linux-gnu/reported.by | 3 +++ samples/x86_64-multilib-linux-gnu/crosstool.config | 17 +++++++++++++++++ samples/x86_64-multilib-linux-gnu/reported.by | 3 +++ samples/x86_64-multilib-linux-musl/crosstool.config | 19 +++++++++++++++++++ samples/x86_64-multilib-linux-musl/reported.by | 3 +++ .../x86_64-multilib-linux-uclibc/crosstool.config | 20 ++++++++++++++++++++ samples/x86_64-multilib-linux-uclibc/reported.by | 3 +++ 18 files changed, 166 insertions(+) create mode 100644 samples/mips64el-multilib-linux-uclibc/crosstool.config create mode 100644 samples/mips64el-multilib-linux-uclibc/reported.by create mode 100644 samples/mipsel-multilib-linux-gnu/crosstool.config create mode 100644 samples/mipsel-multilib-linux-gnu/reported.by create mode 100644 samples/powerpc64-multilib-linux-gnu/crosstool.config create mode 100644 samples/powerpc64-multilib-linux-gnu/reported.by create mode 100644 samples/sh4-multilib-linux-gnu/crosstool.config create mode 100644 samples/sh4-multilib-linux-gnu/reported.by create mode 100644 samples/sh4-multilib-linux-uclibc/crosstool.config create mode 100644 samples/sh4-multilib-linux-uclibc/reported.by create mode 100644 samples/sparc64-multilib-linux-gnu/crosstool.config create mode 100644 samples/sparc64-multilib-linux-gnu/reported.by create mode 100644 samples/x86_64-multilib-linux-gnu/crosstool.config create mode 100644 samples/x86_64-multilib-linux-gnu/reported.by create mode 100644 samples/x86_64-multilib-linux-musl/crosstool.config create mode 100644 samples/x86_64-multilib-linux-musl/reported.by create mode 100644 samples/x86_64-multilib-linux-uclibc/crosstool.config create mode 100644 samples/x86_64-multilib-linux-uclibc/reported.by (limited to 'samples') diff --git a/samples/mips64el-multilib-linux-uclibc/crosstool.config b/samples/mips64el-multilib-linux-uclibc/crosstool.config new file mode 100644 index 00000000..bced5d1f --- /dev/null +++ b/samples/mips64el-multilib-linux-uclibc/crosstool.config @@ -0,0 +1,15 @@ +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_MULTILIB=y +CT_TARGET_VENDOR="multilib" +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 diff --git a/samples/mips64el-multilib-linux-uclibc/reported.by b/samples/mips64el-multilib-linux-uclibc/reported.by new file mode 100644 index 00000000..023996f2 --- /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/mipsel-multilib-linux-gnu/crosstool.config b/samples/mipsel-multilib-linux-gnu/crosstool.config new file mode 100644 index 00000000..fa54b087 --- /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 00000000..a0eb5747 --- /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 00000000..71d2f780 --- /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 00000000..b5909d68 --- /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/sh4-multilib-linux-gnu/crosstool.config b/samples/sh4-multilib-linux-gnu/crosstool.config new file mode 100644 index 00000000..cb2d3b75 --- /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 00000000..f03f2c56 --- /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 00000000..e6345219 --- /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 00000000..2d3a6295 --- /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/sparc64-multilib-linux-gnu/crosstool.config b/samples/sparc64-multilib-linux-gnu/crosstool.config new file mode 100644 index 00000000..c9b89cf2 --- /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 00000000..8ef22171 --- /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 00000000..b6663e82 --- /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 00000000..f7441e02 --- /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 00000000..c16bd4ab --- /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 00000000..07733373 --- /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 00000000..f28915a0 --- /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 00000000..8c227649 --- /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." -- cgit v1.2.3 From 667898fc44873427734472c043c48ea3f5c492c0 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Thu, 14 Apr 2016 23:13:07 -0700 Subject: mips64el-*-linux-uclibc: Remove. Now, both -mabi=n32 and -mabi=64 are available as multilibs. Signed-off-by: Alexey Neyman --- .travis.yml | 2 +- samples/mips64el-n32-linux-uclibc/crosstool.config | 14 -------------- samples/mips64el-n32-linux-uclibc/reported.by | 3 --- samples/mips64el-n64-linux-uclibc/crosstool.config | 15 --------------- samples/mips64el-n64-linux-uclibc/reported.by | 3 --- 5 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 samples/mips64el-n32-linux-uclibc/crosstool.config delete mode 100644 samples/mips64el-n32-linux-uclibc/reported.by delete mode 100644 samples/mips64el-n64-linux-uclibc/crosstool.config delete mode 100644 samples/mips64el-n64-linux-uclibc/reported.by (limited to 'samples') diff --git a/.travis.yml b/.travis.yml index c3512921..6f56629f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,7 +41,7 @@ env: - CT_SAMPLE=armeb-unknown-linux-gnueabi - CT_SAMPLE=arm-unknown-linux-musleabi - CT_SAMPLE=aarch64-unknown-linux-gnueabi - - CT_SAMPLE=mips64el-n64-linux-uclibc + - CT_SAMPLE=mips64el-multilib-linux-uclibc - CT_SAMPLE=powerpc-e500v2-linux-gnuspe - CT_SAMPLE=x86_64-unknown-linux-uclibc - CT_SAMPLE=xtensa-unknown-linux-uclibc diff --git a/samples/mips64el-n32-linux-uclibc/crosstool.config b/samples/mips64el-n32-linux-uclibc/crosstool.config deleted file mode 100644 index 0f61616e..00000000 --- a/samples/mips64el-n32-linux-uclibc/crosstool.config +++ /dev/null @@ -1,14 +0,0 @@ -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_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 diff --git a/samples/mips64el-n32-linux-uclibc/reported.by b/samples/mips64el-n32-linux-uclibc/reported.by deleted file mode 100644 index bdc66ad9..00000000 --- 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/crosstool.config b/samples/mips64el-n64-linux-uclibc/crosstool.config deleted file mode 100644 index 2853ccbc..00000000 --- a/samples/mips64el-n64-linux-uclibc/crosstool.config +++ /dev/null @@ -1,15 +0,0 @@ -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_ARCH_mips_n64=y -CT_TARGET_VENDOR="n64" -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 diff --git a/samples/mips64el-n64-linux-uclibc/reported.by b/samples/mips64el-n64-linux-uclibc/reported.by deleted file mode 100644 index b8e82682..00000000 --- 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." -- cgit v1.2.3 From 7d8f85e6af9c3567c93d1decf1d54b14abea8eb6 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Thu, 14 Apr 2016 23:20:50 -0700 Subject: arm-multilib-linux-uclibcgnueabi: Add. No threads (uclibc/libpthread does not compile on ARMv8); no C++ (libitm depends on pthreads), no GDB/DUMA (depend on threads). Signed-off-by: Alexey Neyman --- .../arm-multilib-linux-uclibcgnueabi/crosstool.config | 18 ++++++++++++++++++ samples/arm-multilib-linux-uclibcgnueabi/reported.by | 3 +++ 2 files changed, 21 insertions(+) create mode 100644 samples/arm-multilib-linux-uclibcgnueabi/crosstool.config create mode 100644 samples/arm-multilib-linux-uclibcgnueabi/reported.by (limited to 'samples') diff --git a/samples/arm-multilib-linux-uclibcgnueabi/crosstool.config b/samples/arm-multilib-linux-uclibcgnueabi/crosstool.config new file mode 100644 index 00000000..b9fcb42e --- /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 00000000..b876cab2 --- /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." -- cgit v1.2.3 From 017ff08d6107e3b8a3c0f777d6610bc11d8b1278 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Tue, 19 Apr 2016 23:16:23 -0700 Subject: build-all: Remove successful build trees. I am running out of space when running build-all for all samples. Signed-off-by: Alexey Neyman --- samples/samples.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'samples') diff --git a/samples/samples.mk b/samples/samples.mk index 643e595d..bf51135f 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 # ---------------------------------------------------------- -- cgit v1.2.3 From b7ef2697ca4ec3f5409420cb0ded852b77b84c5e Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Tue, 19 Apr 2016 23:17:36 -0700 Subject: Rename sample to match the 'saveconfig' location. arm-cortex_a15-linux-gnueabi was actually arm-cortex_a15-linux-gnueabihf. Signed-off-by: Alexey Neyman --- .../arm-cortex_a15-linux-gnueabi/crosstool.config | 22 ---------------------- samples/arm-cortex_a15-linux-gnueabi/reported.by | 3 --- .../crosstool.config | 22 ++++++++++++++++++++++ samples/arm-cortex_a15-linux-gnueabihf/reported.by | 3 +++ 4 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 samples/arm-cortex_a15-linux-gnueabi/crosstool.config delete mode 100644 samples/arm-cortex_a15-linux-gnueabi/reported.by create mode 100644 samples/arm-cortex_a15-linux-gnueabihf/crosstool.config create mode 100644 samples/arm-cortex_a15-linux-gnueabihf/reported.by (limited to 'samples') diff --git a/samples/arm-cortex_a15-linux-gnueabi/crosstool.config b/samples/arm-cortex_a15-linux-gnueabi/crosstool.config deleted file mode 100644 index b625116f..00000000 --- a/samples/arm-cortex_a15-linux-gnueabi/crosstool.config +++ /dev/null @@ -1,22 +0,0 @@ -CT_LOCAL_TARBALLS_DIR="${HOME}/src" -CT_SAVE_TARBALLS=y -CT_LOG_EXTRA=y -CT_ARCH_CPU="cortex-a15" -CT_ARCH_FPU="neon-vfpv4" -CT_ARCH_FLOAT_HW=y -CT_ARCH_arm=y -CT_TARGET_VENDOR="cortex_a15" -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_CC_GCC_SHOW_LINARO=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_GDB_NATIVE_STATIC=y -CT_DEBUG_strace=y diff --git a/samples/arm-cortex_a15-linux-gnueabi/reported.by b/samples/arm-cortex_a15-linux-gnueabi/reported.by deleted file mode 100644 index 3e05b5a3..00000000 --- a/samples/arm-cortex_a15-linux-gnueabi/reported.by +++ /dev/null @@ -1,3 +0,0 @@ -reporter_name="dsreed on freenode/#crosstool-ng" -reporter_url="" -reporter_comment="Enables experimental support for VFP/NEON hardware floating point." diff --git a/samples/arm-cortex_a15-linux-gnueabihf/crosstool.config b/samples/arm-cortex_a15-linux-gnueabihf/crosstool.config new file mode 100644 index 00000000..b625116f --- /dev/null +++ b/samples/arm-cortex_a15-linux-gnueabihf/crosstool.config @@ -0,0 +1,22 @@ +CT_LOCAL_TARBALLS_DIR="${HOME}/src" +CT_SAVE_TARBALLS=y +CT_LOG_EXTRA=y +CT_ARCH_CPU="cortex-a15" +CT_ARCH_FPU="neon-vfpv4" +CT_ARCH_FLOAT_HW=y +CT_ARCH_arm=y +CT_TARGET_VENDOR="cortex_a15" +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_CC_GCC_SHOW_LINARO=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_GDB_NATIVE_STATIC=y +CT_DEBUG_strace=y diff --git a/samples/arm-cortex_a15-linux-gnueabihf/reported.by b/samples/arm-cortex_a15-linux-gnueabihf/reported.by new file mode 100644 index 00000000..3e05b5a3 --- /dev/null +++ b/samples/arm-cortex_a15-linux-gnueabihf/reported.by @@ -0,0 +1,3 @@ +reporter_name="dsreed on freenode/#crosstool-ng" +reporter_url="" +reporter_comment="Enables experimental support for VFP/NEON hardware floating point." -- cgit v1.2.3