aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gph/build
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/gph/build')
-rw-r--r--backends/platform/gph/build/caanoo-build.sh12
-rw-r--r--backends/platform/gph/build/caanoo-bundle-debug.sh9
-rw-r--r--backends/platform/gph/build/caanoo-bundle.sh9
-rw-r--r--backends/platform/gph/build/caanoo-config-alleng.sh21
-rw-r--r--backends/platform/gph/build/caanoo-config.sh21
5 files changed, 72 insertions, 0 deletions
diff --git a/backends/platform/gph/build/caanoo-build.sh b/backends/platform/gph/build/caanoo-build.sh
new file mode 100644
index 0000000000..8000d2595d
--- /dev/null
+++ b/backends/platform/gph/build/caanoo-build.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+echo Quick script to make building all the time less painful.
+
+# Set the paths up here to support the build.
+
+cd ../../../..
+
+echo Building ScummVM for GP2X Caanoo.
+make
+
+echo Build for GP2X Caanoo - complete - Please check build logs.
diff --git a/backends/platform/gph/build/caanoo-bundle-debug.sh b/backends/platform/gph/build/caanoo-bundle-debug.sh
new file mode 100644
index 0000000000..2d5cefe80e
--- /dev/null
+++ b/backends/platform/gph/build/caanoo-bundle-debug.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+echo Quick script to make building a distribution of the GP2X Caanoo backend more consistent.
+
+cd ../../../..
+
+echo Building ScummVM for GP2X Caanoo.
+
+make caanoo-bundle-debug
diff --git a/backends/platform/gph/build/caanoo-bundle.sh b/backends/platform/gph/build/caanoo-bundle.sh
new file mode 100644
index 0000000000..76fd31cec6
--- /dev/null
+++ b/backends/platform/gph/build/caanoo-bundle.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+echo Quick script to make building a distribution of the GP2X Caanoo backend more consistent.
+
+cd ../../../..
+
+echo Building ScummVM for GP2X Caanoo.
+
+make caanoo-bundle
diff --git a/backends/platform/gph/build/caanoo-config-alleng.sh b/backends/platform/gph/build/caanoo-config-alleng.sh
new file mode 100644
index 0000000000..97fed942fa
--- /dev/null
+++ b/backends/platform/gph/build/caanoo-config-alleng.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+echo Quick script to make running configure all the time less painful
+echo and let all the build work be done from the backend/build folder.
+
+# Assume Caanoo toolchain/build env and source it.
+. /opt/arm-caanoo/environment-setup
+
+# Edit the configure line to suit.
+cd ../../../..
+./configure --backend=caanoo --disable-mt32emu --host=caanoo --disable-alsa --disable-flac \
+ --disable-nasm --disable-vorbis --disable-hq-scalers \
+ --with-sdl-prefix=/opt/arm-caanoo/arm-none-linux-gnueabi/usr/bin \
+ --with-mpeg2-prefix=/opt/arm-caanoo/arm-none-linux-gnueabi/usr \
+ --enable-tremor --with-tremor-prefix=/opt/arm-caanoo/arm-none-linux-gnueabi/usr \
+ --enable-zlib --with-zlib-prefix=/opt/arm-caanoo/arm-none-linux-gnueabi/usr \
+ --enable-mad --with-mad-prefix=/opt/arm-caanoo/arm-none-linux-gnueabi/usr \
+ --enable-png --with-png-prefix=/opt/arm-caanoo/arm-none-linux-gnueabi/usr \
+ --enable-all-engines --enable-vkeybd --enable-plugins --default-dynamic
+
+echo Generating config for Caanoo complete. Check for errors.
diff --git a/backends/platform/gph/build/caanoo-config.sh b/backends/platform/gph/build/caanoo-config.sh
new file mode 100644
index 0000000000..11d597481a
--- /dev/null
+++ b/backends/platform/gph/build/caanoo-config.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+echo Quick script to make running configure all the time less painful
+echo and let all the build work be done from the backend/build folder.
+
+# Assume Caanoo toolchain/build env.
+. /opt/arm-caanoo/environment-setup
+
+# Edit the configure line to suit.
+cd ../../../..
+./configure --backend=caanoo --disable-mt32emu --host=caanoo --disable-alsa --disable-flac \
+ --disable-nasm --disable-vorbis --disable-hq-scalers \
+ --with-sdl-prefix=/opt/arm-caanoo/arm-none-linux-gnueabi/usr/bin \
+ --with-mpeg2-prefix=/opt/arm-caanoo/arm-none-linux-gnueabi/usr \
+ --enable-tremor --with-tremor-prefix=/opt/arm-caanoo/arm-none-linux-gnueabi/usr \
+ --enable-zlib --with-zlib-prefix=/opt/arm-caanoo/arm-none-linux-gnueabi/usr \
+ --enable-mad --with-mad-prefix=/opt/arm-caanoo/arm-none-linux-gnueabi/usr \
+ --enable-png --with-png-prefix=/opt/arm-caanoo/arm-none-linux-gnueabi/usr \
+ --enable-vkeybd --enable-plugins --default-dynamic
+
+echo Generating config for GP2X Caanoo complete. Check for errors.