summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2016-05-06 18:42:46 +0100
committerAlexander Larsson <alexl@redhat.com>2016-05-09 09:18:57 +0200
commit84ab1bc15be9f9a102c69e218714eb49fceadecd (patch)
tree222d7a31df81c9b3f9aa2fadece13214d9a61185
parentc3c8e806fdcc7e84a056a1511433f29d6cdf10d8 (diff)
Use xdg-app arch names in build scripts
Make the main build script accept the following arch names: o i386 o x86_64 o arm o aarch64
-rwxr-xr-xfreedesktop-sdk-build-yocto4
1 files changed, 2 insertions, 2 deletions
diff --git a/freedesktop-sdk-build-yocto b/freedesktop-sdk-build-yocto
index 278a245..787544a 100755
--- a/freedesktop-sdk-build-yocto
+++ b/freedesktop-sdk-build-yocto
@@ -66,10 +66,10 @@ BBLAYERS ?= "${LAYERS}"
EOF
case "$architecture" in
- i686) MACHINE="qemux86";;
+ i386) MACHINE="qemux86";;
x86_64) MACHINE="qemux86-64";;
+ arm) MACHINE="qemuarmv7a";;
aarch64) MACHINE="qemuarm64";;
- armv7a) MACHINE="qemuarmv7a";;
*) echo "Error: Unhandled architecture '$architecture'"; exit 1;;
esac