Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
snes9x2010
Commits
a6bb7e2e
Unverified
Commit
a6bb7e2e
authored
Jan 14, 2021
by
Libretro-Admin
Committed by
GitHub
Jan 14, 2021
Browse files
Merge pull request #141 from liberodark/patch-1
Add RPI4 64 + N2 + OGA Support
parents
bea042df
ed2db26b
Pipeline
#12557
passed with stages
in 19 minutes and 55 seconds
Changes
1
Pipelines
10
Hide whitespace changes
Inline
Side-by-side
Makefile.libretro
View file @
a6bb7e2e
...
...
@@ -289,6 +289,26 @@ else ifeq ($(platform), rpi4)
CFLAGS
+=
-fomit-frame-pointer
-ffast-math
HAVE_NEON
=
1
# Raspberry Pi 4 (64-bit)
else
ifeq
($(platform), rpi4_64)
TARGET
:=
$(TARGET_NAME)
_libretro.so
fpic
:=
-fPIC
SHARED
:=
-shared
-Wl
,--version-script
=
libretro/link.T
-Wl
,--no-undefined
CFLAGS
+=
-DARM
CFLAGS
+=
-mcpu
=
cortex-a72
-mtune
=
cortex-a72
-funsafe-math-optimizations
CFLAGS
+=
-fomit-frame-pointer
-ffast-math
HAVE_NEON
=
1
# ODROIDN2
else
ifneq
(,$(findstring CortexA73_G12B,$(platform)))
TARGET
:=
$(TARGET_NAME)
_libretro.so
fpic
:=
-fPIC
SHARED
:=
-shared
-Wl
,--version-script
=
libretro/link.T
-Wl
,--no-undefined
ARCH
=
arm64
HAVE_NEON
=
1
CFLAGS
+=
-fomit-frame-pointer
-ffast-math
-DARM
-funsafe-math-optimizations
CFLAGS
+=
-march
=
armv8-a+crc
-mcpu
=
cortex-a73
-mtune
=
cortex-a73.cortex-a53
# Classic Platforms ####################
# Platform affix = classic_<ISA>_<µARCH>
# Help at https://modmyclassic.com/comp
...
...
@@ -325,6 +345,29 @@ else ifeq ($(platform), classic_armv7_a7)
endif
#######################################
# (armv8 a35, hard point, neon based) ###
# Odroid Go Advance
else
ifeq
($(platform), classic_armv8_a35)
TARGET
:=
$(TARGET_NAME)
_libretro.so
fpic
:=
-fPIC
SHARED
:=
-shared
-Wl
,--version-script
=
libretro/link.T
-Wl
,--no-undefined
CFLAGS
+=
-Ofast
\
-flto
=
4
-fwhole-program
-fuse-linker-plugin
\
-fdata-sections
-ffunction-sections
-Wl
,--gc-sections
\
-fno-stack-protector
-fno-ident
-fomit-frame-pointer
\
-falign-functions
=
1
-falign-jumps
=
1
-falign-loops
=
1
\
-fno-unwind-tables
-fno-asynchronous-unwind-tables
-fno-unroll-loops
\
-fmerge-all-constants
-fno-math-errno
\
-marm
-mcpu
=
cortex-a35
-mfpu
=
neon-fp-armv8
-mfloat-abi
=
hard
CXXFLAGS
+=
$(CFLAGS)
CPPFLAGS
+=
$(CFLAGS)
ASFLAGS
+=
$(CFLAGS)
HAVE_NEON
=
1
ARCH
=
arm
BUILTIN_GPU
=
neon
USE_DYNAREC
=
1
#########################################
# Xbox 360
else
ifeq
($(platform), xenon)
EXT
=
a
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment