mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
platform: Add miyoo support
Add support for the miyoo platform, another SDL-based platform with a small cache CPU and its own input mappings.
This commit is contained in:
parent
f8aaa200cf
commit
f507a70379
4 changed files with 33 additions and 4 deletions
7
Makefile
7
Makefile
|
@ -49,7 +49,7 @@ endif
|
|||
LINKOUT ?= -o
|
||||
endif
|
||||
|
||||
ifeq ("$(PLATFORM)",$(filter "$(PLATFORM)","gp2x" "opendingux" "rpi1"))
|
||||
ifeq ("$(PLATFORM)",$(filter "$(PLATFORM)","gp2x" "opendingux" "miyoo" "rpi1"))
|
||||
# very small caches, avoid optimization options making the binary much bigger
|
||||
CFLAGS += -finline-limit=42 -fno-unroll-loops -fno-ipa-cp -ffast-math
|
||||
# this gets you about 20% better execution speed on 32bit arm/mips
|
||||
|
@ -117,6 +117,11 @@ use_inputmap ?= 1
|
|||
# OpenDingux is a generic platform, really.
|
||||
PLATFORM := generic
|
||||
endif
|
||||
ifeq "$(PLATFORM)" "miyoo"
|
||||
OBJS += platform/opendingux/inputmap.o
|
||||
use_inputmap ?= 1
|
||||
PLATFORM := generic
|
||||
endif
|
||||
ifeq ("$(PLATFORM)",$(filter "$(PLATFORM)","rpi1" "rpi2"))
|
||||
CFLAGS += -DHAVE_GLES -DRASPBERRY
|
||||
CFLAGS += -I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads/ -I/opt/vc/include/interface/vmcs_host/linux/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue