Browse Source

add support for tile toolchain check

Waldemar Brodkorb 11 years ago
parent
commit
f1fa3ec109
1 changed files with 7 additions and 4 deletions
  1. 7 4
      embedded-test.sh

+ 7 - 4
embedded-test.sh

@@ -24,12 +24,11 @@
 # architecture specific notes:
 #  mips64n32/mips64eln32 produces segfaults on boot for uClibc/uClibc-ng
 #  sheb network card get no ip
-#  testsuite compile issues for m68k
 
 arch_list_uclibcng="arm armhf arc arcbe avr32 bfin cris m68k m68k-nommu mips mipsel mips64 mips64eln32 mips64n32 mips64n64 mips64el mips64el mips64eln64 ppc-nofpu sh sheb sparc x86 x86_64 xtensa"
 arch_list_uclibc="arm armhf arc arcbe bfin m68k mips mipsel mips64 mips64eln32 mips64n32 mips64n64 mips64el mips64el mips64eln64 ppc-nofpu sh sheb sparc x86 x86_64"
 arch_list_musl="arm armhf mips mipsel ppc-nofpu sh sheb x86 x86_64"
-arch_list_glibc="aarch64 arm armhf m68k mips mipsel mips64 mips64eln32 mips64n32 mips64n64 mips64el mips64eln32 mips64eln64 ppc-nofpu ppc64 sh sheb sparc sparc64 x86 x86_64"
+arch_list_glibc="aarch64 arm armhf m68k mips mipsel mips64 mips64eln32 mips64n32 mips64n64 mips64el mips64eln32 mips64eln64 ppc-nofpu ppc64 sh sheb sparc sparc64 tile x86 x86_64"
 
 topdir=$(pwd)
 openadk_git=http://git.openadk.org/openadk.git
@@ -105,7 +104,7 @@ while getopts "hgrumdcn:a:s:l:t:p:" ch; do
                         ntp=$OPTARG
                         ;;
                 a)
-                        archtotest=$OPTARG
+                        archtolist=$OPTARG
                         ;;
                 p)
                         pkgs=$OPTARG
@@ -581,6 +580,10 @@ build() {
 			DEFAULT="$DEFAULT ADK_TARGET_ARCH=sh ADK_TARGET_SYSTEM=qemu-sh ADK_TARGET_ENDIAN=big"
 			compile "$DEFAULT"
 			;;
+		tile)
+			DEFAULT="$DEFAULT ADK_TARGET_ARCH=tile ADK_TARGET_SYSTEM=toolchain-tile"
+			compile "$DEFAULT"
+			;;
 		*)
 			DEFAULT="$DEFAULT ADK_TARGET_ARCH=$arch ADK_TARGET_SYSTEM=qemu-$arch"
 			compile "$DEFAULT"
@@ -653,7 +656,7 @@ for lib in ${libc}; do
 			for test in ${tests}; do
 				if [ $test = "boot" -o $test = "libc" -o $test = "ltp" -o $test = "native" ];then
 					case $arch in
-						arc|arcbe|avr32|bfin|cris|m68k|m68k-nommu|ppc|sheb|mips64eln32|mips64n32)
+						arc|arcbe|avr32|bfin|cris|m68k|m68k-nommu|ppc|sheb|mips64eln32|mips64n32|tile)
 							echo "runtime tests disabled for $arch."
 							;;
 						*)