[coreboot] New patch to review for coreboot: 7c26424 crossgcc: build expat and python in silence
Idwer Vollering (vidwer@gmail.com)
gerrit at coreboot.org
Thu Nov 1 23:10:16 CET 2012
Idwer Vollering (vidwer at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1667
-gerrit
commit 7c264245b938a16b0828e500876d1842cd72c436
Author: Idwer Vollering <vidwer at gmail.com>
Date: Thu Nov 1 23:03:46 2012 +0100
crossgcc: build expat and python in silence
Don't let expat and or python show the compile process on stdout.
Instead direct it to the right crossgcc-build.log.
Fix the logfile path for python.
Change-Id: I431dabf6955d7eef3e54c96d0fb11b92d1cee96d
Signed-off-by: Idwer Vollering <vidwer at gmail.com>
---
util/crossgcc/buildgcc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 4b55c94..f674a00 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -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
More information about the coreboot
mailing list