Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Cory Fields
committed
Mar 26, 2013
1 parent
c48cae6
commit 84749ce
Showing
8 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,15 @@ | |||
WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )} | |||
XBMC_PLATFORM_DIR=android | |||
. $WORKSPACE/tools/buildsteps/defaultenv | |||
|
|||
if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ] | |||
then | |||
cd $WORKSPACE/tools/depends;./configure \ | |||
--with-tarballs=/opt/xbmc-tarballs \ | |||
--host=arm-linux-androideabi \ | |||
--with-sdk-path=$SDK_PATH \ | |||
--with-ndk=$NDK_PATH \ | |||
--with-sdk=android-$SDK_VERSION \ | |||
--with-toolchain=$TOOLCHAIN \ | |||
--prefix=$XBMC_DEPENDS_ROOT | |||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,5 @@ | |||
WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )} | |||
XBMC_PLATFORM_DIR=android | |||
. $WORKSPACE/tools/buildsteps/defaultenv | |||
|
|||
make -C $WORKSPACE/tools/depends/target/xbmc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,8 @@ | |||
WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )} | |||
XBMC_PLATFORM_DIR=android | |||
. $WORKSPACE/tools/buildsteps/defaultenv | |||
|
|||
if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ] | |||
then | |||
cd $WORKSPACE/tools/depends;make -j $BUILDTHREADS && git rev-list HEAD --max-count=1 -- . > $PATH_CHANGE_REV_FILENAME | |||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,5 @@ | |||
WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )} | |||
XBMC_PLATFORM_DIR=android | |||
. $WORKSPACE/tools/buildsteps/defaultenv | |||
|
|||
cd $WORKSPACE;make -j$BUILDTHREADS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,5 @@ | |||
WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )} | |||
XBMC_PLATFORM_DIR=android | |||
. $WORKSPACE/tools/buildsteps/defaultenv | |||
|
|||
cd $WORKSPACE;make apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,13 @@ | |||
WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )} | |||
XBMC_PLATFORM_DIR=android | |||
. $WORKSPACE/tools/buildsteps/defaultenv | |||
|
|||
#clean without depends for skipping depends build if possible | |||
cd $WORKSPACE;git clean -xfd -e "tools/depends" | |||
|
|||
if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ] | |||
then | |||
#clean up the rest too | |||
cd $WORKSPACE;git clean -xfd | |||
cd $WORKSPACE/tools/depends/;./bootstrap | |||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,5 @@ | |||
WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )} | |||
XBMC_PLATFORM_DIR=android | |||
. $WORKSPACE/tools/buildsteps/defaultenv | |||
|
|||
#nothing on android |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters