aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps/atv2/make-xbmc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/buildsteps/atv2/make-xbmc')
-rwxr-xr-xtools/buildsteps/atv2/make-xbmc8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/buildsteps/atv2/make-xbmc b/tools/buildsteps/atv2/make-xbmc
new file mode 100755
index 0000000000..743db59d11
--- /dev/null
+++ b/tools/buildsteps/atv2/make-xbmc
@@ -0,0 +1,8 @@
+WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
+XBMC_PLATFORM_DIR=atv2
+. $WORKSPACE/tools/buildsteps/defaultenv
+
+cd $WORKSPACE;make -j$BUILDTHREADS xcode_depends
+cd $WORKSPACE;xcodebuild -project XBMC-ATV2.xcodeproj -target XBMC -configuration $Configuration build \
+ ONLY_ACTIVE_ARCH=YES ARCHS=armv7 VALID_ARCHS=armv7 IPHONEOS_DEPLOYMENT_TARGET=4.1 \
+ SDKROOT=iphoneos$SDK_VERSION XBMC_DEPENDS_ROOT=$XBMC_DEPENDS_ROOT