aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutechre2021-01-13 19:08:29 +0100
committerGitHub2021-01-13 19:08:29 +0100
commitb715d67a0fee8609b878d46ca644dd70f51dfef2 (patch)
treebaba2201259978b8d4f609493cf4e16ebbcdec6b
parent54686ee7ccbba7220aaf69892ad3d77515478776 (diff)
parent2bb77432e02bbe79d5da45aeee999637aa2997c5 (diff)
downloadpcsx_rearmed-b715d67a0fee8609b878d46ca644dd70f51dfef2.tar.gz
pcsx_rearmed-b715d67a0fee8609b878d46ca644dd70f51dfef2.tar.bz2
pcsx_rearmed-b715d67a0fee8609b878d46ca644dd70f51dfef2.zip
Merge pull request #487 from liberodark/patch-1
add H5 + N2 support
-rw-r--r--Makefile.libretro19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile.libretro b/Makefile.libretro
index 6a436ed..e735705 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -59,6 +59,25 @@ ifneq ($(findstring __thumb__,$(shell $(CC) -E -dD $(CFLAGS) include/arm_feature
endif
endif
+# ODROIDN2
+else ifneq (,$(findstring CortexA73_G12B,$(platform)))
+ TARGET := $(TARGET_NAME)_libretro.so
+ fpic := -fPIC
+ SHARED := -shared -Wl,-version-script=link.T
+ ARCH = arm64
+ CFLAGS += -fomit-frame-pointer -ffast-math -DARM
+ CPUFLAGS += -march=armv8-a+crc -mfpu=neon-fp-armv8 -mcpu=cortex-a73 -mtune=cortex-a73.cortex-a53
+
+# ALLWINNER H5
+else ifneq (,$(findstring h5,$(platform)))
+ TARGET := $(TARGET_NAME)_libretro.so
+ fpic := -fPIC
+ SHARED := -shared -Wl,-version-script=link.T
+ ARCH = arm64
+ DYNAREC ?= lightrec
+ CFLAGS += -fomit-frame-pointer -ffast-math -DARM
+ CPUFLAGS += -march=armv8-a+crc -mfpu=neon-fp-armv8 -mcpu=cortex-a53 -mtune=cortex-a53
+
else ifeq ($(platform), linux-portable)
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC -nostdlib