aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/dingux/dingux.mk
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/dingux/dingux.mk')
-rw-r--r--backends/platform/dingux/dingux.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/backends/platform/dingux/dingux.mk b/backends/platform/dingux/dingux.mk
index f812e6e7b2..0ecd1c2ed2 100644
--- a/backends/platform/dingux/dingux.mk
+++ b/backends/platform/dingux/dingux.mk
@@ -2,6 +2,7 @@ DINGUX_EXE_STRIPPED := scummvm_stripped$(EXEEXT)
bundle_name = dingux-dist/scummvm
gcw0_bundle = gcw0-opk
+miyoo_compile = /opt/miyoo/usr/bin/arm-linux-strip
f=$(shell which $(STRIP))
libloc = $(shell dirname $(f))
@@ -39,6 +40,30 @@ endif
$(CP) $(srcdir)/backends/platform/dingux/README.DINGUX $(bundle_name)/
$(CP) $(srcdir)/backends/platform/dingux/scummvm.png $(bundle_name)/
+miyoo-dist: all
+ $(MKDIR) $(bundle_name)
+ $(MKDIR) $(bundle_name)/saves
+ $(miyoo_compile) $(EXECUTABLE) -o $(bundle_name)/scummvm.elf
+ $(CP) $(DIST_FILES_THEMES) $(bundle_name)/
+ifdef DIST_FILES_ENGINEDATA
+ $(CP) $(DIST_FILES_ENGINEDATA) $(bundle_name)/
+endif
+ifdef DIST_FILES_NETWORKING
+ $(CP) $(DIST_FILES_NETWORKING) $(bundle_name)/
+endif
+ifdef DIST_FILES_VKEYBD
+ $(CP) $(DIST_FILES_VKEYBD) $(bundle_name)/
+endif
+ $(CP) $(DIST_FILES_DOCS) $(bundle_name)/
+ifdef DYNAMIC_MODULES
+ $(MKDIR) $(bundle_name)/plugins
+ $(CP) $(PLUGINS) $(bundle_name)/plugins
+ $(miyoo_compile) $(bundle_name)/plugins/*
+endif
+
+ $(CP) $(srcdir)/backends/platform/dingux/README.MIYOO $(bundle_name)/
+ $(CP) $(srcdir)/backends/platform/dingux/scummvm.png $(bundle_name)/
+
# Special target for generationg GCW-Zero OPK bundle
$(gcw0_bundle): all GeneralUser\ GS\ FluidSynth\ v1.44.sf2
$(MKDIR) $(gcw0_bundle)