Browse Source

add sh newlib testing

Waldemar Brodkorb 8 years ago
parent
commit
a377cc1a93
1 changed files with 7 additions and 1 deletions
  1. 7 1
      embedded-test.sh

+ 7 - 1
embedded-test.sh

@@ -48,7 +48,7 @@ arch_list_glibc="aarch64 aarch64be alpha armv5 armv7 armeb hppa \
 arch_list_newlib="aarch64 aarch64be arcv1 armv5 armeb bfin crisv10 \
   crisv32 epiphany frv h8300 ia64 lm32 m32r m68k microblazeel \
   microblazebe mips mipsel mn10300 moxie msp430 nds32le nds32be \
-  nios2 or1k ppc rx sparc sparc64 v850 x86 x86_64"
+  nios2 or1k ppc rx sh sparc sparc64 v850 x86 x86_64"
 
 topdir=$(pwd)
 giturl=http://git.openadk.org/openadk.git
@@ -833,6 +833,12 @@ get_arch_info() {
       qemu=qemu-system-${cpu_arch}
       qemu_machine=s390-ccw-virtio-2.4
       ;;
+    sh)
+      allowed_libc="newlib"
+      runtime_test=""
+      allowed_tests="toolchain"
+      default_newlib="ADK_APPLIANCE=toolchain ADK_TARGET_OS=baremetal ADK_TARGET_ARCH=sh ADK_TARGET_ENDIAN=little"
+      ;;
     sh2)
       allowed_libc="uclibc-ng"
       runtime_test=""