Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: "Dennis.Yxun" <dennis.yxun@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] runqemu/mips: adjust runqemu script to support mipsel machine
Date: Thu, 12 Jul 2012 10:46:15 +0100	[thread overview]
Message-ID: <1603531.7in6lz8L8l@helios> (raw)
In-Reply-To: <CAF1ZMEfMmkx9q8H1-TY9h3-Bc=Ljxq=5SfHHjokEaKs-FC25Pw@mail.gmail.com>

On Thursday 12 July 2012 11:08:40 Dennis.Yxun wrote:
> On Wed, Jul 11, 2012 at 3:05 PM, Dennis Lan <dennis.yxun@gmail.com> wrote:
> > -if [ "$MACHINE" = "qemumips" -o "$MACHINE" = "qemumips64" ]; then
> > -    if [ "$MACHINE" = "qemumips64" ]; then
> > -       QEMU=qemu-system-mips64
> > -    else
> > -       QEMU=qemu-system-mips
> > -    fi
> > +if [ "$MACHINE" = "qemumips" -o "$MACHINE" = "qemumipsel" -o "$MACHINE" = "qemumips64" ]; then
> > +    QEMU=${MACHINE/qemu/qemu-system-}

Unfortunately substitution like this is a bashism (i.e. does not work in
purely POSIX-compliant shells such as dash). Can you rework this?

Thanks,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



  reply	other threads:[~2012-07-12  9:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-11  7:05 [PATCH] runqemu/mips: adjust runqemu script to support mipsel machine Dennis Lan
2012-07-12  3:08 ` Dennis.Yxun
2012-07-12  9:46   ` Paul Eggleton [this message]
2012-07-12 10:00     ` Dennis.Yxun

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=1603531.7in6lz8L8l@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=dennis.yxun@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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