generic-poky/meta
Mikko Rapeli c52fe3a77a buildhistory.bbclass: add layer name to source recipe data
It is useful to know which layer provided a given recipe and its
binary packages.

Many projects combine a number of layers and some of them
also provide same recipe names in which case bitbake
can prioritize between them. buildhistory can record
the decision by saving the layer from where the recipe
was taken from.

Also, if a project is split to sub projects which maintain
recipes in different meta layers, then meta layer specific
summaries of e.g. disk usage can be calculated if
source recipes meta layer name is recorded for example in
buildhistory.

If source layer is not in build history, then layer providing
the recipe can be exported from build environment using
'bitbake-layers show-recipes', but it takes a long time to execute
since all recipes are parsed again and requires full source tree
with correct build configuration.

This patch exports the name of layer as configured in BBFILE_COLLECTIONS
append of its layer.conf. 'bitbake-layers show-recipes' exports the
meta layers directory path name. For several open source layers
these are different, e.g. meta-openembedded/meta-perl/conf/layer.conf
is perl-layer, poky/meta/conf/layer.conf is core,
poky/meta-skeleton/conf/layer.conf is skeleton etc.

(From OE-Core rev: d8e59d1f840e4282859ad14397d1c06516b8eb11)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-22 11:35:22 +00:00
..
classes buildhistory.bbclass: add layer name to source recipe data 2017-03-22 11:35:22 +00:00
conf bitbake.conf: remove vi from HOSTTOOLS list 2017-03-22 11:35:21 +00:00
files fs-perms.txt: Two cleanup tweaks for consistency. 2017-03-17 16:53:05 +00:00
lib oeqa/selftest: remove test_sanity_unsafe_binary_references 2017-03-22 11:35:21 +00:00
recipes-bsp u-boot-fw-utils: reuse the same override HOSTCC patch as u-boot-mkimage 2017-03-17 16:53:06 +00:00
recipes-connectivity openssl: Fix build with clang 2017-03-22 11:35:21 +00:00
recipes-core ovmf: fix toolchain selection 2017-03-22 11:35:22 +00:00
recipes-devtools libcomps: Fix/optimize building with clang 2017-03-22 11:35:22 +00:00
recipes-extended acpitests: Point Makefile CC to use OE synthesized CC 2017-03-22 11:35:21 +00:00
recipes-gnome nativesdk-packagegroup-sdk-host: replace smartpm with dnf 2017-03-14 14:42:17 +00:00
recipes-graphics xserver-xf86-config: Remove X server module preload 2017-03-17 16:53:05 +00:00
recipes-kernel lttng-modules: Replace '/lib' with ${nonarch_base_libdir} 2017-03-22 11:35:20 +00:00
recipes-lsb4 libpng12: Use rm instead of unlink 2017-03-10 14:50:11 +00:00
recipes-multimedia meta: replace uses of bb.data.expand(VARNAME, d) with d.expand(VARNAME) 2017-03-22 11:35:19 +00:00
recipes-rt meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
recipes-sato webkitgtk: Fix build on aarch64 2017-03-17 16:53:05 +00:00
recipes-support gpgme: Avoid requiring a host C++ compiler with C++11 support 2017-03-22 11:35:21 +00:00
site siteinfo.bbclass: Add mipsisa{32, 64}r6{el, } support 2016-10-07 16:43:57 +01:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt qt4: remove recipes and classes 2016-01-07 13:40:14 +00:00