command.py: add resolve option for generateTargetsTree API
authorDongxiao Xu <dongxiao.xu@intel.com>
Thu, 23 Feb 2012 13:47:14 +0000 (21:47 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Feb 2012 22:52:17 +0000 (22:52 +0000)
commit38194f38414a2e4555e3a36031d524089f5ca2ad
treedc55aef5ec7074c6472c6f961cd7dbd3d8bd9d2b
parentf5bd674b7f0380e203fde243ee333159a1e5441b
command.py: add resolve option for generateTargetsTree API

Currently we have generateTargetsTree API, which is used to get
dependency information. However in that tree, there will be
"virtual/xxx" in depends fields. Therefore we add the resolve option
to replace it with its real providers.

Besides, for packages that provided by multiple recipes, we will find
their preverred provider.

(Bitbake rev: 28501612efdfc6ee47576cc90deb6e897883e7f5)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/command.py
bitbake/lib/bb/cooker.py