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>
This commit is contained in:
parent
1e0ddf6f1f
commit
336db54a00
|
@ -20,8 +20,8 @@
|
||||||
# Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA
|
# Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA
|
||||||
#
|
#
|
||||||
|
|
||||||
CROSSGCC_DATE="October 26th, 2012"
|
CROSSGCC_DATE="November 1st, 2012"
|
||||||
CROSSGCC_VERSION="1.17"
|
CROSSGCC_VERSION="1.18"
|
||||||
|
|
||||||
# default settings
|
# default settings
|
||||||
TARGETDIR=`pwd`/xgcc
|
TARGETDIR=`pwd`/xgcc
|
||||||
|
@ -533,7 +533,7 @@ printf "Building Expat ${EXPAT_VERSION} ... "
|
||||||
$MAKE || touch .failed
|
$MAKE || touch .failed
|
||||||
$MAKE install DESTDIR=$DESTDIR || touch .failed
|
$MAKE install DESTDIR=$DESTDIR || touch .failed
|
||||||
if [ ! -f .failed ]; then touch .success; fi
|
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" || \
|
test -r build-expat/.failed && printf "${RED}failed${NC}\n" || \
|
||||||
printf "${green}ok${NC}\n"
|
printf "${green}ok${NC}\n"
|
||||||
test -r build-expat/.failed && exit 1
|
test -r build-expat/.failed && exit 1
|
||||||
|
@ -555,7 +555,7 @@ printf "Building Python ${PYTHON_VERSION} ... "
|
||||||
$MAKE $JOBS || touch .failed
|
$MAKE $JOBS || touch .failed
|
||||||
$MAKE install DESTDIR=$DESTDIR || touch .failed
|
$MAKE install DESTDIR=$DESTDIR || touch .failed
|
||||||
if [ ! -f .failed ]; then touch .success; fi
|
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" || \
|
test -r build-python/.failed && printf "${RED}failed${NC}\n" || \
|
||||||
printf "${green}ok${NC}\n"
|
printf "${green}ok${NC}\n"
|
||||||
test -r build-python/.failed && exit 1
|
test -r build-python/.failed && exit 1
|
||||||
|
|
Loading…
Reference in New Issue