diff options
Diffstat (limited to 'documentation/kernel-dev/common.rst')
| -rw-r--r-- | documentation/kernel-dev/common.rst | 12 |
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 | ||
| 1516 | Sometimes it is helpful to determine what a variable expands to during a | 1516 | Sometimes it is helpful to determine what a variable expands to during a |
| 1517 | build. You can examine the values of variables by examining the | 1517 | build. You can examine the value of a variable by running the ``bitbake-getvar`` |
| 1518 | output of the ``bitbake -e`` command. The output is long and is more | 1518 | command:: |
| 1519 | easily 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 | ||
| 1523 | Within the text file, you can see | 1522 | The output of the command explains exactly how the variable is expanded and used |
| 1524 | exactly how each variable is expanded and used by the OpenEmbedded build | 1523 | by the :term:`OpenEmbedded Build System`. |
| 1525 | system. | ||
| 1526 | 1524 | ||
| 1527 | Working with a "Dirty" Kernel Version String | 1525 | Working with a "Dirty" Kernel Version String |
| 1528 | ============================================ | 1526 | ============================================ |
