summaryrefslogtreecommitdiffstats
path: root/documentation/kernel-dev/common.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/kernel-dev/common.rst')
-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============================================