Commit ea629ce5 authored by phcoder's avatar phcoder
Browse files

PSP compilation directives

parent 343da446
......@@ -52,6 +52,10 @@ include:
file: '/ios9.yml'
################################## CONSOLES ################################
# PlayStation Portable
- project: 'libretro-infrastructure/ci-templates'
file: '/psp-static.yml'
# PlayStation Vita
- project: 'libretro-infrastructure/ci-templates'
file: '/vita-static.yml'
......@@ -180,6 +184,12 @@ libretro-build-tvos-arm64:
- .core-defs
################################### CONSOLES #################################
# PlayStation Portable
libretro-build-psp:
extends:
- .libretro-psp-static-retroarch-master
- .core-defs
# Nintendo 3DS
libretro-build-ctr:
extends:
......
......@@ -198,6 +198,15 @@ else ifeq ($(platform), vita)
AR = arm-vita-eabi-ar
CXXFLAGS += -Wl,-q -Wall -O3
STATIC_LINKING = 1
# PSP
else ifeq ($(platform), psp1)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = psp-gcc
CXX = psp-g++
AR = psp-ar
CFLAGS += -G0 -DPSP -DUSE_RGB565
CXXFLAGS += -G0 -DPSP -DUSE_RGB565
STATIC_LINKING=1
# CTR/3DS
else ifeq ($(platform), ctr)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
......
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