OPENDINGUX: simplify build scripts
The rs90 and rg99 can use the exact same binary and opk including the .desktop file Signed-off-by: Christophe Branchereau <cbranchereau@gmail.com>
This commit is contained in:
parent
2994ab025d
commit
2724ce7753
8 changed files with 14 additions and 63 deletions
|
@ -15,7 +15,9 @@ Running Linux on an x86/amd64 machine:
|
|||
2. git clone the ScummVM repository
|
||||
|
||||
3. Run 'backends/platform/sdl/opendingux/build_odbeta.sh x'
|
||||
where x=gcw0|lepus|rg99
|
||||
where x=gcw0|lepus|rs90
|
||||
|
||||
the rs90 build applies to the rg99
|
||||
|
||||
Or if you want a dual opk with one launcher capable of starting games directly
|
||||
for e.g. simplemenu integration :
|
||||
|
|
|
@ -12,29 +12,21 @@ fi
|
|||
case $target in
|
||||
|
||||
gcw0)
|
||||
target2=$target
|
||||
libc=uclibc
|
||||
;;
|
||||
|
||||
lepus)
|
||||
target2=$target
|
||||
libc=musl
|
||||
;;
|
||||
|
||||
rg99 | rs90)
|
||||
target2=rs90
|
||||
target=rg99
|
||||
lepus | rs90)
|
||||
libc=musl
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "please provide a valid target for the build: gcw0, lepus, rg99 or rs90"
|
||||
echo "please provide a valid target for the build: gcw0, lepus or rs90"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
TOOLCHAIN=/opt/$target2-toolchain
|
||||
SYSROOT=$TOOLCHAIN/mipsel-$target2-linux-$libc
|
||||
TOOLCHAIN=/opt/$target-toolchain
|
||||
SYSROOT=$TOOLCHAIN/mipsel-$target-linux-$libc
|
||||
|
||||
export PATH=$TOOLCHAIN/usr/bin:$SYSROOT/usr/include:$TOOLCHAIN/bin:$PATH
|
||||
export CXX=mipsel-linux-g++
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
OD_EXE_STRIPPED := scummvm_stripped$(EXEEXT)
|
||||
bundle = od-opk
|
||||
ifeq ($(OPENDINGUX_TARGET), rg99)
|
||||
OPKNAME = rg99_rs90
|
||||
else
|
||||
OPKNAME = $(OPENDINGUX_TARGET)
|
||||
endif
|
||||
|
||||
all: $(OD_EXE_STRIPPED)
|
||||
|
||||
|
@ -15,7 +11,7 @@ $(bundle): all
|
|||
$(MKDIR) $(bundle)
|
||||
$(CP) $(DIST_FILES_DOCS) $(bundle)/
|
||||
|
||||
ifneq ($(OPENDINGUX_TARGET), rg99)
|
||||
ifneq ($(OPENDINGUX_TARGET), rs90)
|
||||
$(MKDIR) $(bundle)/themes
|
||||
$(CP) $(DIST_FILES_THEMES) $(bundle)/themes/
|
||||
endif
|
||||
|
@ -23,7 +19,7 @@ endif
|
|||
ifdef DIST_FILES_ENGINEDATA
|
||||
$(MKDIR) $(bundle)/engine-data
|
||||
$(CP) $(DIST_FILES_ENGINEDATA) $(bundle)/engine-data/
|
||||
ifeq ($(OPENDINGUX_TARGET), rg99)
|
||||
ifeq ($(OPENDINGUX_TARGET), rs90)
|
||||
$(CP) $(srcdir)/dists/opendingux/fonts_mini.dat $(bundle)/engine-data/fonts.dat
|
||||
endif
|
||||
endif
|
||||
|
@ -44,12 +40,6 @@ endif
|
|||
ifdef dualopk
|
||||
$(CP) $(srcdir)/dists/opendingux/startGame.$(OPENDINGUX_TARGET).desktop $(bundle)/
|
||||
$(CP) $(srcdir)/dists/opendingux/scummvm.sh $(bundle)/
|
||||
endif
|
||||
ifeq ($(OPENDINGUX_TARGET), rg99)
|
||||
$(CP) $(srcdir)/dists/opendingux/startUI.rs90.desktop $(bundle)/
|
||||
ifdef dualopk
|
||||
$(CP) $(srcdir)/dists/opendingux/startGame.rs90.desktop $(bundle)/
|
||||
endif
|
||||
endif
|
||||
|
||||
$(CP) $(srcdir)/backends/platform/sdl/opendingux/README.OPENDINGUX $(bundle)/README.man.txt
|
||||
|
|
7
configure
vendored
7
configure
vendored
|
@ -840,8 +840,7 @@ Special configuration feature:
|
|||
n64 for Nintendo 64
|
||||
opendingux-gcw0 for GCW0 with Opendingux Beta
|
||||
opendingux-lepus for Lepus with Opendingux Beta
|
||||
opendingux-rg99 for RG99 and RS90 with Opendingux Beta
|
||||
opendingux-rs90 for RG99 and RS90 with Opendingux Beta
|
||||
opendingux-rs90 for RS90 and RG99 with Opendingux Beta
|
||||
openpandora for OpenPandora
|
||||
ouya for OUYA
|
||||
ps3 for PlayStation 3
|
||||
|
@ -3615,14 +3614,14 @@ if test -n "$_host"; then
|
|||
_highres=no
|
||||
_build_hq_scalers=no
|
||||
;;
|
||||
opendingux-rg99 | opendingux-rs90)
|
||||
opendingux-rs90)
|
||||
append_var DEFINES "-DRS90 -DDISABLE_FANCY_THEMES"
|
||||
_16bit=no
|
||||
_highres=no
|
||||
# Scaling is handled by IPU
|
||||
_build_aspect=no
|
||||
_build_scalers=no
|
||||
_host=opendingux-rg99
|
||||
_host=opendingux-rs90
|
||||
;;
|
||||
*)
|
||||
echo "WARNING: Unknown OpenDingux target"
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=ScummVM
|
||||
Comment=Interpreter for several adventure games
|
||||
Comment[pl]=Interpreter graficznych gier przygodowych
|
||||
Comment[sv]=Tolk för flera äventyrsspel
|
||||
Comment[he]=פרשן למספר משחקי הרפתקאות
|
||||
Comment[de]=Interpreter für diverse Abenteuerspiele
|
||||
Comment[es]=Intérprete para varias aventuras gráficas
|
||||
Comment[ca]=Intèrpret per diverses aventures gràfiques
|
||||
Exec=env SDL_VIDEO_KMSDRM_SCALING_MODE=1 ./scummvm.sh %f
|
||||
Icon=scummvm
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=games;
|
||||
StartupNotify=false
|
||||
X-OD-Manual=README.man.txt
|
|
@ -7,7 +7,7 @@ Comment[he]=פרשן למספר משחקי הרפתקאות
|
|||
Comment[de]=Interpreter für diverse Abenteuerspiele
|
||||
Comment[es]=Intérprete para varias aventuras gráficas
|
||||
Comment[ca]=Intèrpret per diverses aventures gràfiques
|
||||
Exec=env SDL_VIDEO_KMSDRM_SCALING_MODE=1 ./scummvm.sh %f
|
||||
Exec=scummvm.sh %f
|
||||
Icon=scummvm
|
||||
Terminal=false
|
||||
Type=Application
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=ScummVM UI
|
||||
Comment=Interpreter for several adventure games
|
||||
Comment[pl]=Interpreter graficznych gier przygodowych
|
||||
Comment[sv]=Tolk för flera äventyrsspel
|
||||
Comment[he]=פרשן למספר משחקי הרפתקאות
|
||||
Comment[de]=Interpreter für diverse Abenteuerspiele
|
||||
Comment[es]=Intérprete para varias aventuras gráficas
|
||||
Comment[ca]=Intèrpret per diverses aventures gràfiques
|
||||
Exec=env SDL_VIDEO_KMSDRM_SCALING_MODE=1 ./scummvm
|
||||
Icon=scummvm
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=games;
|
||||
StartupNotify=false
|
||||
X-OD-Manual=README.man.txt
|
|
@ -7,7 +7,7 @@ Comment[he]=פרשן למספר משחקי הרפתקאות
|
|||
Comment[de]=Interpreter für diverse Abenteuerspiele
|
||||
Comment[es]=Intérprete para varias aventuras gráficas
|
||||
Comment[ca]=Intèrpret per diverses aventures gràfiques
|
||||
Exec=env SDL_VIDEO_KMSDRM_SCALING_MODE=1 ./scummvm
|
||||
Exec=scummvm
|
||||
Icon=scummvm
|
||||
Terminal=false
|
||||
Type=Application
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue