Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / scripts / nightly / pkg / sdk-linux-ppc
blob09075bcb3271ecd5917bb1af1f1e46bce278a369
1 #!/bin/zsh
2 # Creates AROS/linux-ppc SDK package.
4 BUILDTARGET=linux-ppc
6 source $SP/setup
8 # The log-name MUST match the name of the package script
9 setl sdk-$BUILDTARGET.log
11 ARCHIVE_BASE=$ARCHIVE_BASE/Development_Tools
13 printi "Creating AROS/$BUILDTARGET SDK package..."
15 delete $BUILD_BASE/AROS
16 copy $SOURCE_AROS $BUILD_BASE/AROS
18 cd $BUILD_BASE/AROS
19 execute ./configure --target=$BUILDTARGET --enable-build-type=nightly --enable-debug=symbols --with-optimization="-O2"
20 make sdk
22 PACKAGE=$BASENAME-$BUILDTARGET-sdk
23 ARCHIVE=$ARCHIVE_BASE/$PACKAGE.tar.bz2
25 cd $BUILD_BASE/AROS/bin/$BUILDTARGET
26 move AROS-SDK $PACKAGE
27 archive $ARCHIVE $PACKAGE
29 cd $ROOT
30 delete $BUILD_BASE/AROS
32 cd $ROOT
33 resetl