aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/dingux/dingux.mk
diff options
context:
space:
mode:
authorneonloop2021-04-21 01:01:51 +0000
committerneonloop2021-04-21 01:01:51 +0000
commit5b6fb7f7e17ea74ccef3d703ca42ffdbf31b91a9 (patch)
tree470d89f023a8a99881cb47f923f26accb73e8fe8 /backends/platform/dingux/dingux.mk
parentaceaaca20cb8a59c50bbf9c137937eea63ef4778 (diff)
downloadscummvm-rg350-5b6fb7f7e17ea74ccef3d703ca42ffdbf31b91a9.tar.gz
scummvm-rg350-5b6fb7f7e17ea74ccef3d703ca42ffdbf31b91a9.tar.bz2
scummvm-rg350-5b6fb7f7e17ea74ccef3d703ca42ffdbf31b91a9.zip
Initial trimui model s support
Diffstat (limited to 'backends/platform/dingux/dingux.mk')
-rw-r--r--backends/platform/dingux/dingux.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/backends/platform/dingux/dingux.mk b/backends/platform/dingux/dingux.mk
index 0ecd1c2ed2..1d38e7511e 100644
--- a/backends/platform/dingux/dingux.mk
+++ b/backends/platform/dingux/dingux.mk
@@ -3,6 +3,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
+trimui_strip = $(CROSS_COMPILE)strip
f=$(shell which $(STRIP))
libloc = $(shell dirname $(f))
@@ -64,6 +65,29 @@ endif
$(CP) $(srcdir)/backends/platform/dingux/README.MIYOO $(bundle_name)/
$(CP) $(srcdir)/backends/platform/dingux/scummvm.png $(bundle_name)/
+trimui-dist: all
+ $(MKDIR) $(bundle_name)
+ $(trimui_strip) $(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
+ $(trimui_strip) $(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)