aboutsummaryrefslogtreecommitdiff
path: root/Makefile.libretro
diff options
context:
space:
mode:
authortwinaphex2015-09-01 00:23:16 +0200
committertwinaphex2015-09-01 00:23:16 +0200
commitc90258c8ca8d207f24c3de741572c0ef2d1e9cb8 (patch)
tree825f694824d57e0882dcc97eb40f917e458ee822 /Makefile.libretro
parent33b8211141a95cde64763391e4c54586929f3ee8 (diff)
downloadpcsx_rearmed-c90258c8ca8d207f24c3de741572c0ef2d1e9cb8.tar.gz
pcsx_rearmed-c90258c8ca8d207f24c3de741572c0ef2d1e9cb8.tar.bz2
pcsx_rearmed-c90258c8ca8d207f24c3de741572c0ef2d1e9cb8.zip
(Vita) Add target - not finished
Diffstat (limited to 'Makefile.libretro')
-rw-r--r--Makefile.libretro11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.libretro b/Makefile.libretro
index d08bef1..8115510 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -112,6 +112,17 @@ else ifeq ($(platform), psp1)
AR = psp-ar$(EXE_EXT)
CFLAGS += -DPSP -G0
+# Vita
+else ifeq ($(platform), vita)
+ TARGET := $(TARGET_NAME)_libretro_vita.a
+ CC = arm-vita-eabi-gcc$(EXE_EXT)
+ AR = arm-vita-eabi-ar$(EXE_EXT)
+ CFLAGS += -DVITA
+ CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -marm
+ ASFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon
+ HAVE_NEON = 1
+ BUILTIN_GPU = neon
+
# Xbox 360
else ifeq ($(platform), xenon)
TARGET := $(TARGET_NAME)_libretro_xenon360.a