From 40aec7add0d09da897501d89462c9037e5ee8219 Mon Sep 17 00:00:00 2001 From: Eric Matysek Date: Wed, 3 Jul 2019 17:30:14 -0400 Subject: [PATCH] Add support for rpi4 platform with cortex-a72 cpu --- Makefile.libretro | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile.libretro b/Makefile.libretro index f58f2844..5af8d754 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__<µARCH> # Help at https://modmyclassic.com/comp -- 2.39.5