Skip to content

Commit

Permalink
Merge pull request #119 from jSTE0/miyoo-target
Browse files Browse the repository at this point in the history
platforms: Add Miyoo target
  • Loading branch information
inactive123 committed Apr 1, 2022
2 parents 0e75ab8 + 8a68fa4 commit c2b8ea0
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ include:
- project: 'libretro-infrastructure/ci-templates'
file: '/dingux-mips32.yml'

# OpenDingux (ARM)
- project: 'libretro-infrastructure/ci-templates'
file: '/dingux-arm32.yml'

# tvOS (AppleTV)
- project: 'libretro-infrastructure/ci-templates'
file: '/tvos-arm64.yml'
Expand Down Expand Up @@ -257,6 +261,12 @@ libretro-build-dingux-odbeta-mips32:
- .libretro-dingux-odbeta-mips32-make-default
- .core-defs

# Miyoo
libretro-build-miyoo-arm32:
extends:
- .libretro-miyoo-arm32-make-default
- .core-defs

#################################### MISC ##################################
# Emscripten
libretro-build-emscripten:
Expand Down
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,16 @@ else ifeq ($(platform), gcw0)
CFLAGS += -DDINGUX -fomit-frame-pointer -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float
HAVE_NETWORKING=0

# Miyoo
else ifeq ($(platform), miyoo)
TARGET := $(TARGET_NAME)_libretro.so
CC = /opt/miyoo/usr/bin/arm-linux-gcc
AR = /opt/miyoo/usr/bin/arm-linux-ar
fpic := -fPIC
SHARED := -shared -Wl,--version-script=common/libretro-link.T
CFLAGS += -DDINGUX -D_MIYOO -fomit-frame-pointer -ffast-math -mcpu=arm926ej-s
HAVE_NETWORKING=0

# Raspberry Pi 1
else ifeq ($(platform), rpi1)
TARGET := $(TARGET_NAME)_libretro.so
Expand Down
2 changes: 2 additions & 0 deletions common/libretro_core_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ struct retro_core_option_definition option_defs_us[] = {
},
#if defined(_3DS)
"25"
#elif defined(_MIYOO)
"15"
#elif defined(DINGUX)
"30"
#else
Expand Down

0 comments on commit c2b8ea0

Please sign in to comment.