summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-05 17:40:13 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-05 17:40:13 +0200
commit77a178222b74aaacbe7553a1c9176cee21c875ad (patch)
tree9abbc3deb273f5c85fedd2920baa9304c67bad0d
parentd27b15dc650d852dfd7d3ce13c5e63524a3fcdeb (diff)
more arc stuff
-rwxr-xr-xembedded-test.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/embedded-test.sh b/embedded-test.sh
index 136bda2..625bd87 100755
--- a/embedded-test.sh
+++ b/embedded-test.sh
@@ -481,7 +481,7 @@ EOF
}
compile() {
- rm .config*
+ rm .config* .defconfig 2>/dev/null
make $1 defconfig
for pkg in $pkgs; do p=$(echo $pkg|tr '[:lower:]' '[:upper:]');printf "ADK_COMPILE_$p=y\nADK_PACKAGE_$p=y" >> .config;done
make $1 all
@@ -555,6 +555,14 @@ build() {
DEFAULT="$DEFAULT ADK_TARGET_ARCH=aarch64 ADK_TARGET_SYSTEM=qemu-aarch64"
compile "$DEFAULT"
;;
+ arc)
+ DEFAULT="$DEFAULT ADK_TARGET_ARCH=arc ADK_TARGET_SYSTEM=toolchain-arc ADK_TARGET_ENDIAN=little"
+ compile "$DEFAULT"
+ ;;
+ arcbe)
+ DEFAULT="$DEFAULT ADK_TARGET_ARCH=arc ADK_TARGET_SYSTEM=toolchain-arc ADK_TARGET_ENDIAN=big"
+ compile "$DEFAULT"
+ ;;
arm)
DEFAULT="$DEFAULT ADK_TARGET_ARCH=arm ADK_TARGET_SYSTEM=qemu-arm ADK_TARGET_ABI=eabi ADK_TARGET_ENDIAN=little"
compile "$DEFAULT"
@@ -643,7 +651,7 @@ for arch in ${archlist}; do
for test in ${tests}; do
if [ $test = "boot" -o $test = "libc" -o $test = "ltp" -o $test = "native" ];then
case $arch in
- bfin|m68k|m68k-nommu|ppc|sheb|mips64eln32|mips64n32)
+ arc|arcbe|bfin|m68k|m68k-nommu|ppc|sheb|mips64eln32|mips64n32)
echo "runtime tests disabled for $arch."
;;
*)