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
c18ceb2c
Commit
c18ceb2c
authored
Mar 07, 2022
by
phcoder
Browse files
Add PS2 compilation
parent
bcac40de
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
c18ceb2c
...
@@ -60,6 +60,10 @@ include:
...
@@ -60,6 +60,10 @@ include:
-
project
:
'
libretro-infrastructure/ci-templates'
-
project
:
'
libretro-infrastructure/ci-templates'
file
:
'
/vita-static.yml'
file
:
'
/vita-static.yml'
# PlayStation2
-
project
:
'
libretro-infrastructure/ci-templates'
file
:
'
/ps2-static.yml'
# Nintendo 3DS
# Nintendo 3DS
-
project
:
'
libretro-infrastructure/ci-templates'
-
project
:
'
libretro-infrastructure/ci-templates'
file
:
'
/ctr-static.yml'
file
:
'
/ctr-static.yml'
...
@@ -194,6 +198,12 @@ libretro-build-psp:
...
@@ -194,6 +198,12 @@ libretro-build-psp:
-
.libretro-psp-static-retroarch-master
-
.libretro-psp-static-retroarch-master
-
.core-defs
-
.core-defs
# PlayStation2
libretro-build-ps2
:
extends
:
-
.libretro-ps2-static-retroarch-master
-
.core-defs
# Nintendo 3DS
# Nintendo 3DS
libretro-build-ctr
:
libretro-build-ctr
:
extends
:
extends
:
...
...
Makefile
View file @
c18ceb2c
...
@@ -255,6 +255,15 @@ else ifeq ($(platform), ctr)
...
@@ -255,6 +255,15 @@ else ifeq ($(platform), ctr)
DISABLE_ERROR_LOGGING
:=
1
DISABLE_ERROR_LOGGING
:=
1
ARM
=
1
ARM
=
1
STATIC_LINKING
=
1
STATIC_LINKING
=
1
# PS2
else
ifeq
($(platform), ps2)
TARGET
:=
$(TARGET_NAME)
_libretro_
$(platform)
.a
CC
=
mips64r5900el-ps2-elf-gcc
CXX
=
mips64r5900el-ps2-elf-g++
AR
=
mips64r5900el-ps2-elf-ar
CFLAGS
+=
-G0
-DPS2
-DUSE_RGB565
-DABGR1555
CXXFLAGS
+=
-G0
-DPS2
-DUSE_RGB565
-DABGR1555
STATIC_LINKING
=
1
else
else
CC
?=
gcc
CC
?=
gcc
TARGET
:=
$(TARGET_NAME)
_libretro.dll
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