diff options
author | David-John Willis | 2011-04-12 10:39:38 +0100 |
---|---|---|
committer | David-John Willis | 2011-04-12 10:44:04 +0100 |
commit | 15bdb29248db3acc5408dacc2bc696e0904d6869 (patch) | |
tree | bc0bb2b87366f3c5500fa0d9aabcd47baed82d73 /backends/platform/gph | |
parent | fbc58d21ffe7e869b6d6387c72c02fdba32431d8 (diff) | |
download | scummvm-rg350-15bdb29248db3acc5408dacc2bc696e0904d6869.tar.gz scummvm-rg350-15bdb29248db3acc5408dacc2bc696e0904d6869.tar.bz2 scummvm-rg350-15bdb29248db3acc5408dacc2bc696e0904d6869.zip |
GPH: Add separate button defined buttons for each supported device.
* No default buttons set any more as I would want the build to fails
if you don't provide the backend with a device.
* Also commit some small cleanup to the bundle files.
Diffstat (limited to 'backends/platform/gph')
-rw-r--r-- | backends/platform/gph/gp2x-bundle.mk | 7 | ||||
-rwxr-xr-x | backends/platform/gph/gp2xwiz-bundle.mk | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/backends/platform/gph/gp2x-bundle.mk b/backends/platform/gph/gp2x-bundle.mk index 67d22d1889..18c1483aba 100644 --- a/backends/platform/gph/gp2x-bundle.mk +++ b/backends/platform/gph/gp2x-bundle.mk @@ -1,11 +1,14 @@ # Special target to create bundles for the GP2X. bundle_name = release/scummvm-gp2x +f=$(shell which $(STRIP)) +libloc = $(shell dirname $(f)) gp2x-bundle: $(EXECUTABLE) $(MKDIR) "$(bundle_name)" $(MKDIR) "$(bundle_name)/saves" $(MKDIR) "$(bundle_name)/engine-data" + $(MKDIR) "$(bundle_name)/lib" echo "Please put your save games in this dir" >> "$(bundle_name)/saves/PUT_SAVES_IN_THIS_DIR" @@ -27,6 +30,8 @@ ifdef DYNAMIC_MODULES $(STRIP) $(bundle_name)/plugins/* endif + $(CP) $(libloc)/../arm-open2x-linux/lib/libdl.so $(bundle_name)/lib/libdl.so + tar -C $(bundle_name) -cvjf $(bundle_name).tar.bz2 . rm -R ./$(bundle_name) @@ -54,6 +59,8 @@ ifdef DYNAMIC_MODULES $(INSTALL) -c -m 644 $(PLUGINS) "$(bundle_name)/scummvm/plugins" endif + $(CP) $(libloc)/../arm-open2x-linux/lib/libdl.so $(bundle_name)/lib/libdl.so + tar -C $(bundle_name) -cvjf $(bundle_name)-debug.tar.bz2 . rm -R ./$(bundle_name) diff --git a/backends/platform/gph/gp2xwiz-bundle.mk b/backends/platform/gph/gp2xwiz-bundle.mk index df4cae7f4f..630857f9da 100755 --- a/backends/platform/gph/gp2xwiz-bundle.mk +++ b/backends/platform/gph/gp2xwiz-bundle.mk @@ -1,6 +1,5 @@ # Special target to create bundles for the GP2X Wiz. -#bundle_name = release/scummvm-wiz-`date '+%Y-%m-%d'` bundle_name = release/scummvm-gp2xwiz f=$(shell which $(STRIP)) libloc = $(shell dirname $(f)) |