From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: how to properly use "EXTRA_ASSUME_PROVIDED"?
Date: Thu, 26 Jul 2012 08:37:18 +0100 [thread overview]
Message-ID: <1343288238.29991.21.camel@ted> (raw)
In-Reply-To: <alpine.DEB.2.02.1207252009070.14124@oneiric>
On Wed, 2012-07-25 at 20:10 -0400, Robert P. J. Day wrote:
> On Wed, 25 Jul 2012, Richard Purdie wrote:
>
> > On Wed, 2012-07-25 at 16:06 -0400, Robert P. J. Day wrote:
> > > what is the proper way to use EXTRA_ASSUME_PROVIDED, and is the
> > > effect of that visible in the bitbake environment?
> > >
> > > as in, based on the current version of bitbake.conf, i can see this
> > > with "bitbake -e":
> > >
> > > ASSUME_PROVIDED="bzip2-native git-native grep-native diffstat-native
> > > patch-native perl-native-runtime python-native-runtime tar-native
> > > virtual/libintl-native"
> > >
> > > if i add the following silliness to my local.conf,
> > >
> > > ASSUME_PROVIDED += "rday-native"
> > >
> > > i can see that in the env as well:
> > >
> > > ASSUME_PROVIDED="bzip2-native git-native grep-native diffstat-native
> > > patch-native perl-native-runtime python-native-runtime tar-native
> > > virtual/libintl-native rday-native"
> > >
> > > but is it correct to run the following:
> > >
> > > $ bitbake -I EXTRA_ASSUME_PROVIDED="rday-native" -e core-image-minimal
> > >
> > > and if it is, should i be able to verify that anywhere in the
> > > environment? doesn't seem so. from bitbake/lib/bb/cooker.py, it
> > > looks like whatever i put there is being processed thusly:
> > >
> > > ignore = self.configuration.data.getVar("ASSUME_PROVIDED", True) or ""
> > > self.status.ignored_dependencies = set(ignore.split())
> > >
> > > for dep in self.configuration.extra_assume_provided:
> > > self.status.ignored_dependencies.add(dep)
> > >
> > > so is there any way to see that? thanks.
> >
> > Where did you come to believe EXTRA_ASSUME_PROVIDED did anything?
>
> um ... from the output of "bitbake -h":
>
> -I EXTRA_ASSUME_PROVIDED, --ignore-deps=EXTRA_ASSUME_PROVIDED
> Assume these dependencies don't exist and are already
> provided (equivalent to ASSUME_PROVIDED). Useful to
> make dependency graphs more appealing
So its not a variable, its a parameter. You probably mean to run
something like:
bitbake -I rday-native -e core-image-minimal
or
bitbake --ignore-deps=rday-native -e core-image-minimal
Cheers,
Richard
next prev parent reply other threads:[~2012-07-26 7:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-25 20:06 how to properly use "EXTRA_ASSUME_PROVIDED"? Robert P. J. Day
2012-07-25 21:21 ` Richard Purdie
2012-07-26 0:10 ` Robert P. J. Day
2012-07-26 7:37 ` Richard Purdie [this message]
2012-07-26 10:57 ` Robert P. J. Day
2012-07-26 11:18 ` Richard Purdie
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=1343288238.29991.21.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox