From 2749ecb5fca6f9bbb5e78ddcfc280ca7a138c066 Mon Sep 17 00:00:00 2001 From: salvacam Date: Mon, 10 Jan 2022 19:52:34 +0100 Subject: add Miyoo target --- .gitlab-ci.yml | 10 ++++++++++ Makefile | 11 +++++++++++ 2 files changed, 21 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 83320a9..137c0c5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -96,6 +96,10 @@ include: # OpenDingux - 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' @@ -392,6 +396,12 @@ libretro-build-dingux-odbeta-mips32-plus: - .libretro-dingux-odbeta-mips32-make-default - .core-defs-plus +# Miyoo +libretro-build-miyoo-arm32: + extends: + - .libretro-miyoo-arm32-make-default + - .core-defs + #################################### MISC ################################## # Emscripten libretro-build-emscripten: diff --git a/Makefile b/Makefile index 500e62e..4e40cc1 100644 --- a/Makefile +++ b/Makefile @@ -282,6 +282,17 @@ else ifeq ($(platform), gcw0) FLAGS += -fomit-frame-pointer -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float FLAGS += -DFAST_LSB_WORD_ACCESS +# 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 -nostdlib + SHARED := -shared -Wl,--version-script=link.T + LIBM := + FLAGS += -fomit-frame-pointer -ffast-math -march=armv5te -mtune=arm926ej-s + # (armv7 a7, hard point, neon based) ### # NESC, SNESC, C64 mini else ifeq ($(platform), classic_armv7_a7) -- cgit v1.2.3