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
retro8
Commits
e5eb7383
Unverified
Commit
e5eb7383
authored
Oct 13, 2021
by
Libretro-Admin
Committed by
GitHub
Oct 13, 2021
Browse files
Merge pull request #5 from salvacam/miyoo
add Miyoo target
parents
666dc8ec
9db55763
Pipeline
#90156
passed with stage
in 4 minutes and 15 seconds
Changes
2
Pipelines
153
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e5eb7383
...
...
@@ -72,6 +72,10 @@ include:
-
project
:
'
libretro-infrastructure/ci-templates'
file
:
'
/dingux-mips32.yml'
# OpenDingux (ARM)
-
project
:
'
libretro-infrastructure/ci-templates'
file
:
'
/dingux-arm32.yml'
#################################### MISC ##################################
# Stages for building
...
...
@@ -189,3 +193,8 @@ libretro-build-retrofw-mips32:
-
.libretro-retrofw-mips32-make-default
-
.core-defs
# Miyoo
libretro-build-miyoo-arm32
:
extends
:
-
.libretro-miyoo-arm32-make-default
-
.core-defs
Makefile
View file @
e5eb7383
...
...
@@ -170,6 +170,22 @@ else ifeq ($(platform), retrofw)
CFLAGS
+=
-fno-unwind-tables
-fno-asynchronous-unwind-tables
CFLAGS
+=
-fmerge-all-constants
-fno-math-errno
-fno-stack-protector
-fno-ident
CXXFLAGS
:=
$(ASFLAGS)
$(CFLAGS)
else
ifeq
($(platform), miyoo)
EXT
?=
so
TARGET
:=
$(TARGET_NAME)
_libretro.
$(EXT)
CC
=
/opt/miyoo/usr/bin/arm-linux-gcc
CXX
=
/opt/miyoo/usr/bin/arm-linux-g++
fpic
:=
-fPIC
SHARED
:=
-shared
-Wl
,--version-script
=
$(CORE_DIR)
/link.T
-Wl
,--no-undefined
LIBS
+=
-lpthread
CFLAGS
+=
-fomit-frame-pointer
-ffast-math
-march
=
armv5te
-mtune
=
arm926ej-s
CFLAGS
+=
-ffunction-sections
-fdata-sections
-flto
CFLAGS
+=
-falign-functions
=
1
-falign-jumps
=
1
-falign-loops
=
1
CFLAGS
+=
-fomit-frame-pointer
-ffast-math
-fmerge-all-constants
CFLAGS
+=
-funsafe-math-optimizations
-fsingle-precision-constant
-fexpensive-optimizations
CFLAGS
+=
-fno-unwind-tables
-fno-asynchronous-unwind-tables
CFLAGS
+=
-fmerge-all-constants
-fno-math-errno
-fno-stack-protector
-fno-ident
CXXFLAGS
:=
$(ASFLAGS)
$(CFLAGS)
else
ifeq
($(platform), vita)
TARGET
:=
$(TARGET_NAME)
_vita.a
CC
=
arm-vita-eabi-gcc
...
...
@@ -190,6 +206,9 @@ ifeq ($(DEBUG), 1)
else
ifeq
($(platform), retrofw)
CFLAGS
+=
-Ofast
CXXFLAGS
+=
-Ofast
else
ifeq
($(platform), miyoo)
CFLAGS
+=
-Ofast
CXXFLAGS
+=
-Ofast
else
CFLAGS
+=
-O3
CXXFLAGS
+=
-O3
...
...
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