WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )} XBMC_PLATFORM_DIR=android . $WORKSPACE/tools/buildsteps/defaultenv TARGET=apk cd $WORKSPACE/build;make -j$BUILDTHREADS $TARGET cd $WORKSPACE #rename for upload #e.x. xbmc-20130314-8c2fb31-Frodo-x86_64.apk UPLOAD_FILENAME="kodi-$(getBuildRevDateStr)-x86_64" mv kodiapp-x86_64-*.apk $UPLOAD_FILENAME.apk