diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-04-30 12:23:11 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-05-06 16:03:10 +0200 |
commit | c042f468fc2350b939b7bdc99d16d6b7b49ca4f0 (patch) | |
tree | a1368e78f05ef0e0f806d2c28ce89c881d3e0fc8 /tools | |
parent | e0f4a27d2e27f2320d6b2e0ec1bc51a0cee21864 (diff) |
toolchain: add paramater to wipe the builds
Diffstat (limited to 'tools')
-rw-r--r-- | tools/build-toolchains.sh | 7 |
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 |