From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Thu, 17 Oct 2013 10:33:54 +0200 Subject: [U-Boot] [PATCH 2/3] MAKEALL: fix a bug to use CROSS_COMPILE_ In-Reply-To: <1381995462-32556-3-git-send-email-yamada.m@jp.panasonic.com> References: <1381995462-32556-1-git-send-email-yamada.m@jp.panasonic.com> <1381995462-32556-3-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <20131017103354.2a6f7246@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Masahiro, On Thu, 17 Oct 2013 16:37:41 +0900, Masahiro Yamada wrote: > Commit 27af930e changed the boards.cfg format but > missed to change get_target_arch() fuction. > This commit adjusts it for CROSS_COMPILE_ > to work correctly. > > Signed-off-by: Masahiro Yamada > Cc: Albert ARIBAUD > --- > MAKEALL | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/MAKEALL b/MAKEALL > index 0d7893b..4f685e1 100755 > --- a/MAKEALL > +++ b/MAKEALL > @@ -571,7 +571,7 @@ get_target_arch() { > local target=$1 > > # Automatic mode > - local line=`egrep -i "^[[:space:]]*${target}[[:space:]]" boards.cfg` > + local line=`awk '\$7 == "'"$target"'" { print \$0 }' boards.cfg` > > if [ -z "${line}" ] ; then echo "" ; return ; fi > What issue does this change fix? Amicalement, -- Albert.