public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/3] MAKEALL: fix a bug to use CROSS_COMPILE_<ARCH>
Date: Thu, 17 Oct 2013 10:33:54 +0200	[thread overview]
Message-ID: <20131017103354.2a6f7246@lilith> (raw)
In-Reply-To: <1381995462-32556-3-git-send-email-yamada.m@jp.panasonic.com>

Hi Masahiro,

On Thu, 17 Oct 2013 16:37:41 +0900, Masahiro Yamada
<yamada.m@jp.panasonic.com> wrote:

> Commit 27af930e changed the boards.cfg format but
> missed to change get_target_arch() fuction.
> This commit adjusts it for CROSS_COMPILE_<ARCH>
> to work correctly.
> 
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
> ---
>  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.

  reply	other threads:[~2013-10-17  8:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-17  7:37 [U-Boot] [PATCH 0/3] Fix bugs of MAKEALL Masahiro Yamada
2013-10-17  7:37 ` [U-Boot] [PATCH 1/3] MAKEALL: fix awk warning message Masahiro Yamada
2013-10-17  7:37 ` [U-Boot] [PATCH 2/3] MAKEALL: fix a bug to use CROSS_COMPILE_<ARCH> Masahiro Yamada
2013-10-17  8:33   ` Albert ARIBAUD [this message]
2013-10-17  8:48     ` Masahiro Yamada
2013-10-17  9:27       ` Albert ARIBAUD
2013-10-17 10:09         ` Masahiro Yamada
2013-10-17  7:37 ` [U-Boot] [PATCH 3/3] MAKEALL: fix boards_by_field function Masahiro Yamada
2013-10-17  8:52   ` Albert ARIBAUD
2013-10-17  8:58     ` Masahiro Yamada
2013-10-17  9:41   ` Albert ARIBAUD
2013-10-17 10:32     ` Masahiro Yamada
2013-10-17 11:41       ` Albert ARIBAUD
2013-10-18  6:37         ` Masahiro Yamada
2013-10-21 10:09         ` Masahiro Yamada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131017103354.2a6f7246@lilith \
    --to=albert.u.boot@aribaud.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox