From 46ffb580d113265a39017e948fe87639492c8c91 Mon Sep 17 00:00:00 2001 From: Logan McNaughton Date: Wed, 4 May 2016 20:32:06 -0600 Subject: [PATCH] Add rpi3 platform --- Makefile.libretro | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile.libretro b/Makefile.libretro index 72ce07b4..2abe7112 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))) -- 2.39.5