aboutsummaryrefslogtreecommitdiff
path: root/Makefile.libretro
diff options
context:
space:
mode:
authornegativeExponent2020-02-09 00:25:27 +0800
committernegativeExponent2020-02-09 01:11:52 +0800
commit3d96277d011b4d683d682740eed61b1113a613b1 (patch)
treebbbd0fd316d04a9f58f8247653d437f71fd93c37 /Makefile.libretro
parent41ebc18e90652cde98f7b2b823897e9db5f92201 (diff)
downloadpcsx_rearmed-3d96277d011b4d683d682740eed61b1113a613b1.tar.gz
pcsx_rearmed-3d96277d011b4d683d682740eed61b1113a613b1.tar.bz2
pcsx_rearmed-3d96277d011b4d683d682740eed61b1113a613b1.zip
Update Makefile.libretro
Diffstat (limited to 'Makefile.libretro')
-rw-r--r--Makefile.libretro21
1 files changed, 16 insertions, 5 deletions
diff --git a/Makefile.libretro b/Makefile.libretro
index 64cff49..91e6e05 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -70,10 +70,11 @@ else ifeq ($(platform), linux-portable)
# OS X
else ifeq ($(platform), osx)
+ DYNAREC ?= ari64
TARGET := $(TARGET_NAME)_libretro.dylib
fpic := -fPIC
fpic += -mmacosx-version-min=10.1
-ifeq ($(DYNAREC),)
+ifeq ($(DYNAREC),lightrec)
# Override
TARGET := $(TARGET_NAME)_interpreter_libretro.dylib
endif
@@ -91,10 +92,11 @@ else ifeq ($(platform),$(filter $(platform),ios-arm64))
else ifneq (,$(findstring ios,$(platform)))
ARCH := arm
+ DYNAREC ?= ari64
HAVE_NEON = 1
BUILTIN_GPU = neon
TARGET := $(TARGET_NAME)_libretro_ios.dylib
-ifeq ($(DYNAREC),)
+ifeq ($(DYNAREC),lightrec)
# Override
TARGET := $(TARGET_NAME)_interpreter_libretro_ios.dylib
endif
@@ -194,6 +196,7 @@ else ifeq ($(platform), vita)
HAVE_NEON = 1
BUILTIN_GPU = neon
+ DYNAREC = ari64
DRC_CACHE_BASE = 0
ARCH = arm
@@ -214,6 +217,7 @@ else ifeq ($(platform), ctr)
# CFLAGS += -DPCSX
BUILTIN_GPU = unai
+ DYNAREC = ari64
DRC_CACHE_BASE = 0
ARCH = arm
HAVE_NEON = 0
@@ -247,6 +251,7 @@ else ifeq ($(platform), qnx)
CC = qcc -Vgcc_ntoarmv7le
CC_AS = $(CC)
HAVE_NEON = 1
+ DYNAREC = ari64
DRC_CACHE_BASE = 0
BUILTIN_GPU = neon
ARCH = arm
@@ -266,6 +271,7 @@ else ifeq ($(platform), rpi2)
HAVE_NEON = 1
ARCH = arm
BUILTIN_GPU = neon
+ DYNAREC = ari64
#Raspberry Pi 3
else ifeq ($(platform), rpi3)
@@ -276,6 +282,7 @@ else ifeq ($(platform), rpi3)
HAVE_NEON = 1
ARCH = arm
BUILTIN_GPU = neon
+ DYNAREC = ari64
#Raspberry Pi 4
else ifeq ($(platform), rpi4)
@@ -286,6 +293,7 @@ else ifeq ($(platform), rpi4)
HAVE_NEON = 1
ARCH = arm
BUILTIN_GPU = neon
+ DYNAREC = ari64
# Classic Platforms ####################
# Platform affix = classic_<ISA>_<µARCH>
@@ -310,6 +318,7 @@ else ifeq ($(platform), classic_armv7_a7)
HAVE_NEON = 1
ARCH = arm
BUILTIN_GPU = neon
+ DYNAREC = ari64
ifeq ($(shell echo `$(CC) -dumpversion` "< 4.9" | bc -l), 1)
CFLAGS += -march=armv7-a
else
@@ -331,6 +340,7 @@ else ifeq ($(platform), classic_armv8_a35)
HAVE_NEON = 1
ARCH = arm
BUILTIN_GPU = neon
+ DYNAREC = ari64
LDFLAGS += -static-libgcc -static-libstdc++ -fPIC
#######################################
@@ -368,6 +378,7 @@ else ifneq (,$(findstring armv,$(platform)))
ASFLAGS += -mfloat-abi=hard
endif
ARCH = arm
+ DYNAREC = ari64
# Windows
else
@@ -413,9 +424,9 @@ NO_CONFIG_MAK = yes
# what does this do
#libretro_all: all
#ifeq ($(platform),ios)
-#ifeq ($(USE_DYNAREC),1)
-# make -f Makefile.libretro USE_DYNAREC=0 platform=$(platform) clean
-# make -f Makefile.libretro USE_DYNAREC=0 platform=$(platform)
+#ifeq ($(DYNAREC),1)
+# make -f Makefile.libretro DYNAREC=0 platform=$(platform) clean
+# make -f Makefile.libretro DYNAREC=0 platform=$(platform)
#endif
#endif