make the linux-ppc packags be in synch with other platforms
[tangerine.git] / scripts / nightly / pkg / sdk-linux-ppc
blob05ec16ca006765e53e8e47306a22aa68bc8f7398
1 #!/bin/zsh
2 # Creates AROS/linux-ppc SDK package.
4 BUILDTARGET=linux-ppc
6 source $SP/setup
7 setl sdk-$BUILDTARGET.log
9 ARCHIVE_BASE=$ARCHIVE_BASE/Development_Tools
11 printi "Creating AROS/"$BUILDTARGET" SDK package..."
12 PACKAGE=$BASENAME-$BUILDTARGET-sdk
13 ARCHIVE=$ARCHIVE_BASE/$PACKAGE.tar.bz2
15 delete $BUILDBASE/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 cd $BUILD_BASE/AROS/bin/$BUILDTARGET
23 move AROS-SDK $PACKAGE
24 archive $ARCHIVE $PACKAGE
26 cd $ROOT
27 delete $BUILD_BASE/AROS
29 cd $ROOT
30 resetl