aboutsummaryrefslogtreecommitdiff
path: root/automated/lib/sh-test-lib
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2017-09-14 10:36:49 +0800
committerNaresh Kamboju <naresh.kamboju@linaro.org>2017-09-14 09:22:49 +0000
commitfa9f33ea7ad407ea8dd64251755bd0899a480e80 (patch)
tree018d023d5bb5c5584997e507e1f249c2f0856f42 /automated/lib/sh-test-lib
parent010482b3d893f52e19a955229307a706d09921e8 (diff)
sh-test-lib: added support for x86 in detect_abi()
Change-Id: Ic9bcddbd476ecc912603603a4476180cc1ee24dc Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'automated/lib/sh-test-lib')
-rwxr-xr-xautomated/lib/sh-test-lib3
1 files changed, 2 insertions, 1 deletions
diff --git a/automated/lib/sh-test-lib b/automated/lib/sh-test-lib
index 109e2f48..ed0d96e2 100755
--- a/automated/lib/sh-test-lib
+++ b/automated/lib/sh-test-lib
@@ -146,7 +146,8 @@ detect_abi() {
case "${abi}" in
armv7|armv7l|armv7el|armv7lh) abi="armeabi" ;;
arm64|armv8|arm64-v8a|aarch64) abi="arm64" ;;
- *) error_msg "Unknown architecture: ${abi}" ;;
+ x86_64) abi="x86" ;;
+ *) error_msg "Unsupported architecture: ${abi}" ;;
esac
}