summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortwinaphex2016-08-07 16:34:34 +0200
committertwinaphex2016-08-07 16:34:34 +0200
commit70fff8152ff39b6a781c4331c20963ef1fc4f8a2 (patch)
tree009e533eb141dd46117f53d019249f0484e3cfc1 /Makefile
parentc11bdbce9928c98e9bbe3e9466024ee203072d25 (diff)
downloadpicogpsp-70fff8152ff39b6a781c4331c20963ef1fc4f8a2.tar.gz
picogpsp-70fff8152ff39b6a781c4331c20963ef1fc4f8a2.tar.bz2
picogpsp-70fff8152ff39b6a781c4331c20963ef1fc4f8a2.zip
(Vita) Try to enable dynarec
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index bfd43fc..955504d 100644
--- a/Makefile
+++ b/Makefile
@@ -160,7 +160,7 @@ else ifeq ($(platform), qnx)
# PS3
else ifeq ($(platform), ps3)
- TARGET := $(TARGET_NAME)_libretro_ps3.a
+ TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-gcc.exe
AR = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-ar.exe
CFLAGS += -DMSB_FIRST -D__ppc__
@@ -176,7 +176,7 @@ else ifeq ($(platform), sncps3)
# Lightweight PS3 Homebrew SDK
else ifeq ($(platform), psl1ght)
- TARGET := $(TARGET_NAME)_libretro_psl1ght.a
+ TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = $(PS3DEV)/ppu/bin/ppu-gcc$(EXE_EXT)
AR = $(PS3DEV)/ppu/bin/ppu-ar$(EXE_EXT)
CFLAGS += -DMSB_FIRST -D__ppc__
@@ -184,7 +184,7 @@ else ifeq ($(platform), psl1ght)
# PSP
else ifeq ($(platform), psp1)
- TARGET := $(TARGET_NAME)_libretro_psp1.a
+ TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = psp-gcc$(EXE_EXT)
AR = psp-ar$(EXE_EXT)
CFLAGS += -DPSP -G0
@@ -192,16 +192,19 @@ else ifeq ($(platform), psp1)
# Vita
else ifeq ($(platform), vita)
- TARGET := $(TARGET_NAME)_libretro_vita.a
+ TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = arm-vita-eabi-gcc$(EXE_EXT)
AR = arm-vita-eabi-ar$(EXE_EXT)
CFLAGS += -DVITA
+ CFLAGS += -marm -mcpu=cortex-a9
+ ASFLAGS += -mcpu=cortex-a9
STATIC_LINKING = 1
+ HAVE_DYNAREC = 1
CPU_ARCH := arm
# CTR(3DS)
else ifeq ($(platform), ctr)
- TARGET := $(TARGET_NAME)_libretro_ctr.a
+ TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = $(DEVKITARM)/bin/arm-none-eabi-gcc$(EXE_EXT)
CXX = $(DEVKITARM)/bin/arm-none-eabi-g++$(EXE_EXT)
AR = $(DEVKITARM)/bin/arm-none-eabi-ar$(EXE_EXT)