All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christopher Larson <clarson@kergoth.com>
To: Robert Yang <liezhi.yang@windriver.com>
Cc: bitbake-devel@lists.openembedded.org
Subject: Re: questions about bitbake world
Date: Thu, 12 Apr 2012 19:44:09 -0700	[thread overview]
Message-ID: <54D86FE786BF497FAAE0A3B629E36154@gmail.com> (raw)
In-Reply-To: <4F8778E1.3010403@windriver.com>

[-- Attachment #1: Type: text/plain, Size: 2093 bytes --]

Define EXCLUDE_FROM_WORLD = "1" in the recipe.

-- 
Christopher Larson


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 it
> when bitbake world, please?
> 
> // Robert
> 
> On 04/10/2012 10:15 PM, Chris Larson wrote:
> > On Tue, Apr 10, 2012 at 7:12 AM, Robert Yang<liezhi.yang@windriver.com (mailto: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 (mailto:liezhi.yang@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.
> > 
> > Fair point, I think in certain cases we also only wanted to build
> > things if they got pulled in via a dependency. For example, iirc
> > native and cross both exclude themselves from world via a variable set
> > in the classes. I don't recall if such was the case here, however.
> > 
> 
> 
> 



[-- Attachment #2: Type: text/html, Size: 3125 bytes --]

      reply	other threads:[~2012-04-13  2:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-10  8:24 questions about bitbake world Robert Yang
2012-04-10 13:58 ` Chris Larson
2012-04-10 14:12   ` Robert Yang
2012-04-10 14:15     ` Chris Larson
2012-04-13  0:52       ` Robert Yang
2012-04-13  2:44         ` Christopher Larson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54D86FE786BF497FAAE0A3B629E36154@gmail.com \
    --to=clarson@kergoth.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=liezhi.yang@windriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.