Fixed typos.
[tangerine.git] / scripts / nightly / pkg / sdk-pc-i386
blobc11602a3cdb1df6eb077674c2d980b953f659334
1 #!/bin/zsh
2 # Creates AROS/pc-i386 SDK package.
4 BUILDTARGET=pc-i386
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