scripts: remove explicit --with-paranoia from configure line as it is enabled by...
[AROS.git] / scripts / nightly / pkg / amiga-m68k
blob01cb98c4bb277ad5439e688075f4bbd3cac8608d
1 #!/bin/zsh
2 # Creates amiga-m68k binary packages.
4 BUILDTARGET=amiga-m68k
6 source $SP/setup
7 # The log-name MUST match the name of the package script
8 setl $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
15 ISOFILE=aros-$BUILDTARGET.iso
17 delete $BUILD_BASE/AROS
18 copy $SOURCE_AROS $BUILD_BASE/AROS
20 cd $BUILD_BASE/AROS
21 export PATH=$PATH:$CFG_M68K_CROSSTOOLS
22 execute ./configure --target=$BUILDTARGET --enable-ccache --enable-build-type=nightly --with-serial-debug $PORTSSOURCESOPT
23 make
24 make distfiles
26 cd $BUILD_BASE/AROS/bin/amiga-m68k
27 move AROS $PACKAGE
29 delete $BUILD_BASE/AROS/distfiles/aros-amiga-m68k.elf
30 delete $BUILD_BASE/AROS/distfiles/aros-amiga-m68k-reloc.elf
32 copy $SOURCE_AROS/LICENSE $PACKAGE
33 copy $SOURCE_AROS/ACKNOWLEDGEMENTS $PACKAGE
34 copy $BUILD_BASE/AROS/distfiles/ $PACKAGE
35 delete $PACKAGE/distfiles/$ISOFILE
37 #archive $ARCHIVE $PACKAGE
38 move $PACKAGE AROS
40 printi "Creating AROS/"$BUILDTARGET" bootiso package..."
41 PACKAGE=$BASENAME-$BUILDTARGET-bootiso
42 ARCHIVE=$ARCHIVE_BASE/$PACKAGE.zip
44 makedir $PACKAGE
45 copy $SOURCE_AROS/LICENSE $PACKAGE
46 copy $SOURCE_AROS/ACKNOWLEDGEMENTS $PACKAGE
47 move $BUILD_BASE/AROS/distfiles/$ISOFILE $PACKAGE
48 ziparc $ARCHIVE $PACKAGE
50 delete $PACKAGE
52 printi "Creating AROS/"$BUILDTARGET" boot package..."
53 PACKAGE=$BASENAME-$BUILDTARGET-boot
54 ARCHIVE=$ARCHIVE_BASE/$PACKAGE.lha
56 move $BUILD_BASE/AROS/distfiles $PACKAGE
57 copy $SOURCE_AROS/LICENSE $PACKAGE
58 copy $SOURCE_AROS/ACKNOWLEDGEMENTS $PACKAGE
60 lhaarc $ARCHIVE $PACKAGE
62 cd $ROOT
63 resetl