scripts: enable use of built up front cross compiler to all packages
[AROS.git] / scripts / nightly / pkg / bootfloppy-pc-i386
blob8f32afc6d7e4c757b4604cf4fd47bc97afe8b747
1 #!/bin/zsh
2 # Creates AROS/bootfloppy-pc-i386 binary packages.
4 BUILDTARGET=pc-i386
6 source $SP/setup
7 setl bootfloppy-$BUILDTARGET.log
9 ARCHIVE_BASE=$ARCHIVE_BASE/Binaries
11 printi "Creating AROS/$BUILDTARGET bootfloppy binary package..."
13 delete $BUILD_BASE/AROS
14 copy $SOURCE_AROS $BUILD_BASE/AROS
16 cd $BUILD_BASE/AROS
17 execute ./configure --target=$BUILDTARGET --enable-build-type=nightly --enable-target-variant=tiny --with-optimization="-Os -fno-defer-pop -mpreferred-stack-boundary=4" --with-theme=AmigaOS3.x --with-iconset=Mason --with-bootloader=grub $PORTSSOURCESOPT $AROSTOOLCHAININSTALLOPT $AROSTOOLCHAINOPT
18 make -j $MAKE_JOBS
19 make bootdisk systemdisk
21 PACKAGE=$BASENAME-$BUILDTARGET-boot-floppy
22 ARCHIVE=$ARCHIVE_BASE/$PACKAGE.zip
24 makedir $BUILD_BASE/$PACKAGE
25 copy $BUILD_BASE/AROS/distfiles/aros-$BUILDTARGET.img $BUILD_BASE/$PACKAGE
26 copy $BUILD_BASE/AROS/distfiles/system-$BUILDTARGET.img $BUILD_BASE/$PACKAGE
27 cd $BUILD_BASE
28 copy $SOURCE_AROS/LICENSE $PACKAGE
29 copy $SOURCE_AROS/ACKNOWLEDGEMENTS $PACKAGE
30 ziparc $ARCHIVE $PACKAGE
31 delete $PACKAGE
33 cd $ROOT
34 delete $BUILD_BASE/AROS
35 resetl