aboutsummaryrefslogtreecommitdiff
path: root/Makefile.libretro
diff options
context:
space:
mode:
authorEric Matysek2019-07-03 17:30:14 -0400
committerEric Matysek2019-07-03 17:30:14 -0400
commit40aec7add0d09da897501d89462c9037e5ee8219 (patch)
treea9de279314cf227d55e59b544d210999073f8a9a /Makefile.libretro
parentf7d6ffe65229fdb9245896d2bd4a9f8937ddd8df (diff)
downloadpcsx_rearmed-40aec7add0d09da897501d89462c9037e5ee8219.tar.gz
pcsx_rearmed-40aec7add0d09da897501d89462c9037e5ee8219.tar.bz2
pcsx_rearmed-40aec7add0d09da897501d89462c9037e5ee8219.zip
Add support for rpi4 platform with cortex-a72 cpu
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 f58f284..5af8d75 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -253,6 +253,17 @@ else ifeq ($(platform), rpi3)
BUILTIN_GPU = neon
USE_DYNAREC = 1
+#Raspberry Pi 4
+else ifeq ($(platform), rpi4)
+ TARGET := $(TARGET_NAME)_libretro.so
+ fpic := -fPIC
+ CFLAGS += -marm -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -mfloat-abi=hard
+ ASFLAGS += -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -mfloat-abi=hard
+ HAVE_NEON = 1
+ ARCH = arm
+ BUILTIN_GPU = neon
+ USE_DYNAREC = 1
+
# Classic Platforms ####################
# Platform affix = classic_<ISA>_<µARCH>
# Help at https://modmyclassic.com/comp