Skip to content

Commit 0a84b38

Browse files
committed
updated scripts
1 parent 8164f70 commit 0a84b38

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

scripts/copy_libedgetpu_runtime.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,19 @@ get_libedgetpu_triplet() {
3838
UNAME_M="$(uname -m)"
3939
if [ -n "${TARGET_ARCH}" ]; then
4040
UNAME_M="${TARGET_ARCH}"
41+
if [ "${TARGET_ARCH}" = "arm" ]; then
42+
case "${TARGET_CPU}" in
43+
arm1176jzf_s*)
44+
UNAME_M="armv6"
45+
;;
46+
cortex*)
47+
UNAME_M="armv7l"
48+
;;
49+
*)
50+
UNAME_M="${TARGET_ARCH}"
51+
;;
52+
esac
53+
fi
4154
fi
4255
UNAME_S="$(uname -s)"
4356
if [ -n "${TARGET_OS}" ]; then

0 commit comments

Comments
 (0)