the following patch was just integrated into master: commit bb6d2d5693dfae9ff78eea624b38b40964905210 Author: Peter Stuge peter@stuge.se Date: Sun Aug 21 06:24:55 2011 +0200
buildgcc: Remove all bashisms, making the script run also on BSD
Use sed instead of ${variable:start:length} and ${#variable} Use single = in string comparisons Use `eval echo '$'$variable` instead of ${!variable} Use > file 2>&1 instead of &> file Use readlink -f to expand the path of GCC configure
Change-Id: Idc7dfcea3922f55630a6855acdb19e36582708bd Signed-off-by: Peter Stuge peter@stuge.se
See http://review.coreboot.org/165 for details.
-gerrit