mirror of
https://github.com/libretro/libretro-super.git
synced 2026-10-11 22:09:51 +00:00
Create the build for the PS2
This commit is contained in:
+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