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
c25da37f
Commit
c25da37f
authored
Mar 01, 2022
by
phcoder
Browse files
Add WiiU compilation directives
parent
ea629ce5
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
c25da37f
...
...
@@ -72,6 +72,10 @@ include:
#- project: 'libretro-infrastructure/ci-templates'
#file: '/wii-static.yml'
# Nintendo WiiU
-
project
:
'
libretro-infrastructure/ci-templates'
file
:
'
/wiiu-static.yml'
# Nintendo Switch
-
project
:
'
libretro-infrastructure/ci-templates'
file
:
'
/libnx-static.yml'
...
...
@@ -208,6 +212,12 @@ libretro-build-ctr:
#- .libretro-wii-static-retroarch-master
#- .core-defs
# Nintendo WiiU
libretro-build-wiiu
:
extends
:
-
.libretro-wiiu-static-retroarch-master
-
.core-defs
# Nintendo Switch
libretro-build-libnx-aarch64
:
extends
:
...
...
Makefile
View file @
c25da37f
...
...
@@ -159,6 +159,16 @@ else ifeq ($(platform), libnx)
CFLAGS
+=
-march
=
armv8-a
-mtune
=
cortex-a57
-mtp
=
soft
-mcpu
=
cortex-a57+crc+fp+simd
-ffast-math
CXXFLAGS
:=
$(ASFLAGS)
$(CFLAGS)
STATIC_LINKING
=
1
# Nintendo WiiU
else
ifeq
($(platform), wiiu)
TARGET
:=
$(TARGET_NAME)
_libretro_
$(platform)
.a
CC
=
$(DEVKITPPC)
/bin/powerpc-eabi-gcc
$(EXE_EXT)
CXX
=
$(DEVKITPPC)
/bin/powerpc-eabi-g++
$(EXE_EXT)
AR
=
$(DEVKITPPC)
/bin/powerpc-eabi-ar
$(EXE_EXT)
CFLAGS
+=
-DGEKKO
-DWIIU
-DHW_RVL
-mwup
-mcpu
=
750
-meabi
-mhard-float
CXXFLAGS
+=
-DGEKKO
-DWIIU
-DHW_RVL
-mwup
-mcpu
=
750
-meabi
-mhard-float
HAVE_RZLIB
:=
1
STATIC_LINKING
=
1
else
ifeq
($(platform), retrofw)
EXT
?=
so
TARGET
:=
$(TARGET_NAME)
_libretro.
$(EXT)
...
...
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