Commit c18ceb2c authored by phcoder's avatar phcoder
Browse files

Add PS2 compilation

parent bcac40de
...@@ -60,6 +60,10 @@ include: ...@@ -60,6 +60,10 @@ include:
- project: 'libretro-infrastructure/ci-templates' - project: 'libretro-infrastructure/ci-templates'
file: '/vita-static.yml' file: '/vita-static.yml'
# PlayStation2
- project: 'libretro-infrastructure/ci-templates'
file: '/ps2-static.yml'
# Nintendo 3DS # Nintendo 3DS
- project: 'libretro-infrastructure/ci-templates' - project: 'libretro-infrastructure/ci-templates'
file: '/ctr-static.yml' file: '/ctr-static.yml'
...@@ -194,6 +198,12 @@ libretro-build-psp: ...@@ -194,6 +198,12 @@ libretro-build-psp:
- .libretro-psp-static-retroarch-master - .libretro-psp-static-retroarch-master
- .core-defs - .core-defs
# PlayStation2
libretro-build-ps2:
extends:
- .libretro-ps2-static-retroarch-master
- .core-defs
# Nintendo 3DS # Nintendo 3DS
libretro-build-ctr: libretro-build-ctr:
extends: extends:
......
...@@ -255,6 +255,15 @@ else ifeq ($(platform), ctr) ...@@ -255,6 +255,15 @@ else ifeq ($(platform), ctr)
DISABLE_ERROR_LOGGING := 1 DISABLE_ERROR_LOGGING := 1
ARM = 1 ARM = 1
STATIC_LINKING=1 STATIC_LINKING=1
# PS2
else ifeq ($(platform), ps2)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = mips64r5900el-ps2-elf-gcc
CXX = mips64r5900el-ps2-elf-g++
AR = mips64r5900el-ps2-elf-ar
CFLAGS += -G0 -DPS2 -DUSE_RGB565 -DABGR1555
CXXFLAGS += -G0 -DPS2 -DUSE_RGB565 -DABGR1555
STATIC_LINKING=1
else else
CC ?= gcc CC ?= gcc
TARGET := $(TARGET_NAME)_libretro.dll TARGET := $(TARGET_NAME)_libretro.dll
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment