From a70d200eb252100510662bc89aba0c634f0d87e9 Mon Sep 17 00:00:00 2001 From: Francisco Javier Trujillo Mata Date: Sun, 30 Dec 2018 17:47:23 +0100 Subject: [PATCH] Add PS2 recipes --- libretro-super.sh | 6 ++++++ recipes/playstation/ps2 | 2 ++ recipes/playstation/ps2.conf | 11 +++++++++++ recipes/playstation/ps2.ra | 1 + rules.d/core-rules.sh | 2 +- 5 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 recipes/playstation/ps2 create mode 100644 recipes/playstation/ps2.conf create mode 100644 recipes/playstation/ps2.ra diff --git a/libretro-super.sh b/libretro-super.sh index baad12e9..43b6f4b3 100755 --- a/libretro-super.sh +++ b/libretro-super.sh @@ -263,6 +263,12 @@ case "$platform" in FORMAT_COMPILER_TARGET="psp1" DIST_DIR="psp1" ;; + *ps2*) + platform=ps2 + FORMAT_EXT="a" + FORMAT_COMPILER_TARGET="ps2" + DIST_DIR="ps2" + ;; *wii*) platform=wii FORMAT_EXT="a" diff --git a/recipes/playstation/ps2 b/recipes/playstation/ps2 new file mode 100644 index 00000000..cafaede3 --- /dev/null +++ b/recipes/playstation/ps2 @@ -0,0 +1,2 @@ +2048 libretro-2048 https://github.com/libretro/libretro-2048.git master YES GENERIC Makefile . +quicknes libretro-quicknes https://github.com/libretro/QuickNES_Core.git master YES GENERIC Makefile . diff --git a/recipes/playstation/ps2.conf b/recipes/playstation/ps2.conf new file mode 100644 index 00000000..6030ab81 --- /dev/null +++ b/recipes/playstation/ps2.conf @@ -0,0 +1,11 @@ +PATH /home/buildbot/tools/devkitpro/devkitPSP/bin/ +DEVKITPRO /home/buildbot/tools/devkitpro/ +DEVKITPSP /home/buildbot/tools/devkitpro/devkitPSP/ +platform ps2 +PLATFORM ps2 +CC ee-gcc +CXX ee-g++ +MAKE /usr/bin/make +RA YES +CORE_JOB YES +MAKE make diff --git a/recipes/playstation/ps2.ra b/recipes/playstation/ps2.ra new file mode 100644 index 00000000..d8709919 --- /dev/null +++ b/recipes/playstation/ps2.ra @@ -0,0 +1 @@ +retroarch retroarch https://github.com/libretro/Retroarch.git PROJECT YES . diff --git a/rules.d/core-rules.sh b/rules.d/core-rules.sh index 1b19c237..610857fe 100644 --- a/rules.d/core-rules.sh +++ b/rules.d/core-rules.sh @@ -773,7 +773,7 @@ libretro_fmsx_name="fMSX" libretro_fmsx_git_url="https://github.com/libretro/fmsx-libretro.git" include_core_2048() { - register_module core "2048" -ngc -sncps3 -ps3 -wii + register_module core "2048" -ngc -sncps3 -ps2 -ps3 -wii } libretro_2048_git_url="https://github.com/libretro/libretro-2048.git" libretro_2048_build_makefile="Makefile.libretro"