summaryrefslogtreecommitdiff
path: root/morphlib/buildenvironment.py
diff options
context:
space:
mode:
authorJavier Jardón <javier.jardon@codethink.co.uk>2015-04-22 19:29:56 +0100
committerJavier Jardón <jjardon@gnome.org>2015-04-28 14:09:07 +0100
commit154a760fb884cee14c2604b8bfbe52b0e7c0d4b1 (patch)
tree46e97e44614352f90139db557432a8fcc76b43c7 /morphlib/buildenvironment.py
parentfa5c470ad5dd3a3416217363983eb3795ef53c79 (diff)
downloadmorph-154a760fb884cee14c2604b8bfbe52b0e7c0d4b1.tar.gz
Add armv5l to list of valid architectures
Also add support to allow building compatible architectures on armv7 machines, as per the rationale in the comment in _validate_architecture(). Change-Id: Ie0fe4002523f1f92f576bac8b654d4ea6fad5cf2
Diffstat (limited to 'morphlib/buildenvironment.py')
-rw-r--r--morphlib/buildenvironment.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/morphlib/buildenvironment.py b/morphlib/buildenvironment.py
index 266510f6..f8e88b84 100644
--- a/morphlib/buildenvironment.py
+++ b/morphlib/buildenvironment.py
@@ -115,6 +115,9 @@ class BuildEnvironment():
if arch == 'x86_32':
cpu = 'i686'
abi = ''
+ elif arch.startswith('armv5'): #pragma: no cover
+ cpu = arch
+ abi = 'eabi'
elif arch.startswith('armv7'):
cpu = arch
abi = 'eabi'