Zheng Bao ([email protected]) just uploaded a new patch set to gerrit, which 
you can find at http://review.coreboot.org/1548

-gerrit

commit 563afcd6d28d8cca80392bf4c893096a8be4d28a
Author: Zheng Bao <[email protected]>
Date:   Tue Oct 23 19:41:25 2012 +0800

    buildgcc: redirect error output to /dev/null
    
    Change-Id: I7cd63248eb8abb711cecce41e3f8a282b34aa126
    Signed-off-by: Zheng Bao <[email protected]>
    Signed-off-by: Zheng Bao <[email protected]>
---
 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"

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to