diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2016-05-06 18:42:46 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-05-09 09:18:57 +0200 |
commit | 84ab1bc15be9f9a102c69e218714eb49fceadecd (patch) | |
tree | 222d7a31df81c9b3f9aa2fadece13214d9a61185 | |
parent | c3c8e806fdcc7e84a056a1511433f29d6cdf10d8 (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-x | freedesktop-sdk-build-yocto | 4 |
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 |