summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual
diff options
context:
space:
mode:
authorChristian Eggers <ceggers@arri.de>2022-02-14 17:17:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-18 17:58:02 +0000
commitb6c132950188ad41bd6454bbc708a42999c369be (patch)
tree35113201f51c1e78b1cd71840ae7d3affb1c0426 /documentation/dev-manual
parent21de9a33dcd9f16324bf4226b717e6c8655e0393 (diff)
downloadpoky-b6c132950188ad41bd6454bbc708a42999c369be.tar.gz
dev-manual: update example from kernel.bbclass
Since f7485646534e ("kernel: provide virtual/kernel for all kernels"), all recipes which inherit kernel.bbclass provide "virtual/kernel", independent of the value of `KERNEL_PACKAGE_NAME`. (From yocto-docs rev: da69e75c7f84f51c8fa95e9217e11b4b36af52d6) Signed-off-by: Christian Eggers <ceggers@arri.de> Reviewed-by: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r--documentation/dev-manual/common-tasks.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst
index d35b590ee1..1856d4c3ad 100644
--- a/documentation/dev-manual/common-tasks.rst
+++ b/documentation/dev-manual/common-tasks.rst
@@ -2114,7 +2114,7 @@ statement that essentially identifies itself as being able to provide
2114``virtual/kernel``. Here is one way through the 2114``virtual/kernel``. Here is one way through the
2115:ref:`kernel <ref-classes-kernel>` class:: 2115:ref:`kernel <ref-classes-kernel>` class::
2116 2116
2117 PROVIDES += "${@ "virtual/kernel" if (d.getVar("KERNEL_PACKAGE_NAME") == "kernel") else "" }" 2117 PROVIDES += "virtual/kernel"
2118 2118
2119Any recipe that inherits the :ref:`kernel <ref-classes-kernel>` class is 2119Any recipe that inherits the :ref:`kernel <ref-classes-kernel>` class is
2120going to utilize a :term:`PROVIDES` statement that identifies that recipe as 2120going to utilize a :term:`PROVIDES` statement that identifies that recipe as