summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2018-06-03 18:27:56 +0200
committerWaldemar Brodkorb <wbrodkorb@conet.de>2018-06-03 18:27:56 +0200
commit9324bdf9b73032b46b79d1f7447308089bee571c (patch)
treebe72b36dce8a28d402adb36ca3f0b625c97fb2be
parentbd404133c9f51d47782a09637946089dcf8b26d8 (diff)
add sh2eb/sh3eb testing
-rwxr-xr-xembedded-test.sh23
1 files changed, 19 insertions, 4 deletions
diff --git a/embedded-test.sh b/embedded-test.sh
index fe368e0..07a62ac 100755
--- a/embedded-test.sh
+++ b/embedded-test.sh
@@ -32,7 +32,7 @@ arch_list_uclibcng="aarch64 aarch64be alpha arcv1 arcv2 arcv1-be \
mips32 mips32r6 mips32sf mips32el mips32r6el mips32elsf \
mips64 mips64n32 mips64n64 mips64el mips64eln32 mips64eln64 \
mips64r6n32 mips64r6n64 mips64r6eln32 mips64r6eln64 \
- nds32le nios2 or1k ppc ppcsf sh2 sh3 sh4 sh4eb \
+ nds32le nios2 or1k ppc ppcsf sh2 sh2eb sh3 sh3eb sh4 sh4eb \
sparc sparc-leon3 sparc64 tilegx x86 x86_64 \
xtensa xtensabe xtensa-nommu"
@@ -1030,15 +1030,30 @@ get_arch_info() {
allowed_libc="uclibc-ng"
runtime_test=""
allowed_tests="toolchain"
- default_uclibc_ng="ADK_APPLIANCE=toolchain ADK_TARGET_OS=$os ADK_TARGET_ARCH=sh ADK_TARGET_SYSTEM=generic-sh ADK_TARGET_CPU=sh2 ADK_TARGET_MMU=no"
+ default_uclibc_ng="ADK_APPLIANCE=toolchain ADK_TARGET_OS=$os ADK_TARGET_ARCH=sh ADK_TARGET_SYSTEM=generic-sh ADK_TARGET_CPU=sh2 ADK_TARGET_MMU=no ADK_TARGET_ENDIAN=little"
+ cpu_arch=sh2
+ ;;
+ sh2eb)
+ allowed_libc="uclibc-ng"
+ runtime_test=""
+ allowed_tests="toolchain"
+ default_uclibc_ng="ADK_APPLIANCE=toolchain ADK_TARGET_OS=$os ADK_TARGET_ARCH=sh ADK_TARGET_SYSTEM=generic-sh ADK_TARGET_CPU=sh2 ADK_TARGET_MMU=no ADK_TARGET_ENDIAN=big"
cpu_arch=sh2
;;
sh3)
allowed_libc="uclibc-ng glibc"
runtime_test=""
allowed_tests="toolchain"
- default_uclibc_ng="ADK_APPLIANCE=toolchain ADK_TARGET_OS=$os ADK_TARGET_ARCH=sh ADK_TARGET_SYSTEM=generic-sh ADK_TARGET_CPU=sh3 ADK_TARGET_MMU=no"
- default_glibc="ADK_APPLIANCE=toolchain ADK_TARGET_OS=$os ADK_TARGET_ARCH=sh ADK_TARGET_SYSTEM=generic-sh ADK_TARGET_CPU=sh3 ADK_TARGET_MMU=no"
+ default_uclibc_ng="ADK_APPLIANCE=toolchain ADK_TARGET_OS=$os ADK_TARGET_ARCH=sh ADK_TARGET_SYSTEM=generic-sh ADK_TARGET_CPU=sh3 ADK_TARGET_MMU=no ADK_TARGET_ENDIAN=little"
+ default_glibc="ADK_APPLIANCE=toolchain ADK_TARGET_OS=$os ADK_TARGET_ARCH=sh ADK_TARGET_SYSTEM=generic-sh ADK_TARGET_CPU=sh3 ADK_TARGET_MMU=no ADK_TARGET_ENDIAN=little"
+ cpu_arch=sh3
+ ;;
+ sh3eb)
+ allowed_libc="uclibc-ng glibc"
+ runtime_test=""
+ allowed_tests="toolchain"
+ default_uclibc_ng="ADK_APPLIANCE=toolchain ADK_TARGET_OS=$os ADK_TARGET_ARCH=sh ADK_TARGET_SYSTEM=generic-sh ADK_TARGET_CPU=sh3 ADK_TARGET_MMU=no ADK_TARGET_ENDIAN=big"
+ default_glibc="ADK_APPLIANCE=toolchain ADK_TARGET_OS=$os ADK_TARGET_ARCH=sh ADK_TARGET_SYSTEM=generic-sh ADK_TARGET_CPU=sh3 ADK_TARGET_MMU=no ADK_TARGET_ENDIAN=big"
cpu_arch=sh3
;;
sh4)