summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xembedded-test.sh16
1 files changed, 11 insertions, 5 deletions
diff --git a/embedded-test.sh b/embedded-test.sh
index 91d2ec1..ed227a6 100755
--- a/embedded-test.sh
+++ b/embedded-test.sh
@@ -425,11 +425,17 @@ runtest() {
exit 1
fi
- if [ "$libc" = "uclibc-ng" ];then
- prefix=uclibc
- else
- prefix=$libc
- fi
+ case $libc in
+ uclibc-ng)
+ prefix=uclibc
+ ;;
+ glibc)
+ prefix=gnu
+ ;;
+ *)
+ prefix=$libc
+ ;;
+ esac
cross=${cpu_arch}-${vendor}-linux-${prefix}${suffix}
if [ -z $psuffix ];then
TCPATH=${topdir}/${vendor}/toolchain_qemu-${march}_${libc}_${cpu_arch}