summaryrefslogtreecommitdiff
path: root/embedded-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'embedded-test.sh')
-rwxr-xr-xembedded-test.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/embedded-test.sh b/embedded-test.sh
index cd65e01..1d810c4 100755
--- a/embedded-test.sh
+++ b/embedded-test.sh
@@ -30,7 +30,7 @@
arch_list_uclibcng="arm armhf armeb arc arcbe avr32 bfin c6x cris m68k m68k-nommu microblazeel microblazebe mips mipsel mips64 mips64eln32 mips64n32 mips64n64 mips64el mips64el mips64eln64 ppc-nofpu sh sheb sparc x86 x86_64 xtensa"
arch_list_uclibc="arm armhf armeb arc arcbe bfin mips mipsel mips64 mips64eln32 mips64n32 mips64n64 mips64el mips64el mips64eln64 ppc-nofpu sh sheb sparc x86 x86_64"
arch_list_musl="arm armhf armeb microblazeel microblazebe mips mipsel ppc-nofpu sh sheb x86 x86_64"
-arch_list_glibc="aarch64 arm armhf armeb m68k microblazeel microblazebe mips mipsel mips64 mips64eln32 mips64n32 mips64n64 mips64el mips64eln32 mips64eln64 ppc-nofpu ppc64 sh sheb sparc sparc64 tile x86 x86_64"
+arch_list_glibc="aarch64 arm armhf armeb m68k microblazeel microblazebe mips mipsel mips64 mips64eln32 mips64n32 mips64n64 mips64el mips64eln32 mips64eln64 nios2 ppc-nofpu ppc64 sh sheb sparc sparc64 tile x86 x86_64"
topdir=$(pwd)
openadk_git=http://git.openadk.org/openadk.git
@@ -574,6 +574,10 @@ build() {
DEFAULT="$DEFAULT ADK_TARGET_ARCH=mips64 ADK_TARGET_SYSTEM=qemu-mips64 ADK_TARGET_ENDIAN=little ADK_TARGET_ABI=n64"
compile "$DEFAULT"
;;
+ nios2)
+ DEFAULT="$DEFAULT ADK_TARGET_ARCH=nios2 ADK_TARGET_SYSTEM=toolchain-nios2"
+ compile "$DEFAULT"
+ ;;
ppc-nofpu)
DEFAULT="$DEFAULT ADK_TARGET_ARCH=ppc ADK_TARGET_SYSTEM=qemu-ppc"
compile "$DEFAULT"
@@ -665,7 +669,7 @@ for lib in ${libc}; do
case $lib in
uclibc-ng)
case $arch in
- arc|arcbe|armeb|avr32|bfin|c6x|cris|microblazeel|microblazebe|m68k|m68k-nommu|ppc|sheb|mips64eln32|mips64n32)
+ arc|arcbe|armeb|avr32|bfin|c6x|cris|microblazeel|microblazebe|m68k|m68k-nommu|nios2|ppc|sheb|mips64eln32|mips64n32)
echo "runtime tests disabled for $arch."
;;
*)
@@ -698,7 +702,7 @@ for lib in ${libc}; do
;;
glibc)
case $arch in
- arc|arcbe|armeb|avr32|bfin|cris|m68k|m68k-nommu|ppc|ppc-nofpu|sheb|sparc64|mips64eln32|mips64n32|tile)
+ arc|arcbe|armeb|avr32|bfin|cris|m68k|m68k-nommu|nios2|ppc|ppc-nofpu|sheb|sparc64|mips64eln32|mips64n32|tile)
echo "runtime tests disabled for $arch."
;;
*)