psp-build.sh 384 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. # $1 = branch
  3. [[ -z $PSPDEV ]] && { echo "\$PSPDEV is unset. Aborting"; exit 1; }
  4. export PATH="$PSPDEV/bin:$PATH"
  5. [ -z "$1" ] && { echo "argument 1 required."; exit 1; }
  6. cd /mzx-build-workingdir
  7. mkdir -p zips
  8. cd megazeux
  9. git checkout $1
  10. arch/psp/CONFIG.PSP
  11. make debuglink -j8
  12. make package
  13. make archive
  14. mv build/dist/psp/* /mzx-build-workingdir/zips/
  15. make distclean