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
flycast
Commits
1331ca46
Commit
1331ca46
authored
Nov 03, 2021
by
Romain TISSERAND
Browse files
Add generic AArch64 Cortex-A53 / GLES 2.0 target + HardKernel ODROID-C4 target (Amlogic S905x3)
parent
4a913e06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
1331ca46
...
...
@@ -376,6 +376,53 @@ else ifeq ($(platform), sun8i_legacy)
#######################################
# Generic AArch64 Cortex-A53 OpenGL ES 2.0 target
else
ifeq
($(platform), arm64_cortex_a53_gles2)
EXT
?=
so
TARGET
:=
$(TARGET_NAME)
_libretro.
$(EXT)
SHARED
+=
-shared
-Wl
,--version-script
=
link.T
LDFLAGS
+=
-Wl
,--no-undefined
fpic
=
-fPIC
LIBS
+=
-lrt
ARM_FLOAT_ABI_HARD
=
0
FORCE_GLES
=
1
SINGLE_PREC_FLAGS
=
1
CPUFLAGS
+=
-DHOST_CPU
=
0x20000006
-DTARGET_LINUX_ARMv8
-frename-registers
CFLAGS
+=
-mcpu
=
cortex-a53
-mtune
=
cortex-a53
$(CPUFLAGS)
CXXFLAGS
+=
-mcpu
=
cortex-a53
-mtune
=
cortex-a53
$(CPUFLAGS)
ASFLAGS
+=
$(CFLAGS)
-c
-frename-registers
-fno-strict-aliasing
-ffast-math
-ftree-vectorize
PLATFORM_EXT
:=
unix
WITH_DYNAREC
=
arm64
HAVE_GENERIC_JIT
=
0
HAVE_VULKAN
=
0
HAVE_LTCG
=
0
CORE_DEFINES
+=
-DLOW_END
#######################################
# ARM64 SM1 Odroid C4
else
ifeq
($(platform), odroidc4)
EXT
?=
so
TARGET
:=
$(TARGET_NAME)
_libretro.
$(EXT)
SHARED
+=
-shared
-Wl
,--version-script
=
link.T
LDFLAGS
+=
-Wl
,--no-undefined
fpic
=
-fPIC
LIBS
+=
-lrt
ARM_FLOAT_ABI_HARD
=
0
FORCE_GLES
=
1
SINGLE_PREC_FLAGS
=
1
CPUFLAGS
+=
-DHOST_CPU
=
0x20000006
-DTARGET_LINUX_ARMv8
-frename-registers
CFLAGS
+=
-mcpu
=
cortex-a55
-mtune
=
cortex-a55
$(CPUFLAGS)
CXXFLAGS
+=
-mcpu
=
cortex-a55
-mtune
=
cortex-a55
$(CPUFLAGS)
ASFLAGS
+=
$(CFLAGS)
-c
-frename-registers
-fno-strict-aliasing
-ffast-math
-ftree-vectorize
PLATFORM_EXT
:=
unix
WITH_DYNAREC
=
arm64
HAVE_GENERIC_JIT
=
0
HAVE_VULKAN
=
0
HAVE_LTCG
=
0
#######################################
# ARM64 (switch-lakka)
else
ifeq
($(platform), arm64)
EXT
?=
so
...
...
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