summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-04-29 11:17:19 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-05-06 16:03:10 +0200
commite0f4a27d2e27f2320d6b2e0ec1bc51a0cee21864 (patch)
treecae4360011d4552724a4a5e6a3915731a4f91030 /tools
parent73323ec644212921fe72938b3ee883bc6b28967a (diff)
Add a script to build the toolchains
Diffstat (limited to 'tools')
-rw-r--r--tools/build-toolchains.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/build-toolchains.sh b/tools/build-toolchains.sh
new file mode 100644
index 00000000..2f0c0acf
--- /dev/null
+++ b/tools/build-toolchains.sh
@@ -0,0 +1,11 @@
+#! /bin/sh
+# Build the Windows cross and native toolchains for x86 and x86_64
+
+for a in "w64" "w32"
+do
+ for p in "lin" "win"
+ do
+ ./cerbero-uninstalled -c config/mingw-$a-$p.cbc wipe --force
+ ./cerbero-uninstalled -c config/mingw-$a-$p.cbc build toolchain
+ done
+done