aboutsummaryrefslogtreecommitdiff
path: root/Makefile.libretro
diff options
context:
space:
mode:
authorLogan McNaughton2016-05-04 20:32:06 -0600
committerLogan McNaughton2016-05-04 20:32:06 -0600
commit46ffb580d113265a39017e948fe87639492c8c91 (patch)
tree4531e257baac8b22e7d25dcabb56fa98006c79df /Makefile.libretro
parentf125f44150373d6512f25a1066d0d2174f0616f6 (diff)
downloadpcsx_rearmed-46ffb580d113265a39017e948fe87639492c8c91.tar.gz
pcsx_rearmed-46ffb580d113265a39017e948fe87639492c8c91.tar.bz2
pcsx_rearmed-46ffb580d113265a39017e948fe87639492c8c91.zip
Add rpi3 platform
Diffstat (limited to 'Makefile.libretro')
-rw-r--r--Makefile.libretro12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.libretro b/Makefile.libretro
index 72ce07b..2abe711 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -203,6 +203,18 @@ else ifeq ($(platform), rpi2)
ARCH = arm
BUILTIN_GPU = neon
USE_DYNAREC = 1
+
+#Raspberry Pi 3
+else ifeq ($(platform), rpi3)
+ TARGET := $(TARGET_NAME)_libretro.so
+ fpic := -fPIC
+ SHARED := -shared -Wl,--no-undefined
+ CFLAGS += -marm -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard
+ ASFLAGS += -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard
+ HAVE_NEON = 1
+ ARCH = arm
+ BUILTIN_GPU = neon
+ USE_DYNAREC = 1
# ARM
else ifneq (,$(findstring armv,$(platform)))