ui/hob: switch from buildFile to buildTargets for custom image builds
authorJoshua Lock <josh@linux.intel.com>
Fri, 15 Jul 2011 17:30:48 +0000 (10:30 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Jul 2011 19:15:47 +0000 (20:15 +0100)
commit1299faae6c90c7e72e22c8704934a3cf18ebac85
treebce89523012440c06094fa3f97e0af0d1e5abd4e
parent93cecb5e613b2f38605a29cd5a275b01af5efd6a
ui/hob: switch from buildFile to buildTargets for custom image builds

We need to use the buildTargets command to ensure dependencies, such as
native tools to build the rootfs, are correctly included. This patch
achieves this by modifying BBPATH and BBFILES to include matches for the
location of the generated recipe file and reparsing the metadata before
calling buildTargets.

Fixes [YOCTO #1228]

(Bitbake rev: 5840d59098141e773c12bea8ed8d9f4f1a706132)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/ui/crumbs/configurator.py
bitbake/lib/bb/ui/crumbs/hobeventhandler.py
bitbake/lib/bb/ui/hob.py