[bitbake-devel] questions about bitbake world
Robert Yang
liezhi.yang at windriver.com
Tue Apr 10 14:12:17 UTC 2012
On 04/10/2012 09:58 PM, Chris Larson wrote:
> On Tue, Apr 10, 2012 at 1:24 AM, Robert Yang<liezhi.yang at windriver.com> wrote:
>> In the following code:
>>
>> def buildWorldTargetList(self):
>> ...
>> for f in self.status.possible_world:
>> terminal = True
>> pn = self.status.pkg_fn[f]
>>
>> for p in pn_provides[pn]:
>> if p.startswith('virtual/'):
>> parselog.debug(2, "World build skipping %s due to %s
>> provider starting with virtual/", f, p)
>> terminal = False
>> break
>> ...
>>
>> Does it mean that if a recipe contains:
>>
>> PROVIDES = "virtual/something"
>>
>> Then it would not be built until a pkg depends on it? Why we design it in
>> this
>> way, please?
>
> The original intent with world was that when two recipes provided the
> same thing, we'd still only want to build one of them, not both, as
> building both can cause problems with stepping on one another in
> sysroot, etc.
Thanks for your reply, but it seems that it builts none currently.
// Robert
More information about the bitbake-devel
mailing list