summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-01-26 13:59:14 +0000
committerTiago Gomes <tiago.gomes@codethink.co.uk>2015-02-03 11:41:40 +0000
commit6ec088ea77e4c63958f4c2e913a9e1478f4bd7c5 (patch)
treeb0af5a102d5e543d82c3ecce0bef295ebd2698d6
parentf2f3e4e5f3d5162890d03494f405cff5177aaad8 (diff)
downloadmorph-6ec088ea77e4c63958f4c2e913a9e1478f4bd7c5.tar.gz
Add logic for contructing the correct GNU tripet for ARMv8
-rw-r--r--morphlib/buildenvironment.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/morphlib/buildenvironment.py b/morphlib/buildenvironment.py
index 68e7e756..0e02c19f 100644
--- a/morphlib/buildenvironment.py
+++ b/morphlib/buildenvironment.py
@@ -115,10 +115,14 @@ class BuildEnvironment():
# than leaving it up to individual morphologies.
if arch == 'x86_32':
cpu = 'i686'
+ elif arch == 'armv8l64':
+ cpu = 'aarch64'
+ elif arch == 'armv8b64':
+ cpu = 'aarch64_be'
else:
cpu = arch
- if arch.startswith('arm'):
+ if arch.startswith('armv7'):
abi = 'eabi'
else:
abi = ''