[coreboot-gerrit] New patch to review for coreboot: 302665b crossgcc: Support OSX 10.9 built-in tar utility program.

Andrew Wu (arw@dmp.com.tw) gerrit at coreboot.org
Mon Apr 28 12:20:25 CEST 2014


Andrew Wu (arw at dmp.com.tw) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5598

-gerrit

commit 302665be8d4627e3f164a6bfb11e9a7a84d4eb6b
Author: Andrew Wu <arw at dmp.com.tw>
Date:   Mon Apr 28 18:13:44 2014 +0800

    crossgcc: Support OSX 10.9 built-in tar utility program.
    
    Unlike OSX 10.8, OSX 10.9 doesn't provide GNU tar program, and built-in
    tar program is bsdtar 2.8.3. bsdtar can building crossgcc toolchain.
    Modify buildgcc to support tar in OSX 10.9 (uname = Darwin).
    
    Change-Id: I093898f8f99e29918387f9b275a30af461a7e1be
    Signed-off-by: Andrew Wu <arw at dmp.com.tw>
---
 util/crossgcc/buildgcc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index c6d7183..1ffbfa2 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -106,7 +106,7 @@ searchgnu()
 		fi
 	done
 	# A workaround for XxxBSD, whose nongnu patch and tar also work.
-	if [ $UNAME = "FreeBSD" -o $UNAME = "NetBSD" ]; then
+	if [ $UNAME = "FreeBSD" -o $UNAME = "NetBSD" -o $UNAME = "Darwin" ]; then
 		if [ $1 != "make" ]; then
 			if test -x "`which $1 2>/dev/null`"; then
 				echo $1



More information about the coreboot-gerrit mailing list