summaryrefslogtreecommitdiff
path: root/morphlib/util.py
diff options
context:
space:
mode:
authorEmmet Hikory <persia@shipstone.jp>2014-12-19 12:28:28 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-12-19 12:35:10 +0000
commit86e1cc90caf265463df92187926ce20bf5d8c85e (patch)
treedd042a85d951a2a0c4af121b9b89c267c7bfd8df /morphlib/util.py
parentd565903ed91a183f2768290dd63dc1a306b8e1a3 (diff)
downloadmorph-86e1cc90caf265463df92187926ce20bf5d8c85e.tar.gz
Support armv8l, armv8b, aarch64, and aarch64b
Also add support to allow building compatible architectures on armv8 machines, as per the rationale in the comment in _validate_architecture().
Diffstat (limited to 'morphlib/util.py')
-rw-r--r--morphlib/util.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/morphlib/util.py b/morphlib/util.py
index e7a8a50e..63e85b6c 100644
--- a/morphlib/util.py
+++ b/morphlib/util.py
@@ -465,6 +465,10 @@ def get_host_architecture(): # pragma: no cover
'i686': 'x86_32',
'armv7l': 'armv7l',
'armv7b': 'armv7b',
+ 'armv8l': 'armv8l',
+ 'armv8b': 'armv8b',
+ 'aarch64': 'aarch64',
+ 'aarch64b': 'aarch64b',
'ppc64': 'ppc64'
}