mirror of
https://github.com/libretro/libretro-super.git
synced 2026-11-07 03:05:59 -10:00
Create the build for the PS2
This commit is contained in:
1 parent
d638a99e5f
commit
ff77770b3f
3 files changed
+30
-2
No files matched your search
+2
-2
@@ -1,5 +1,5 @@
|
||||
/libretro-*
|
||||
/libretro64-*
|
||||
/libretro-*/
|
||||
/libretro64-*/
|
||||
/retroarch/
|
||||
/build-summary.log
|
||||
/build-revisions/
|
||||
|
||||
Executable
+17
@@ -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
|
||||
|
||||
Reference in new issue
Block a user