Add support for rpi4 platform with cortex-a72 cpu
authorEric Matysek <eric.matysek@gmail.com>
Wed, 3 Jul 2019 21:30:14 +0000 (17:30 -0400)
committerEric Matysek <eric.matysek@gmail.com>
Wed, 3 Jul 2019 21:30:14 +0000 (17:30 -0400)
Makefile.libretro

index f58f284..5af8d75 100644 (file)
@@ -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