mirror of
https://github.com/libretro/libretro-super
synced 2024-12-25 15:20:40 +00:00
Create the build for the PS2
This commit is contained in:
parent
d638a99e5f
commit
ff77770b3f
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,5 +1,5 @@
|
||||
/libretro-*
|
||||
/libretro64-*
|
||||
/libretro-*/
|
||||
/libretro64-*/
|
||||
/retroarch/
|
||||
/build-summary.log
|
||||
/build-revisions/
|
||||
|
17
libretro-build-ps2.sh
Executable file
17
libretro-build-ps2.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#! /usr/bin/env bash
|
||||
# vim: set ts=3 sw=3 noet ft=sh : bash
|
||||
|
||||
SCRIPT="${0#./}"
|
||||
BASE_DIR="${SCRIPT%/*}"
|
||||
WORKDIR="$PWD"
|
||||
|
||||
if [ "$BASE_DIR" = "$SCRIPT" ]; then
|
||||
BASE_DIR="$WORKDIR"
|
||||
else
|
||||
if [[ "$0" != /* ]]; then
|
||||
# Make the path absolute
|
||||
BASE_DIR="$WORKDIR/$BASE_DIR"
|
||||
fi
|
||||
fi
|
||||
|
||||
platform=ps2 ${BASE_DIR}/libretro-build.sh $@
|
@ -473,6 +473,17 @@ case "$platform" in
|
||||
CXX="psp-g++${BINARY_EXT}"
|
||||
;;
|
||||
|
||||
ps2)
|
||||
DIST_DIR="ps2"
|
||||
FORMAT_EXT=a
|
||||
FORMAT=_ps2
|
||||
FORMAT_COMPILER_TARGET=ps2
|
||||
FORMAT_COMPILER_TARGET_ALT=ps2
|
||||
|
||||
CC="ee-gcc${BINARY_EXT}"
|
||||
CXX="ee-g++${BINARY_EXT}"
|
||||
;;
|
||||
|
||||
ctr)
|
||||
DIST_DIR="ctr"
|
||||
FORMAT_EXT=a
|
||||
|
Loading…
Reference in New Issue
Block a user