From 65a67ef505c31f7b228376d942d3ed2272c73d68 Mon Sep 17 00:00:00 2001 From: Josh Malkinson Date: Wed, 21 Jan 2015 15:00:06 +0000 Subject: Add armv8l64 and armv8b64 to list of valid architectures --- morphlib/__init__.py | 4 ++-- morphlib/util.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/morphlib/__init__.py b/morphlib/__init__.py index 0d445304..a10ebe7b 100644 --- a/morphlib/__init__.py +++ b/morphlib/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2011-2014 Codethink Limited +# Copyright (C) 2011-2015 Codethink Limited # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -39,7 +39,7 @@ __version__ = gitversion.version # List of architectures that Morph supports valid_archs = ['armv7l', 'armv7lhf', 'armv7b', 'testarch', - 'x86_32', 'x86_64', 'ppc64'] + 'x86_32', 'x86_64', 'ppc64', 'armv8l64', 'armv8b64'] class Error(cliapp.AppException): diff --git a/morphlib/util.py b/morphlib/util.py index 63e85b6c..ad9d7cd9 100644 --- a/morphlib/util.py +++ b/morphlib/util.py @@ -1,4 +1,4 @@ -# Copyright (C) 2011-2014 Codethink Limited +# Copyright (C) 2011-2015 Codethink Limited # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -467,8 +467,8 @@ def get_host_architecture(): # pragma: no cover 'armv7b': 'armv7b', 'armv8l': 'armv8l', 'armv8b': 'armv8b', - 'aarch64': 'aarch64', - 'aarch64b': 'aarch64b', + 'aarch64': 'armv8l64', + 'aarch64b': 'armv8b64', 'ppc64': 'ppc64' } -- cgit v1.2.1