summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-04-30 12:23:11 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-05-06 16:03:10 +0200
commitc042f468fc2350b939b7bdc99d16d6b7b49ca4f0 (patch)
treea1368e78f05ef0e0f806d2c28ce89c881d3e0fc8 /tools
parente0f4a27d2e27f2320d6b2e0ec1bc51a0cee21864 (diff)
toolchain: add paramater to wipe the builds
Diffstat (limited to 'tools')
-rw-r--r--tools/build-toolchains.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/build-toolchains.sh b/tools/build-toolchains.sh
index 2f0c0acf..ae46dfe2 100644
--- a/tools/build-toolchains.sh
+++ b/tools/build-toolchains.sh
@@ -1,11 +1,16 @@
#! /bin/sh
# Build the Windows cross and native toolchains for x86 and x86_64
+WIPE=$1
+
for a in "w64" "w32"
do
for p in "lin" "win"
do
- ./cerbero-uninstalled -c config/mingw-$a-$p.cbc wipe --force
+ echo "Building $p-$a toolchain"
+ if test "x$WIPE" = "x1"; then
+ ./cerbero-uninstalled -c config/mingw-$a-$p.cbc wipe --force
+ fi
./cerbero-uninstalled -c config/mingw-$a-$p.cbc build toolchain
done
done