[coreboot] Patch set updated for coreboot: 563afcd buildgcc: redirect error output to /dev/null

Zheng Bao (zheng.bao@amd.com) gerrit at coreboot.org
Tue Oct 23 12:21:35 CEST 2012


Zheng Bao (zheng.bao at amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1548

-gerrit

commit 563afcd6d28d8cca80392bf4c893096a8be4d28a
Author: Zheng Bao <fishbaozi at gmail.com>
Date:   Tue Oct 23 19:41:25 2012 +0800

    buildgcc: redirect error output to /dev/null
    
    Change-Id: I7cd63248eb8abb711cecce41e3f8a282b34aa126
    Signed-off-by: Zheng Bao <zheng.bao at amd.com>
    Signed-off-by: Zheng Bao <fishbaozi at gmail.com>
---
 util/crossgcc/buildgcc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 71f4e16..7b7da53 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -324,7 +324,7 @@ if [ `uname` = "Darwin" ]; then
 	# binaries in 10.6 (even if the kernel is 32bit)
 	# For some weird reason, 10.5 autodetects an ABI=64 though
 	# so we're setting the ABI explicitly here.
-	if [ `sysctl -n hw.optional.x86_64` -eq 1 ]; then
+	if [ `sysctl -n hw.optional.x86_64 2>/dev/null` -eq 1 ] 2>/dev/null; then
 		OPTIONS="ABI=64"
 	else
 		OPTIONS="ABI=32"




More information about the coreboot mailing list