scripts: enable use of built up front cross compiler to all packages
[AROS.git] / scripts / nightly / pkg / hosted-mingw32-x86_64
blob41dec621eb2353f007b4e8a03c020b210b5fd025
1 #!/bin/zsh
2 # Creates mingw32-x86_64 "hosted" binary packages.
4 BUILDTARGET=mingw32-x86_64
6 source $SP/setup
7 # The log-name MUST match the name of the package script
8 setl hosted-$BUILDTARGET.log
10 ARCHIVE_BASE=$ARCHIVE_BASE/Binaries
12 printi "Creating AROS/"$BUILDTARGET" system package..."
13 PACKAGE=$BASENAME-$BUILDTARGET-system
14 ARCHIVE=$ARCHIVE_BASE/$PACKAGE.tar.bz2
16 delete $BUILD_BASE/AROS
17 copy $SOURCE_AROS $BUILD_BASE/AROS
19 cd $BUILD_BASE/AROS
20 execute ./configure --target=$BUILDTARGET --enable-ccache --enable-build-type=nightly $PORTSSOURCESOPT $AROSTOOLCHAININSTALLOPT $AROSTOOLCHAINOPT
21 make
23 cd $BUILD_BASE/AROS/bin/$BUILDTARGET
24 move AROS $PACKAGE
26 copy $SOURCE_AROS/LICENSE $PACKAGE
27 copy $SOURCE_AROS/ACKNOWLEDGEMENTS $PACKAGE
28 delete $PACKAGE/Include
29 delete $PACKAGE/lib
31 archive $ARCHIVE $PACKAGE
33 cd $ROOT
34 resetl