Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Phil Blundell <pb@pbcl.net>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] runqemu: take TMPDIR from bitbake
Date: Tue, 14 Jun 2011 11:35:49 +0100	[thread overview]
Message-ID: <1308047749.25285.248.camel@phil-desktop> (raw)
In-Reply-To: <BANLkTimyQdXV9Fxp8EuAfEWfX2=eGt=O+Q@mail.gmail.com>

On Tue, 2011-06-14 at 12:33 +0200, Anders Darander wrote:
> Sure, if we need multiple variables, we'll save time by only invoking
> bitbake (and parse all configs, etc) once. On the other hand, have we
> then gained anything, as compared to 'bitbake -e'? Sure, we'll reduce
> the output, by only outputing the requested variables... But in the
> original case: TMPDIR=`bitbake -e | grep TMPDIR=\" | cut -d '=' -f2 |
> cut -d '"' -f2`
> the only change we can do is to substitute 'bitbake -e' with 'bitbake
> -V TMDPDIR', which wouldn't be any improvement.

Well, that's not quite true.  If "bitbake -V" outputted the full
assignment then you could just write:

eval `bitbake -V TMPDIR`

which would be a considerable improvement.

p.





  reply	other threads:[~2011-06-14 10:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-13 17:26 [PATCH] runqemu: take TMPDIR from bitbake Anders Darander
2011-06-13 21:16 ` Scott Garman
2011-06-13 22:22 ` Yury Bushmelev
2011-06-14  5:51   ` Anders Darander
2011-06-14  9:25     ` Yury Bushmelev
2011-06-14 10:33       ` Anders Darander
2011-06-14 10:35         ` Phil Blundell [this message]
2011-06-14 11:17           ` Anders Darander

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=1308047749.25285.248.camel@phil-desktop \
    --to=pb@pbcl.net \
    --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