Skip to content

Commit

Permalink
Merge pull request libretro#86 from salvacam/master
Browse files Browse the repository at this point in the history
add target Miyoo
  • Loading branch information
LibretroAdmin authored Mar 16, 2023
2 parents 9403328 + 408a83d commit 86be15d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
9 changes: 9 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'

#################################### MISC ##################################

# Stages for building
Expand Down Expand Up @@ -234,3 +238,8 @@ libretro-build-retrofw-mips32:
- .libretro-retrofw-mips32-make-default
- .core-defs

# Miyoo
libretro-build-miyoo-arm32:
extends:
- .libretro-miyoo-arm32-make-default
- .core-defs
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,16 @@ else ifeq ($(platform), retrofw)
CFLAGS += -fomit-frame-pointer -march=mips32 -mtune=mips32 -mhard-float
PLATFORM_DEFINES += -DRETROFW

#MIYOO
else ifeq ($(platform), miyoo)
TARGET := $(TARGET_NAME)_libretro.so
CC = /opt/miyoo/usr/bin/arm-linux-gcc
CXX = /opt/miyoo/usr/bin/arm-linux-g++
AR = /opt/miyoo/usr/bin/arm-linux-ar
fpic := -fPIC
SHARED := -shared -Wl,-version-script=link.T -Wl,-no-undefined
CFLAGS += -fomit-frame-pointer -march=armv5te -mtune=arm926ej-s

# emscripten
else ifeq ($(platform), emscripten)
TARGET := $(TARGET_NAME)_libretro_emscripten.bc
Expand Down

0 comments on commit 86be15d

Please sign in to comment.