Skip to content

Commit d4c7e1e

Browse files
authored
add armv8 support
1 parent 1aa4b9e commit d4c7e1e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Makefile.libretro

+17
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,23 @@ else ifeq ($(platform), classic_armv7_a7)
185185
endif
186186
#######################################
187187

188+
# (armv8 a35, hard point, neon based) ###
189+
# PlayStation Classic
190+
else ifeq ($(platform), classic_armv8_a35)
191+
TARGET := $(TARGET_NAME)_libretro.so
192+
fpic := -fPIC
193+
SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T
194+
CFLAGS += -Ofast \
195+
-fuse-linker-plugin \
196+
-fno-stack-protector -fno-ident -fomit-frame-pointer \
197+
-fmerge-all-constants -ffast-math -funroll-all-loops \
198+
-marm -mcpu=cortex-a35 -mfpu=neon-fp-armv8 -mfloat-abi=hard
199+
HAVE_NEON = 1
200+
ARCH = arm
201+
FLAGS += -D__LINUX__ -DARM -marm
202+
LDFLAGS += -marm -mcpu=cortex-a35 -mfpu=neon-fp-armv8 -mfloat-abi=hard -Ofast -flto -fuse-linker-plugin
203+
#######################################
204+
188205
# cross Windows
189206
else ifeq ($(platform), wincross64)
190207
TARGET := $(TARGET_NAME)_libretro.dll

0 commit comments

Comments
 (0)