From aa560bb8fe37cbd0113e22d61be269d817f3f9ce Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 4 May 2020 11:46:23 +0200 Subject: [PATCH] Fix psl1ght support --- .gitignore | 1 + libretro-config.sh | 11 +++++++++++ recipes/playstation/psl1ght.conf | 10 +++++++--- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e792e254..d0fab8cd 100644 --- a/.gitignore +++ b/.gitignore @@ -7,5 +7,6 @@ /dist/win*/ /dist/osx*/ /dist/wiiu +/dist/psl1ght /log/ .DS_Store diff --git a/libretro-config.sh b/libretro-config.sh index 6e379569..dc7fe5ea 100755 --- a/libretro-config.sh +++ b/libretro-config.sh @@ -510,6 +510,17 @@ case "$platform" in CXX="psp-g++${BINARY_EXT}" ;; + psl1ght) + DIST_DIR="psl1ght" + FORMAT_EXT=a + FORMAT=_psl1ght + FORMAT_COMPILER_TARGET=psl1ght + FORMAT_COMPILER_TARGET_ALT=psl1ght + + CC="powerpc64-ps3-elf-gcc${BINARY_EXT}" + CXX="powerpc64-ps3-elf-g++${BINARY_EXT}" + ;; + ps2) DIST_DIR="ps2" FORMAT_EXT=a diff --git a/recipes/playstation/psl1ght.conf b/recipes/playstation/psl1ght.conf index caeb7ab6..3b1dc1fb 100644 --- a/recipes/playstation/psl1ght.conf +++ b/recipes/playstation/psl1ght.conf @@ -1,9 +1,13 @@ -PSL1GHT /home/buildbot/tools/ps3dev -PS3DEV /home/buildbot/tools/ps3dev -PATH /home/buildbot/tools/ps3dev/bin:/home/buildbot/tools/ps3dev/ppu/bin:/home/buildbot/tools/ps3dev/spu/bin +PSL1GHT /home/buildbot/ps3dev +PS3DEV /home/buildbot/ps3dev +PATH /home/buildbot/ps3dev/bin:/home/buildbot/ps3dev/ppu/bin:/home/buildbot/ps3dev/spu/bin platform psl1ght PLATFORM psl1ght RA YES JOBS 2 CORE_JOB YES MAKE make +TARGET psl1ght +ARCH powerpc +CC powerpc64-ps3-elf-gcc +CXX powerpc64-ps3-elf-g++ \ No newline at end of file