From 7b6b02e4491199bba25a05238f188b2b6cf9a509 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 7 Aug 2014 07:50:18 +0200 Subject: fix glibc runtime test --- embedded-test.sh | 16 +++++++++++----- 1 file 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} -- cgit v1.2.3