diff options
author | Rob Kendrick <rob.kendrick@codethink.co.uk> | 2014-07-23 12:50:02 +0000 |
---|---|---|
committer | Rob Kendrick <rob.kendrick@codethink.co.uk> | 2014-07-28 14:38:21 +0000 |
commit | 7859eb2c3045650e004f65ec7333a8357a3f8215 (patch) | |
tree | 9f80a03d9f706ae5b994cfd2db9f58c8b8ff5ad0 | |
parent | 2c61412b43d2a30ac237ee3d03a61fc647fed0ba (diff) | |
download | morph-7859eb2c3045650e004f65ec7333a8357a3f8215.tar.gz |
Add mips64 architecture
-rw-r--r-- | morphlib/__init__.py | 2 | ||||
-rw-r--r-- | morphlib/util.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/morphlib/__init__.py b/morphlib/__init__.py index 0c928fd3..eae35dd6 100644 --- a/morphlib/__init__.py +++ b/morphlib/__init__.py @@ -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', 'mips64'] class Error(cliapp.AppException): diff --git a/morphlib/util.py b/morphlib/util.py index 0c551296..53385547 100644 --- a/morphlib/util.py +++ b/morphlib/util.py @@ -439,7 +439,8 @@ def get_host_architecture(): # pragma: no cover 'i686': 'x86_32', 'armv7l': 'armv7l', 'armv7b': 'armv7b', - 'ppc64': 'ppc64' + 'ppc64': 'ppc64', + 'mips64': 'mips64' } if machine not in table: |