summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-10-27 09:21:35 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-10-27 09:21:35 +0100
commit82dc4638a97771784ef7bc7d2b23832fff981ee6 (patch)
treed07a68405c449fdc2f636e1e9933ec1677044f21 /config
parent361c6e5979d4cc9054bf545170a951ff67047366 (diff)
ios: Add initial aarch64/arm64 support
Some things compile, some not.
Diffstat (limited to 'config')
-rw-r--r--config/cross-ios-arm64.cbc5
-rw-r--r--config/ios.config5
2 files changed, 9 insertions, 1 deletions
diff --git a/config/cross-ios-arm64.cbc b/config/cross-ios-arm64.cbc
new file mode 100644
index 00000000..9b64ad8e
--- /dev/null
+++ b/config/cross-ios-arm64.cbc
@@ -0,0 +1,5 @@
+from cerbero.config import Platform, Architecture, Distro, DistroVersion
+
+target_platform=Platform.IOS
+target_arch=Architecture.ARM64
+target_distro=Distro.IOS
diff --git a/config/ios.config b/config/ios.config
index 8b43f990..4d3d65ae 100644
--- a/config/ios.config
+++ b/config/ios.config
@@ -53,7 +53,10 @@ else:
ccache = use_ccache and 'ccache ' or ''
extra_cflags='-Wall -g -Os'
-if target_arch == Architecture.ARMv7S:
+if target_arch == Architecture.ARM64:
+ arch_cflags = ' -arch arm64 -pipe'
+ host = 'aarch64-apple-darwin10'
+elif target_arch == Architecture.ARMv7S:
arch_cflags = ' -arch armv7s -mcpu=cortex-a9 -pipe'
host = 'arm-apple-darwin10'
elif target_arch == Architecture.ARMv7: