From: Masahiro Yamada <yamada.m@jp.panasonic.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] build: define CPU only when arch/${ARCH}/cpu/${CPU} exists
Date: Wed, 09 Jul 2014 10:42:30 +0900 [thread overview]
Message-ID: <20140709104229.B0B5.AA925319@jp.panasonic.com> (raw)
In-Reply-To: <CAPnjgZ3JKS76gfjE55o6podJLm-sQphr9R_HTpN6nh3OsjPrZQ@mail.gmail.com>
Hi Simon,
On Mon, 7 Jul 2014 16:44:36 -0600
Simon Glass <sjg@chromium.org> wrote:
>
> But see question below.
> > diff --git a/mkconfig b/mkconfig
> > index 2bf5897..401f262 100755
> > --- a/mkconfig
> > +++ b/mkconfig
> > @@ -55,6 +55,11 @@ CONFIG_NAME="${7%_config}"
> > arch="$2"
> > cpu=`echo $3 | awk 'BEGIN {FS = ":"} ; {print $1}'`
> > spl_cpu=`echo $3 | awk 'BEGIN {FS = ":"} ; {print $2}'`
> > +
> > +if [ "$cpu" = "-" ] ; then
> > + cpu=
> > +fi
> > +
> > if [ "$6" = "<none>" ] ; then
> > board=
> > elif [ "$6" = "-" ] ; then
> > @@ -114,10 +119,10 @@ fi
> >
> > rm -f asm/arch
> >
> > -if [ -z "${soc}" ] ; then
> > - ln -s ${LNPREFIX}arch-${cpu} asm/arch
> > -else
> > +if [ "${soc}" ] ; then
>
> Will this work OK in dash? (or non-bash)
>
Yes.
I am dash-user. :-)
This is working on dash too.
Best Regards
Masahiro Yamada
next prev parent reply other threads:[~2014-07-09 1:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-24 13:10 [U-Boot] [PATCH] build: define CPU only when arch/${ARCH}/cpu/${CPU} exists Masahiro Yamada
2014-07-07 22:44 ` Simon Glass
2014-07-09 1:42 ` Masahiro Yamada [this message]
2014-07-08 1:37 ` [U-Boot] " Tom Rini
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=20140709104229.B0B5.AA925319@jp.panasonic.com \
--to=yamada.m@jp.panasonic.com \
--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