[OE-core] how to properly use "EXTRA_ASSUME_PROVIDED"?

Robert P. J. Day rpjday at crashcourse.ca
Thu Jul 26 00:10:08 UTC 2012


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

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the Openembedded-core mailing list