diff options
-rw-r--r-- | backends/platform/wii/wii.mk | 21 | ||||
-rw-r--r-- | ports.mk | 25 |
2 files changed, 21 insertions, 25 deletions
diff --git a/backends/platform/wii/wii.mk b/backends/platform/wii/wii.mk index f99288c4a6..a6f66f7ea4 100644 --- a/backends/platform/wii/wii.mk +++ b/backends/platform/wii/wii.mk @@ -21,5 +21,24 @@ wiigdb: wiidebug: $(DEVKITPPC)/bin/powerpc-gekko-gdb -n $(WII_EXE) -x $(srcdir)/backends/platform/wii/gdb.txt -.PHONY: wiiclean wiiload geckoupload wiigdb wiidebug +# target to create a Wii snapshot +wiidist: $(EXECUTABLE) + $(MKDIR) wiidist/scummvm +ifeq ($(GAMECUBE),1) + $(DEVKITPPC)/bin/elf2dol $(EXECUTABLE) wiidist/scummvm/scummvm.dol +else + $(STRIP) $(EXECUTABLE) -o wiidist/scummvm/boot.elf + $(CP) $(srcdir)/dists/wii/icon.png wiidist/scummvm/ + sed "s/@REVISION@/$(VER_SVNREV)/;s/@TIMESTAMP@/`date +%Y%m%d%H%M%S`/" < $(srcdir)/dists/wii/meta.xml > wiidist/scummvm/meta.xml +endif + sed 's/$$/\r/' < $(srcdir)/dists/wii/READMII > wiidist/scummvm/READMII.txt + for i in $(DIST_FILES_DOCS); do sed 's/$$/\r/' < $$i > wiidist/scummvm/`basename $$i`.txt; done + $(CP) $(DIST_FILES_THEMES) wiidist/scummvm/ +ifneq ($(DIST_FILES_ENGINEDATA),) + $(CP) $(DIST_FILES_ENGINEDATA) wiidist/scummvm/ +endif + $(CP) $(srcdir)/backends/vkeybd/packs/vkeybd_default.zip wiidist/scummvm/ + + +.PHONY: wiiclean wiiload geckoupload wiigdb wiidebug wiidist @@ -182,31 +182,8 @@ aos4dist: $(EXECUTABLE) cp $(srcdir)/NEWS $(AOS4PATH)/NEWS.txt cp $(srcdir)/README $(AOS4PATH)/README.txt -# -# Wii/Gamecube specific -# - -# Special target to create a Wii snapshot -wiidist: $(EXECUTABLE) - $(MKDIR) wiidist/scummvm -ifeq ($(GAMECUBE),1) - $(DEVKITPPC)/bin/elf2dol $(EXECUTABLE) wiidist/scummvm/scummvm.dol -else - $(STRIP) $(EXECUTABLE) -o wiidist/scummvm/boot.elf - $(CP) $(srcdir)/dists/wii/icon.png wiidist/scummvm/ - sed "s/@REVISION@/$(VER_SVNREV)/;s/@TIMESTAMP@/`date +%Y%m%d%H%M%S`/" < $(srcdir)/dists/wii/meta.xml > wiidist/scummvm/meta.xml -endif - sed 's/$$/\r/' < $(srcdir)/dists/wii/READMII > wiidist/scummvm/READMII.txt - for i in $(DIST_FILES_DOCS); do sed 's/$$/\r/' < $$i > wiidist/scummvm/`basename $$i`.txt; done - $(CP) $(DIST_FILES_THEMES) wiidist/scummvm/ -ifneq ($(DIST_FILES_ENGINEDATA),) - $(CP) $(DIST_FILES_ENGINEDATA) wiidist/scummvm/ -endif - $(CP) $(srcdir)/backends/vkeybd/packs/vkeybd_default.zip wiidist/scummvm/ - - # Mark special targets as phony -.PHONY: deb bundle osxsnap win32dist wiidist install uninstall +.PHONY: deb bundle osxsnap win32dist install uninstall # # ARM specific |