aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIdwer Vollering <vidwer@gmail.com>2012-11-01 23:03:46 +0100
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-11-02 20:08:01 +0100
commit336db54a00daab2d6b49a51eb87fe71bff934166 (patch)
tree7380c59d95d3b06ad2b66d8be4d819d9696bbe38
parent1e0ddf6f1fc5a99325155626c02351c388b91101 (diff)
crossgcc: build expat and python in silence
Don't let expat and/or python show the compile process on stdout. Instead direct this output to crossgcc-build.log. Fix the logfile path for python. Change-Id: I431dabf6955d7eef3e54c96d0fb11b92d1cee96d Signed-off-by: Idwer Vollering <vidwer@gmail.com> Reviewed-on: http://review.coreboot.org/1667 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rwxr-xr-xutil/crossgcc/buildgcc8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 4b55c94419..f17ec89b1a 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -20,8 +20,8 @@
# Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA
#
-CROSSGCC_DATE="October 26th, 2012"
-CROSSGCC_VERSION="1.17"
+CROSSGCC_DATE="November 1st, 2012"
+CROSSGCC_VERSION="1.18"
# default settings
TARGETDIR=`pwd`/xgcc
@@ -533,7 +533,7 @@ printf "Building Expat ${EXPAT_VERSION} ... "
$MAKE || touch .failed
$MAKE install DESTDIR=$DESTDIR || touch .failed
if [ ! -f .failed ]; then touch .success; fi
-) &> build-expat/crossgcc-build.log
+) > build-expat/crossgcc-build.log 2>&1
test -r build-expat/.failed && printf "${RED}failed${NC}\n" || \
printf "${green}ok${NC}\n"
test -r build-expat/.failed && exit 1
@@ -555,7 +555,7 @@ printf "Building Python ${PYTHON_VERSION} ... "
$MAKE $JOBS || touch .failed
$MAKE install DESTDIR=$DESTDIR || touch .failed
if [ ! -f .failed ]; then touch .success; fi
-) &> build-gdb/crossgcc-build.log
+) > build-python/crossgcc-build.log 2>&1
test -r build-python/.failed && printf "${RED}failed${NC}\n" || \
printf "${green}ok${NC}\n"
test -r build-python/.failed && exit 1