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
d0dd2376
Commit
d0dd2376
authored
Feb 27, 2022
by
phcoder
Browse files
Add 3DS compilation directives
parent
feb78b96
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d0dd2376
...
...
@@ -56,6 +56,10 @@ include:
-
project
:
'
libretro-infrastructure/ci-templates'
file
:
'
/vita-static.yml'
# Nintendo 3DS
-
project
:
'
libretro-infrastructure/ci-templates'
file
:
'
/ctr-static.yml'
# Nintendo GameCube
#- project: 'libretro-infrastructure/ci-templates'
#file: '/ngc-static.yml'
...
...
@@ -176,6 +180,12 @@ libretro-build-tvos-arm64:
-
.core-defs
################################### CONSOLES #################################
# Nintendo 3DS
libretro-build-ctr
:
extends
:
-
.libretro-ctr-static-retroarch-master
-
.core-defs
# Nintendo GameCube
#libretro-build-ngc:
#extends:
...
...
Makefile
View file @
d0dd2376
...
...
@@ -198,6 +198,24 @@ else ifeq ($(platform), vita)
AR
=
arm-vita-eabi-ar
CXXFLAGS
+=
-Wl
,-q
-Wall
-O3
STATIC_LINKING
=
1
# CTR/3DS
else
ifeq
($(platform), ctr)
TARGET
:=
$(TARGET_NAME)
_libretro_
$(platform)
.a
CC
=
$(DEVKITARM)
/bin/arm-none-eabi-gcc
$(EXE_EXT)
CXX
=
$(DEVKITARM)
/bin/arm-none-eabi-g++
$(EXE_EXT)
AR
=
$(DEVKITARM)
/bin/arm-none-eabi-ar
$(EXE_EXT)
CFLAGS
+=
-DARM11
-D_3DS
CFLAGS
+=
-march
=
armv6k
-mtune
=
mpcore
-mfloat-abi
=
hard
CFLAGS
+=
-Wall
-mword-relocations
CFLAGS
+=
-fomit-frame-pointer
-ffast-math
CXXFLAGS
+=
-DARM11
-D_3DS
CXXFLAGS
+=
-march
=
armv6k
-mtune
=
mpcore
-mfloat-abi
=
hard
CXXFLAGS
+=
-Wall
-mword-relocations
CXXFLAGS
+=
-fomit-frame-pointer
-ffast-math
HAVE_RZLIB
:=
1
DISABLE_ERROR_LOGGING
:=
1
ARM
=
1
STATIC_LINKING
=
1
else
CC
?=
gcc
TARGET
:=
$(TARGET_NAME)
_libretro.dll
...
...
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