[OE-core] how to properly use "EXTRA_ASSUME_PROVIDED"?
Richard Purdie
rpurdie at rpsys.net
Wed Jul 25 21:21:01 UTC 2012
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?
Cheers,
Richard
More information about the Openembedded-core
mailing list