OpenDingux support (#1019)

This commit is contained in:
mahoneyt944 2021-04-07 05:20:07 -04:00 committed by GitHub
parent 399e119887
commit 0fb4823456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 3 deletions

View File

@ -87,6 +87,10 @@ include:
- project: 'libretro-infrastructure/ci-templates' - project: 'libretro-infrastructure/ci-templates'
file: '/libnx-static.yml' file: '/libnx-static.yml'
# OpenDingux
- project: 'libretro-infrastructure/ci-templates'
file: '/dingux-mips32.yml'
# tvOS (AppleTV) # tvOS (AppleTV)
- project: 'libretro-infrastructure/ci-templates' - project: 'libretro-infrastructure/ci-templates'
file: '/tvos-arm64.yml' file: '/tvos-arm64.yml'
@ -245,6 +249,18 @@ libretro-build-libnx-aarch64:
- .libretro-libnx-static-retroarch-master - .libretro-libnx-static-retroarch-master
- .core-defs - .core-defs
# OpenDingux
libretro-build-dingux-mips32:
extends:
- .libretro-dingux-mips32-make-default
- .core-defs
# OpenDingux Beta
libretro-build-dingux-odbeta-mips32:
extends:
- .libretro-dingux-odbeta-mips32-make-default
- .core-defs
#################################### MISC #################################### #################################### MISC ####################################
# Emscripten # Emscripten
libretro-build-emscripten: libretro-build-emscripten:

View File

@ -468,14 +468,13 @@ else ifneq (,$(findstring armv,$(platform)))
# GCW0 # GCW0
else ifeq ($(platform), gcw0) else ifeq ($(platform), gcw0)
TARGET := $(TARGET_NAME)_libretro.so TARGET := $(TARGET_NAME)_libretro.so
CC = /opt/gcw0-toolchain/usr/bin/mipsel-linux-gcc-4.9.1 CC = /opt/gcw0-toolchain/usr/bin/mipsel-linux-gcc
CXX = /opt/gcw0-toolchain/usr/bin/mipsel-linux-g++ CXX = /opt/gcw0-toolchain/usr/bin/mipsel-linux-g++
AR = /opt/gcw0-toolchain/usr/bin/mipsel-linux-ar AR = /opt/gcw0-toolchain/usr/bin/mipsel-linux-ar
LDFLAGS += -shared -Wl,--version-script=link.T -Wl,-no-undefined LDFLAGS += -shared -Wl,--version-script=link.T -Wl,-no-undefined
PLATCFLAGS += -D__GCW0__ PLATCFLAGS += -D__GCW0__
LIBS := -lc -lgcc LIBS := -lc -lgcc -lm
fpic := -fPIC -nostdlib fpic := -fPIC -nostdlib
LIBS =
CFLAGS += -lm -march=mips32 -mtune=mips32r2 -mhard-float CFLAGS += -lm -march=mips32 -mtune=mips32r2 -mhard-float
# Emscripten # Emscripten