summaryrefslogtreecommitdiff
path: root/morphlib/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/util.py')
-rw-r--r--morphlib/util.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/morphlib/util.py b/morphlib/util.py
index ad9d7cd9..937a7c80 100644
--- a/morphlib/util.py
+++ b/morphlib/util.py
@@ -469,6 +469,7 @@ def get_host_architecture(): # pragma: no cover
'armv8b': 'armv8b',
'aarch64': 'armv8l64',
'aarch64b': 'armv8b64',
+ 'armv6l': 'armv6l',
'ppc64': 'ppc64'
}
@@ -477,6 +478,8 @@ def get_host_architecture(): # pragma: no cover
if machine == 'armv7l' and has_hardware_fp():
return 'armv7lhf'
+ if machine == 'armv6l' and has_hardware_fp():
+ return 'armv6lhf'
return table[machine]