summaryrefslogtreecommitdiffstats
path: root/documentation/kernel-dev
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@cherry.de>2025-10-29 18:42:40 +0100
committerSteve Sakoman <steve@sakoman.com>2025-11-19 08:21:24 -0800
commitd54b15eba132779248c60733d22d39d5da414178 (patch)
tree2e57605cd73924115054d2d0a6d38d751f549f0a /documentation/kernel-dev
parent2943f88d88e567aea3e556593ea41fdf76d09a0c (diff)
downloadpoky-d54b15eba132779248c60733d22d39d5da414178.tar.gz
kernel-dev: common: migrate bitbake -e to bitbake-getvar
It's recommended to use bitbake-getvar for a few releases now so let's use that instead of bitbake -e. While at it, use a cross-reference for "OpenEmbedded Build System". (From yocto-docs rev: 7f6dc007a888784a678859690dbfddd5a1fe28a0) Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit 54585646d8220f8de1ba2c7246cb3f2fcbc59583) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/kernel-dev')
-rw-r--r--documentation/kernel-dev/common.rst12
1 files changed, 5 insertions, 7 deletions
diff --git a/documentation/kernel-dev/common.rst b/documentation/kernel-dev/common.rst
index eea6faa135..97ff722642 100644
--- a/documentation/kernel-dev/common.rst
+++ b/documentation/kernel-dev/common.rst
@@ -1514,15 +1514,13 @@ Expanding Variables
1514=================== 1514===================
1515 1515
1516Sometimes it is helpful to determine what a variable expands to during a 1516Sometimes it is helpful to determine what a variable expands to during a
1517build. You can examine the values of variables by examining the 1517build. You can examine the value of a variable by running the ``bitbake-getvar``
1518output of the ``bitbake -e`` command. The output is long and is more 1518command::
1519easily managed in a text file, which allows for easy searches::
1520 1519
1521 $ bitbake -e virtual/kernel > some_text_file 1520 $ bitbake-getvar -r virtual/kernel VARIABLE
1522 1521
1523Within the text file, you can see 1522The output of the command explains exactly how the variable is expanded and used
1524exactly how each variable is expanded and used by the OpenEmbedded build 1523by the :term:`OpenEmbedded Build System`.
1525system.
1526 1524
1527Working with a "Dirty" Kernel Version String 1525Working with a "Dirty" Kernel Version String
1528============================================ 1526============================================