From d62c48d77f69ae986eb888c48d98a66643ca866d Mon Sep 17 00:00:00 2001 From: liberodark Date: Tue, 27 Apr 2021 19:46:21 +0200 Subject: [PATCH] Add New Devices Adding OGA/OGS Adding N2 Adding RockPro64 --- Makefile.libretro | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Makefile.libretro b/Makefile.libretro index 1f8a890..dcc4681 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -56,6 +56,27 @@ ifneq (,$(findstring unix,$(platform))) ENDIANNESS_DEFINES := -DLSB_FIRST -DBYTE_ORDER=LITTLE_ENDIAN PLATFORM_DEFINES := -DHAVE_ZLIB + # RockPro64 + ifneq (,$(findstring rockpro64,$(platform))) + ENDIANNESS_DEFINES += -DALIGN_LONG + CFLAGS += -fomit-frame-pointer -ffast-math + PLATFORM_DEFINES += -DARM -marm -march=armv7ve -mcpu=cortex-a72 -mtune=cortex-a72.cortex-a53 -mfloat-abi=hard + endif + + # Odroid-GOA + ifneq (,$(findstring classic_armv8_a35,$(platform))) + ENDIANNESS_DEFINES += -DALIGN_LONG + CFLAGS += -fomit-frame-pointer -ffast-math + PLATFORM_DEFINES += -DARM -marm -march=armv8-a+crc -mfpu=neon-fp-armv8 -mcpu=cortex-a35 -mtune=cortex-a35 -mfloat-abi=hard + endif + + # Odroid-N2 + ifneq (,$(findstring CortexA73_G12B,$(platform))) + ENDIANNESS_DEFINES += -DALIGN_LONG + CFLAGS += -fomit-frame-pointer -ffast-math + PLATFORM_DEFINES += -DARM -march=armv8-a+crc -mcpu=cortex-a73 -mtune=cortex-a73.cortex-a53 + endif + # Raspberry Pi ifneq (,$(findstring rpi,$(platform))) ENDIANNESS_DEFINES += -DALIGN_LONG