synch with bootiso behaviour
[AROS.git] / scripts / nightly / pkg / hosted-android-arm
blob622145bf4276e96bded7528551a4ff9bf4a2c41e
1 #!/bin/zsh
2 # Creates generic "hosted" binary packages.
4 BUILDCPU=arm
5 BUILDTARGET=android-$BUILDCPU
7 source $SP/setup
8 # The log-name MUST match the name of the package script
9 setl hosted-$BUILDTARGET.log
11 ARCHIVE_BASE=$ARCHIVE_BASE/Binaries
13 printi "Creating hosted binary packages..."
15 printi "Creating AROS/"$BUILDTARGET" system package..."
16 PACKAGE=$BASENAME-$BUILDTARGET-system
17 ARCHIVE=$ARCHIVE_BASE/$PACKAGE.tar.bz2
19 delete $BUILD_BASE/AROS
20 copy $SOURCE_AROS $BUILD_BASE/AROS
22 cd $BUILD_BASE/AROS
23 execute ./configure --target=linux-arm --enable-target-variant=android --enable-ccache --enable-build-type=nightly --with-sdk=/home/misc/priv/android-sdk-linux_x86 --with-ndk=/home/misc/priv/android-ndk-r6b --with-kernel-gcc-version=4.4.3 --with-sdk-version=13 $PORTSSOURCESOPT
24 make
26 cd $BUILD_BASE/AROS/bin/linux-arm-android
27 mkdir $PACKAGE
28 move AROS $PACKAGE
29 move AROSBootstrap.apk $PACKAGE
31 copy $SOURCE_AROS/LICENSE $PACKAGE
32 copy $SOURCE_AROS/ACKNOWLEDGEMENTS $PACKAGE
33 delete $PACKAGE/Include
34 delete $PACKAGE/lib
36 archive $ARCHIVE $PACKAGE
38 cd $ROOT
39 delete $BUILD_BASE/AROS
40 resetl