diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2013-11-27 13:17:03 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2013-11-27 13:29:14 +0000 |
commit | 2e9849d3a1265dc7203135fc126af72f95286dde (patch) | |
tree | e91c5c48a31789f25d61de2a3bd8b2bb8591fff8 /morphlib | |
parent | b2b618f71d63290efbc849650459ce6cd467621d (diff) | |
download | morph-2e9849d3a1265dc7203135fc126af72f95286dde.tar.gz |
Make morph able to use ppc64 architecture (POWER PC 64 bits)
Diffstat (limited to 'morphlib')
-rw-r--r-- | morphlib/__init__.py | 2 | ||||
-rw-r--r-- | morphlib/util.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/morphlib/__init__.py b/morphlib/__init__.py index ef46866a..ad90bd4d 100644 --- a/morphlib/__init__.py +++ b/morphlib/__init__.py @@ -38,7 +38,7 @@ __version__ = gitversion.version # List of architectures that Morph supports -valid_archs = ['armv7l', 'armv7b', 'testarch', 'x86_32', 'x86_64'] +valid_archs = ['armv7l', 'armv7b', 'testarch', 'x86_32', 'x86_64', 'ppc64'] class Error(cliapp.AppException): diff --git a/morphlib/util.py b/morphlib/util.py index dd2d05e1..7382e40c 100644 --- a/morphlib/util.py +++ b/morphlib/util.py @@ -402,6 +402,7 @@ def get_host_architecture(): # pragma: no cover 'i686': 'x86_32', 'armv7l': 'armv7l', 'armv7b': 'armv7b', + 'ppc64': 'ppc64' } if machine not in table: |