From d89efcfda2cb2a67ed018978e99cb155e6a5aa76 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 18 Jun 2018 20:10:47 +0200 Subject: [PATCH] makepanda: fix recognition of armv7 android systems --- makepanda/makepandacore.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index 81163c8179..f738d8affa 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -321,8 +321,12 @@ def GetHostArch(): target = GetTarget() if target == 'windows': return 'x64' if host_64 else 'x86' - else: #TODO - return platform.machine() + + machine = platform.machine() + if machine.startswith('armv7'): + return 'armv7a' + else: + return machine def SetTarget(target, arch=None): """Sets the target platform; the one we're compiling for. Also