From 6ec088ea77e4c63958f4c2e913a9e1478f4bd7c5 Mon Sep 17 00:00:00 2001 From: Tiago Gomes Date: Mon, 26 Jan 2015 13:59:14 +0000 Subject: Add logic for contructing the correct GNU tripet for ARMv8 --- morphlib/buildenvironment.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 = '' -- cgit v1.2.1