generic-poky/meta/recipes-kernel
Bruce Ashfield de2211133f kernel-yocto: allow multiple / shared kernel feature directories
To promote the reuse and sharing of configuration fragments this change
allows any kernel-yocto based recipe to have multiple alternate git repositories
which provide kernel feature directory trees listed on the SRC_URI.

These feature directories are in addition to any in-tree kernel meta data branches
that may be available (described via the KMETA variable in linux-yocto recipes).

Features found within these directories can be used from recipes via the
KERNEL_FEATURES variable. Features found within a feature directory are free
to include any other features that are available in any directories. In both
cases the path to a feature description (a .scc file) is relative to the
root of a given feature directory (which is how existing .scc files work)

The search order for features is determined by the order that repositories
appear on the SRC_URI.

Normal SRC_URI rules apply to any repository that is added as a kernel
feature container. A SRCREV must be supplied and it must be unpacked to
a unique directory, which is controlled via the "destsuffic" url parameter.

In addition to these standard requirements, any kernel feature repository
reference should identify itself via the "type=kmeta" url parameter. If
type=kmeta is not supplied, the repository will not be processed for
kernel features.

As an example, the following in a linux-yocto bbappend makes two additional
feature directories available to KERNEL_FEATURES and fragments.

 SRC_URI += "git://git.yoctoproject.org/yocto-kernel-cache;protocol=git;branch=master;type=kmeta;name=feat1;destsuffix=kernel-cache/"
 SRC_URI += "git://${KSRC_linux_yocto_3_4};protocol=file;branch=meta;name=feat2;type=kmeta;destsuffix=kernel-features-experimental/"

 SRCREV_feat1 = "${AUTOREV}"
 SRCREV_feat2 = "${AUTOREV}"

(From OE-Core rev: 02ad603a104b70ab74548c8018e738bfbb3c59db)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-04 13:18:28 +00:00
..
blktrace blktrace: add back do_install method 2013-01-22 15:52:44 +00:00
dtc dtc.inc: fix for libdir == /usr/lib64 2012-07-11 11:35:52 +01:00
kern-tools kernel-yocto: allow multiple / shared kernel feature directories 2013-02-04 13:18:28 +00:00
kexec kexec-tools: Add dependency on xz 2012-10-18 12:13:45 +01:00
kmod kmod: fix git repo URL 2012-11-20 15:31:47 +00:00
latencytop latencytop: add missing signed-off-by and re-add upstream status 2012-12-03 16:38:35 +00:00
linux qemux86-64: Disable paravirt guest, causes test failure on older kernels 2013-02-01 15:54:31 +00:00
linux-firmware linux-firmware: use LICENSEs which can actually be parsed 2013-01-18 13:28:06 +00:00
linux-libc-headers linux-libc-headers: fix headers install in long path name environments 2013-01-10 23:53:51 +00:00
lttng lttng-ust: bump PE 2013-01-16 15:51:31 +00:00
modutils-initscripts modutils-initscripts: improve modutils.sh 2013-01-18 13:28:07 +00:00
oprofile oprofile: remove AX_KERNEL_VERSION from acinclude.m4 2013-02-01 15:54:29 +00:00
perf iperf: pass in target path vars 2012-12-17 17:24:54 +00:00
powertop powertop: cleanup update-alternatives deprecated code 2012-08-15 14:26:30 +01:00
sysprof sysprof: Fixes undefined  reference to `rmb' 2012-11-26 20:59:20 +00:00
systemtap Update the SRC_URI in systemtap recipe 2012-12-14 13:11:39 +00:00
trace-cmd trace-cmd: Simplify SRC_URI patch entry 2012-11-21 16:56:02 +00:00