2 # Creates generic "hosted" binary packages.
5 BUILDTARGET
=android-
$BUILDCPU
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
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
26 cd $BUILD_BASE/AROS
/bin
/linux-arm-android
29 move AROSBootstrap.apk
$PACKAGE
31 copy
$SOURCE_AROS/LICENSE
$PACKAGE
32 copy
$SOURCE_AROS/ACKNOWLEDGEMENTS
$PACKAGE
33 delete
$PACKAGE/Include
36 archive
$ARCHIVE $PACKAGE
39 delete
$BUILD_BASE/AROS