Skip to content

Commit

Permalink
updated scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoa-xu committed Apr 2, 2023
1 parent 8164f70 commit 0a84b38
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions scripts/copy_libedgetpu_runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,19 @@ get_libedgetpu_triplet() {
UNAME_M="$(uname -m)"
if [ -n "${TARGET_ARCH}" ]; then
UNAME_M="${TARGET_ARCH}"
if [ "${TARGET_ARCH}" = "arm" ]; then
case "${TARGET_CPU}" in
arm1176jzf_s*)
UNAME_M="armv6"
;;
cortex*)
UNAME_M="armv7l"
;;
*)
UNAME_M="${TARGET_ARCH}"
;;
esac
fi
fi
UNAME_S="$(uname -s)"
if [ -n "${TARGET_OS}" ]; then
Expand Down

0 comments on commit 0a84b38

Please sign in to comment.