Check for SYS/GL during library init. Reason is that
[AROS.git] / scripts / nightly / pkg / hosted-android-arm
blob8e1ec7c1f87a881e2a9176e2288900c8f8b7dc91
1 #!/bin/zsh
2 # Creates generic "hosted" binary packages.
4 BUILDTARGET=android-arm
6 source $SP/setup
7 # The log-name MUST match the name of the package script
8 setl hosted-$BUILDTARGET.log
10 ARCHIVE_BASE=$ARCHIVE_BASE/Binaries
12 printi "Creating hosted binary packages..."
14 printi "Creating AROS/"$BUILDTARGET" system package..."
15 PACKAGE=$BASENAME-$BUILDTARGET-system
16 ARCHIVE=$ARCHIVE_BASE/$PACKAGE.tar.bz2
18 delete $BUILD_BASE/AROS
19 copy $SOURCE_AROS $BUILD_BASE/AROS
21 cd $BUILD_BASE/AROS
22 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
23 make
25 cd $BUILD_BASE/AROS/bin/linux-arm-android
26 mkdir $PACKAGE
27 move AROS $PACKAGE
28 move AROSBootstrap.apk $PACKAGE
30 copy $SOURCE_AROS/LICENSE $PACKAGE
31 copy $SOURCE_AROS/ACKNOWLEDGEMENTS $PACKAGE
32 delete $PACKAGE/Include
33 delete $PACKAGE/lib
35 archive $ARCHIVE $PACKAGE
37 cd $ROOT
38 delete $BUILD_BASE/AROS
39 resetl