[OE-core] how to properly use "EXTRA_ASSUME_PROVIDED"?
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Jul 26 07:37:18 UTC 2012
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
More information about the Openembedded-core
mailing list