mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
build, revisions and fixes for opendingux based platforms
This commit is contained in:
parent
a20af2f935
commit
250c8ffbc0
7 changed files with 52 additions and 52 deletions
33
configure
vendored
33
configure
vendored
|
@ -105,30 +105,30 @@ set_platform()
|
|||
opendingux | gcw0 | rg350)
|
||||
# more modern devices using opendingux, with Ingenic MIPS JZ4770 or newer
|
||||
sound_drivers="sdl"
|
||||
# mostly based on opendingux for gcw0, save device type as C define.
|
||||
# mostly based on opendingux for gcw0
|
||||
CFLAGS="$CFLAGS -D__OPENDINGUX__"
|
||||
MFLAGS="-march=mips32r2"
|
||||
platform="opendingux"
|
||||
;;
|
||||
rg99)
|
||||
# RG99 using opendingux, with Ingenic MIPS JZ4725B
|
||||
sound_drivers="sdl"
|
||||
CFLAGS="$CFLAGS -D__OPENDINGUX__"
|
||||
MFLAGS="-march=mips32"
|
||||
platform="opendingux"
|
||||
;;
|
||||
miyoo)
|
||||
# Miyoo BittBoy, PocketGO 1, PowKiddy V90/Q90 with Allwinner F1C100s
|
||||
sound_drivers="sdl"
|
||||
CFLAGS="$CFLAGS -D__OPENDINGUX__"
|
||||
MFLAGS="-mcpu=arm926ej-s -marm"
|
||||
platform="opendingux"
|
||||
;;
|
||||
odbeta)
|
||||
# various devices with opendingux beta, arch flags from toolchain default
|
||||
MFLAGS=""
|
||||
platform="opendingux"
|
||||
;;
|
||||
rg99)
|
||||
# RG99 using opendingux, with Ingenic MIPS JZ4725B
|
||||
sound_drivers="sdl"
|
||||
# mostly based on opendingux for gcw0, save device type as C define.
|
||||
MFLAGS="-march=mips32"
|
||||
CFLAGS="$CFLAGS -D__OPENDINGUX__"
|
||||
platform="opendingux"
|
||||
;;
|
||||
miyoo)
|
||||
# Miyoo BittBoy, PocketGO 1, PowKiddy V90/Q90 with Allwinner F1C100s
|
||||
sound_drivers="sdl"
|
||||
MFLAGS="-mcpu=arm926ej-s -marm"
|
||||
platform="miyoo"
|
||||
;;
|
||||
pandora)
|
||||
sound_drivers="oss alsa"
|
||||
have_libavcodec="yes"
|
||||
|
@ -279,7 +279,7 @@ arm*)
|
|||
esac
|
||||
|
||||
case "$platform" in
|
||||
rpi1 | rpi2 | generic | opendingux | odbeta | miyoo)
|
||||
rpi1 | rpi2 | generic | opendingux)
|
||||
need_sdl="yes"
|
||||
;;
|
||||
esac
|
||||
|
@ -363,6 +363,7 @@ test -n "$SDL_CONFIG" || SDL_CONFIG="$(ls $SYSROOT/*/*bin*/sdl-config 2>/dev/nul
|
|||
#test -n "$SDL_CONFIG" || SDL_CONFIG="$(ls $SYSROOT/*bin*/sdl2-config 2>/dev/null | grep /bin/sdl2-config | head -n 1)"
|
||||
#test -n "$SDL_CONFIG" || SDL_CONFIG="$(ls $SYSROOT/*/*bin*/sdl2-config 2>/dev/null | grep /bin/sdl2-config | head -n 1)"
|
||||
SDLVERSION=sdl && echo $SDL_CONFIG | grep -q sdl2 && SDLVERSION=sdl2
|
||||
test -n "$SDL_CONFIG" || SDL_CONFIG=false
|
||||
|
||||
MAIN_LDLIBS="$LDLIBS -lm"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue