On Thursday, April 12, 2012 at 5:52 PM, Robert Yang wrote:
Thanks, is there a way to skip the pkg if I don't want to build itwhen bitbake world, please?// RobertOn 04/10/2012 10:15 PM, Chris Larson wrote:On Tue, Apr 10, 2012 at 7:12 AM, Robert Yang<liezhi.yang@windriver.com> wrote:On 04/10/2012 09:58 PM, Chris Larson wrote:On Tue, Apr 10, 2012 at 1:24 AM, Robert Yang<liezhi.yang@windriver.com>wrote:In the following code:def buildWorldTargetList(self):...for f in self.status.possible_world:terminal = Truepn = self.status.pkg_fn[f]for p in pn_provides[pn]:if p.startswith('virtual/'):parselog.debug(2, "World build skipping %s due to %sprovider starting with virtual/", f, p)terminal = Falsebreak...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 inthisway, please?The original intent with world was that when two recipes provided thesame thing, we'd still only want to build one of them, not both, asbuilding both can cause problems with stepping on one another insysroot, etc.Thanks for your reply, but it seems that it builts none currently.Fair point, I think in certain cases we also only wanted to buildthings if they got pulled in via a dependency. For example, iircnative and cross both exclude themselves from world via a variable setin the classes. I don't recall if such was the case here, however.