<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 3, 2016 at 7:31 PM, Christopher 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 dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Mon, May 2, 2016 at 12:22 PM, Ed Bartosh <span dir="ltr"><<a href="mailto:ed.bartosh@linux.intel.com" target="_blank">ed.bartosh@linux.intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Generated standalone bmaptool script that is more convenient<br>
to use than native script. It can be run straight from<br>
its location ./tmp/deploy/tools/bmaptool. The script doesn't<br>
depend on anything except Python.<br>
<br>
Signed-off-by: Ed Bartosh <<a href="mailto:ed.bartosh@linux.intel.com" target="_blank">ed.bartosh@linux.intel.com</a>><br></blockquote><div><br></div></span><div>You're right that this is very handy, but we hit a problem when building from shared state. This uses do_deploy to deploy bmaptool into DEPLOY_DIR_IMAGE, but IMAGE_DEPENDS only depends on do_populate_sysroot, not do_deploy, so an image build from sstate won't write this script out.</div><div><br></div><div>I don't know the right way to fix this, but it's a problem. I just ran into it :)</div></div></div></div></blockquote><div><br></div><div>Also, the convention is to add do_deploy before do_build, not before do_package, otherwise do_deploy's checksum is included int he checksums of do_package and subsequent tasks, even though its output isn't used by any subsequent tasks. </div></div>-- <br><div class="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>