Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / scripts / nightly / pkg / bootfloppy-pc-i386
blob3bdcd15919ca81e03121dfa220ca2338af5da8d4
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
15 copy $SOURCE_NECESSARY $BUILD_BASE/AROS/contrib
17 cd $BUILD_BASE/AROS
18 execute ./configure --target=$BUILDTARGET --enable-build-type=nightly --enable-target-variant=tiny --with-optimization="-Os -fno-defer-pop -mpreferred-stack-boundary=4" --with-theme=os3.1 --with-iconset=Mason
19 make
20 make bootdisk systemdisk
22 PACKAGE=$BASENAME-$BUILDTARGET-boot-floppy
23 ARCHIVE=$ARCHIVE_BASE/$PACKAGE.zip
25 makedir $BUILD_BASE/$PACKAGE
26 copy $BUILD_BASE/AROS/distfiles/aros-$BUILDTARGET.img $BUILD_BASE/$PACKAGE
27 copy $BUILD_BASE/AROS/distfiles/system-$BUILDTARGET.img $BUILD_BASE/$PACKAGE
28 cd $BUILD_BASE
29 copy $SOURCE_AROS/LICENSE $PACKAGE
30 copy $SOURCE_AROS/ACKNOWLEDGEMENTS $PACKAGE
31 ziparc $ARCHIVE $PACKAGE
32 delete $PACKAGE
34 cd $ROOT
35 delete $BUILD_BASE/AROS
36 resetl