Zheng Bao (zheng....@amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1502
-gerrit commit f623c2339d698b613ad2c52a2f90319c0a3fe7ce Author: Zheng Bao <fishba...@gmail.com> Date: Tue Sep 11 17:47:29 2012 +0800 crossgcc: Allow the non-gnu tar and patch work on FreeBSD This patch and 2 previous ones, http://review.coreboot.org/1500 http://review.coreboot.org/1501 can make the coreboot built on FreeBSD stable-8.3. Change-Id: I0a9d0bb0e535aa5e0dde146db330c3c8d7b4d8cb Signed-off-by: Zheng Bao <zheng....@amd.com> Signed-off-by: Zheng Bao <fishba...@gmail.com> --- util/crossgcc/buildgcc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 415b408..028d3c9 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -99,6 +99,13 @@ searchgnu() fi fi done + # A workaround for FreeBSD, whose nongnu patch and tar also work. + if [ `uname` = "FreeBSD" -a $1 != make ]; then + if test -x "`which $1 2>/dev/null`"; then + echo $1 + return + fi + fi printf "${RED}ERROR:${red} Missing toolchain: $1${NC}\n" >&2 exit 1 } -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot