diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-07 07:50:18 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-07 07:50:18 +0200 |
commit | 7b6b02e4491199bba25a05238f188b2b6cf9a509 (patch) | |
tree | 2c031a6800fb6483d744275eaa5dda1224339b71 | |
parent | a7e3d9543862295e5ff6273f55a5adf4f709b17c (diff) |
fix glibc runtime test
-rwxr-xr-x | embedded-test.sh | 16 |
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} |