summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-10-21 12:02:40 +0200
committerLuis de Bethencourt <luis.bg@samsung.com>2014-11-07 14:05:23 +0000
commit7cea4c9259b89ceb3dd1eaa50fd29eea1dd938f7 (patch)
treeab1b6649fea74dfe0e9ba35da3a47cd1f2a2add7
parent8f3627bad1f04cb8e8095f226d1e72868a7347a4 (diff)
ios: Add support for iOS 8.1 SDK
-rw-r--r--cerbero/enums.py1
-rw-r--r--config/ios.config5
-rw-r--r--recipes/libvpx.recipe2
3 files changed, 5 insertions, 3 deletions
diff --git a/cerbero/enums.py b/cerbero/enums.py
index 9693c182..2e7bc894 100644
--- a/cerbero/enums.py
+++ b/cerbero/enums.py
@@ -92,6 +92,7 @@ class DistroVersion:
IOS_7_0 = 'ios_7_0'
IOS_7_1 = 'ios_7_1'
IOS_8_0 = 'ios_8_0'
+ IOS_8_1 = 'ios_8_1'
ANDROID_GINGERBREAD = 'android_gingerbread' # API Level 9
ANDROID_ICE_CREAM_SANDWICH = 'android_ice_cream_sandwich' # API Level 14
ANDROID_JELLY_BEAN = 'android_jelly_bean' # API Level 16
diff --git a/config/ios.config b/config/ios.config
index 0d6aaa03..d7fc4310 100644
--- a/config/ios.config
+++ b/config/ios.config
@@ -32,7 +32,8 @@ _toolchain_root = '%s/usr/bin' % iphone_platform
# Find the installed SDK
_sdk_version = None
-for d,v in [(DistroVersion.IOS_8_0, '8.0'),
+for d,v in [(DistroVersion.IOS_8_1, '8.1'),
+ (DistroVersion.IOS_8_0, '8.0'),
(DistroVersion.IOS_7_1, '7.1'),
(DistroVersion.IOS_7_0, '7.0'),
(DistroVersion.IOS_6_1, '6.1'),
@@ -72,7 +73,7 @@ else:
# Toolchain environment
-if target_distro_version in [DistroVersion.IOS_7_0, DistroVersion.IOS_7_1, DistroVersion.IOS_8_0]:
+if target_distro_version in [DistroVersion.IOS_7_0, DistroVersion.IOS_7_1, DistroVersion.IOS_8_0, DistroVersion.IOS_8_1]:
os.environ['CC']= 'clang'
os.environ['CXX']= 'clang++'
extra_cflags += ' -Wno-error=format-nonliteral -Wno-unused-command-line-argument-hard-error-in-future '
diff --git a/recipes/libvpx.recipe b/recipes/libvpx.recipe
index 1a39ce1f..0575354e 100644
--- a/recipes/libvpx.recipe
+++ b/recipes/libvpx.recipe
@@ -60,7 +60,7 @@ class Recipe(recipe.Recipe):
if self.config.target_arch == Architecture.PPC:
platform = 'darwin9'
elif self.config.target_platform == Platform.IOS:
- if self.config.target_distro_version in [DistroVersion.IOS_7_0, DistroVersion.IOS_7_1, DistroVersion.IOS_8_0]:
+ if self.config.target_distro_version in [DistroVersion.IOS_7_0, DistroVersion.IOS_7_1, DistroVersion.IOS_8_0, DistroVersion.IOS_8_1]:
platform = 'ios7'
else:
platform = 'ios6'