summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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