summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 9ff6ec221b..c0df39e391 100644
--- a/documentation/kernel-dev/common.rst
+++ b/documentation/kernel-dev/common.rst
@@ -1433,15 +1433,13 @@ Expanding Variables
1433=================== 1433===================
1434 1434
1435Sometimes it is helpful to determine what a variable expands to during a 1435Sometimes it is helpful to determine what a variable expands to during a
1436build. You can examine the values of variables by examining the 1436build. You can examine the value of a variable by running the ``bitbake-getvar``
1437output of the ``bitbake -e`` command. The output is long and is more 1437command::
1438easily managed in a text file, which allows for easy searches::
1439 1438
1440 $ bitbake -e virtual/kernel > some_text_file 1439 $ bitbake-getvar -r virtual/kernel VARIABLE
1441 1440
1442Within the text file, you can see 1441The output of the command explains exactly how the variable is expanded and used
1443exactly how each variable is expanded and used by the OpenEmbedded build 1442by the :term:`OpenEmbedded Build System`.
1444system.
1445 1443
1446Working with a "Dirty" Kernel Version String 1444Working with a "Dirty" Kernel Version String
1447============================================ 1445============================================