4 if [[ $# -lt 2 ]]; then
5 echo "usage: $0 <arch> <platform> [make_args]"
9 if [[ $1 = "arm32" ]]; then
10 export CC=arm-linux-gnueabihf-gcc
11 export CXX=arm-linux-gnueabihf-g++
12 export LD=arm-linux-gnueabihf-ld
14 elif [[ $1 = "arm64" ]]; then
15 export CC=aarch64-linux-gnu-gcc
16 export CXX=aarch64-linux-gnu-g++
17 export LD=aarch64-linux-gnu-ld
20 echo "unsupported platform $1"
28 make -f Makefile.libretro platform=$plat "$@"
29 zip -9 "pcsx_rearmed_libretro_${aname}_${plat}.zip" pcsx_rearmed_libretro.so
30 make -f Makefile.libretro platform=$plat clean