summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-08-17 17:53:46 +0200
committerMax Kellermann <max@musicpd.org>2018-08-17 19:20:25 +0200
commit12bc625fe1141c2d9e37b7aa0ca827bbf3804ffe (patch)
treeea0abf503f2cb6b826c702f08dbbecf5c558ff65 /python
parent6b407356b9d3564c2406c648c611f337f4d419fa (diff)
android/build.py: add aarch64 support
Diffstat (limited to 'python')
-rw-r--r--python/build/ffmpeg.py2
-rw-r--r--python/build/meson.py3
2 files changed, 5 insertions, 0 deletions
diff --git a/python/build/ffmpeg.py b/python/build/ffmpeg.py
index d75e98044..6c0753618 100644
--- a/python/build/ffmpeg.py
+++ b/python/build/ffmpeg.py
@@ -21,6 +21,8 @@ class FfmpegProject(Project):
if toolchain.is_arm:
arch = 'arm'
+ elif toolchain.is_aarch64:
+ arch = 'aarch64'
else:
arch = 'x86'
diff --git a/python/build/meson.py b/python/build/meson.py
index 55bd1c554..427d51f0f 100644
--- a/python/build/meson.py
+++ b/python/build/meson.py
@@ -20,6 +20,9 @@ class MesonProject(Project):
cpu = 'armv7'
else:
cpu = 'armv6'
+ elif toolchain.is_aarch64:
+ cpu_family = 'aarch64'
+ cpu = 'arm64-v8a'
else:
cpu_family = 'x86'
if 'x86_64' in toolchain.arch: