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:
jSTE0 2022-02-18 22:33:17 +00:00 committed by irixxxx
parent f8aaa200cf
commit f507a70379
4 changed files with 33 additions and 4 deletions

11
configure vendored
View file

@ -39,7 +39,7 @@ check_define()
# "" means "autodetect".
# TODO this is annoyingly messy. should have platform and device
platform_list="generic pandora gp2x wiz caanoo dingux retrofw gcw0 rg350 opendingux rpi1 rpi2 psp"
platform_list="generic pandora gp2x wiz caanoo dingux retrofw gcw0 rg350 opendingux miyoo rpi1 rpi2 psp"
platform="generic"
sound_driver_list="oss alsa sdl"
sound_drivers=""
@ -106,6 +106,13 @@ set_platform()
MFLAGS="-march=mips32r2"
platform="opendingux"
;;
miyoo)
# Miyoo BittBoy, PocketGO 1, PowKiddy V90/Q90 with Allwinner F1C100s
sound_drivers="sdl"
CFLAGS="$CFLAGS -D__MIYOO__"
MFLAGS="-mcpu=arm926ej-s -marm"
platform="miyoo"
;;
pandora)
sound_drivers="oss alsa"
have_libavcodec="yes"
@ -251,7 +258,7 @@ arm*)
esac
case "$platform" in
rpi1 | rpi2 | generic | opendingux)
rpi1 | rpi2 | generic | opendingux | miyoo)
need_sdl="yes"
;;
esac