Enable armv7 (!1730)

I need to do some more work on pmaports in order for this to actually
be useful.
This commit is contained in:
Grant Miller 2018-12-12 14:22:27 -06:00 committed by Oliver Smith
parent e2c38a2e31
commit dfaca1e06f
3 changed files with 6 additions and 4 deletions

View file

@ -28,7 +28,7 @@ def alpine_native():
"i686": "x86",
"x86_64": "x86_64",
"aarch64": "aarch64",
"armv7l": "armhf"
"armv7l": "armv7"
}
if machine in mapping:
return mapping[machine]
@ -58,6 +58,7 @@ def alpine_to_qemu(arch):
"x86": "i386",
"x86_64": "x86_64",
"armhf": "arm",
"armv7": "arm",
"aarch64": "aarch64",
}
for pattern, arch_qemu in mapping.items():
@ -135,6 +136,7 @@ def uname_to_qemu(arch):
"armeb": "arm",
"armel": "arm",
"armhf": "arm",
"armv7l": "arm",
"x86_64": "x86_64",
"amd64": "x86_64",
}