summaryrefslogtreecommitdiffstats
path: root/functions.sh.in
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-11-12 09:20:29 +0200
committerTimo Teräs <timo.teras@iki.fi>2015-11-12 09:20:43 +0200
commit680355db336cc4f3a0ef1d24a6dac79b4f94421d (patch)
tree5ade7fc4cf4b1922716f26d49fc047f89715faf2 /functions.sh.in
parentef647cce7328b12c3f734f3ebd373bf577de27ca (diff)
downloadabuild-680355db336cc4f3a0ef1d24a6dac79b4f94421d.tar.bz2
abuild-680355db336cc4f3a0ef1d24a6dac79b4f94421d.tar.xz
add armv7 build target
Diffstat (limited to 'functions.sh.in')
-rw-r--r--functions.sh.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.sh.in b/functions.sh.in
index e9b7280..c128e8d 100644
--- a/functions.sh.in
+++ b/functions.sh.in
@@ -6,7 +6,8 @@ program=${0##*/}
hostspec_to_arch() {
case "$1" in
arm*-*-*-*eabi) echo "armel" ;;
- arm*-*-*-*eabihf) echo "armhf" ;;
+ armv6*-*-*-*eabihf) echo "armhf" ;;
+ armv7*-*-*-*eabihf) echo "armv7" ;;
i[0-9]86-*-*-*) echo "x86" ;;
x86_64-*-*-*) echo "x86_64" ;;
*) echo "unknown" ;;