From 154a760fb884cee14c2604b8bfbe52b0e7c0d4b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Wed, 22 Apr 2015 19:29:56 +0100 Subject: 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 --- morphlib/buildenvironment.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'morphlib/buildenvironment.py') 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' -- cgit v1.2.1