<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 22, 2012 at 4:10 PM, Chris Larson <span dir="ltr"><<a href="mailto:clarson@kergoth.com" target="_blank">clarson@kergoth.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra">Yeah, that quick script just ran bitbake -e, not bitbake -e <provider>. You could modify it easily enough to support that, though.</div>
<div class="gmail_extra">
<br></div><div class="gmail_extra">You could also try out <a href="https://gist.github.com/4133101" target="_blank">https://gist.github.com/4133101</a>. It's just a quick prototype. Drop it next to bitbake in bitbake/bin/. It fixes a couple minor annoyances with bitbake -e and it sends all the bitbake log output from stdout to stderr, so you can redirect that independently of the emitted variables and values.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Usage examples:</div><div class="gmail_extra"><br></div><div class="gmail_extra"> bitbake-env DISTRO MACHINE do_configure</div><div class="gmail_extra"> bitbake-env -r virtual/kernel FILE</div>
<div class="gmail_extra"> eval $(bitbake-env TMPDIR | grep -v '^#')</div></blockquote></div><br>Oh, I forgot to mention that it can handle filtering not just regular variables, but functions as well, since it's in python:</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"> bitbake-env base_set_filespath<br>-- <br>Christopher Larson<br>
</div>