[coreboot] Patch set updated for coreboot: f11e358 buildgcc: list the patch in folder patches

Zheng Bao (zheng.bao@amd.com) gerrit at coreboot.org
Wed Aug 8 11:39:25 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/1425

-gerrit

commit f11e358b0eb523ac1a3ce1ab7fc1e26dccd5a3f9
Author: zbao <fishbaozi at gmail.com>
Date:   Wed Aug 8 19:24:28 2012 +0800

    buildgcc: list the patch in folder patches
    
    "for file in dir/*" can not get the real file.
    Instead,
    for file in `ls dir/*`
    
    Change-Id: I4a4d7c25ce9df013a1612e4a1c21a1dd6337ae91
    Signed-off-by: Zheng Bao <zheng.bao at amd.com>
    Signed-off-by: zbao <fishbaozi at gmail.com>
---
 util/crossgcc/buildgcc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 415b408..e0a6365 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -289,7 +289,7 @@ for PACKAGE in GMP MPFR MPC LIBELF GCC BINUTILS $PYTHON_PACKAGE \
 		test "$suffix" = "bz2" && FLAGS=jxf
 		test "$suffix" = "lzma" && FLAGS="--lzma -xf"
 		$TAR $FLAGS tarballs/`basename $archive`
-		for patch in patches/${dir}_*.patch; do
+		for patch in `ls patches/${dir}_*.patch 2>/dev/null`; do
 			test -r $patch || continue
 			printf "   o `basename $patch`\n"
 			$PATCH -s -N -p0 < `echo $patch` || \




More information about the coreboot mailing list