generic-poky/meta/lib/oe
Paul Eggleton d3a4f72896 classes/populate_sdk_ext: add option to bring in pkgdata for world
Add a variable SDK_INCLUDE_PKGDATA which you can set to "1" to include
pkgdata for all recipes in the world target. There are a couple of uses
for this:

1) If you use "devtool add" to add a recipe that builds something which
   depends on anything in world, the dependency can then be correctly
   mapped to the recipe providing it and that recipe can be added to
   DEPENDS, since we have the pkg-config and shared library dependency
   data within pkgdata.
2) You'll be able to search for these recipes and any files they
   package for the target with "devtool search" since that also uses
   pkgdata

This of course assumes you've tailored world through EXCLUDE_FROM_WORLD
to only include recipes you'd want built in your distro, but I think
that's a reasonable assumption; failing that there is a
WORLD_PKGDATA_EXCLUDE variable that you can set to exclude any recipes
you don't want.

Note that this patch relies on functionality implemented in a recent
BitBake patch and will not work without it.

Implements [YOCTO #8600].

(From OE-Core rev: 67149ea097d6fab7496b43e85a40853f40bd527e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-24 09:40:32 +00:00
..
tests test_utils: import functions directly for conciseness 2013-06-07 16:48:25 +01:00
__init__.py lib/oe: turn oe into a namespace package 2014-03-17 14:01:41 +00:00
buildhistory_analysis.py classes/buildhistory: add additional variables to image information 2013-12-03 17:45:50 +00:00
cachedpath.py cachedpath.py: global name 'error' is not defined 2013-05-15 19:27:11 +03:00
classextend.py lib/oe/classextend: Fix nativesdk double name mapping 2015-07-31 10:32:36 +01:00
classutils.py oe.classutils: add module 2011-06-28 13:55:43 +01:00
copy_buildsystem.py classes/populate_sdk_ext: add option to bring in pkgdata for world 2016-01-24 09:40:32 +00:00
data.py Remove a number of unneeded import os/bb calls 2012-07-19 12:24:50 +01:00
distro_check.py lib/oe/distro_check: don't set empty proxy keys 2015-11-24 15:55:41 +00:00
license.py license: Add support for handle INCOMPATIBLE_LICENSE in manifest creation 2015-05-09 22:28:14 +01:00
lsb.py lib/oe/lsb.py: Prioritize parsing of /etc/os-release 2015-03-22 14:42:18 +00:00
maketype.py Remove a number of unneeded import os/bb calls 2012-07-19 12:24:50 +01:00
manifest.py populate_sdk: Fix TOOLCHAIN_TARGET_TASK_ATTEMPTONLY implementation 2014-06-25 13:51:47 +01:00
package.py split_and_strip_files: regroup hardlinks to make build deterministic 2015-04-29 10:58:55 +01:00
package_manager.py lib/oe/package_manager.py: Remove list() from PkgsList class 2016-01-20 17:07:15 +00:00
packagedata.py bitbake.conf/package: Collapse PKGDATA_DIR into a single machine specific directory 2013-09-14 08:21:00 +01:00
packagegroup.py Rename PACKAGE_GROUP variable to FEATURE_PACKAGES 2014-03-07 14:45:21 +00:00
patch.py lib/oe/patch: improve extraction of patch header 2015-12-01 21:32:03 +00:00
path.py lib/oe: drop custom implementation of oe.path.relative 2014-03-07 14:58:44 +00:00
prservice.py image/kernel-module-split/eglibc-ld.inc: Remove has_key() usage 2013-05-09 14:06:51 +01:00
qa.py image/kernel-module-split/eglibc-ld.inc: Remove has_key() usage 2013-05-09 14:06:51 +01:00
recipeutils.py lib/oe/recipeutils: refactor patch_recipe_file() to use edit_metadata() 2015-12-01 21:32:04 +00:00
rootfs.py lib/oe/rootfs: Use list_pkgs() instead of list() 2016-01-20 17:07:15 +00:00
sdk.py lib/oe/rootfs: Use list_pkgs() instead of list() 2016-01-20 17:07:15 +00:00
sstatesig.py sstatesig: Handle special case of gcc-source shared-workdir for printdiff 2016-01-11 15:41:47 +00:00
terminal.py lib/oe/terminal: use C locale when determining version 2015-12-01 21:32:02 +00:00
types.py oe.types: add 'path' type 2013-08-26 11:47:18 +01:00
utils.py lib/oe/utils: Add function format_pkg_list() 2016-01-20 17:07:15 +00:00