diff options
| author | Quentin Schulz <quentin.schulz@cherry.de> | 2025-10-29 18:42:40 +0100 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-11-26 07:50:36 -0800 |
| commit | bfa2803f8e626fbba9f1b012e999fb852d3044de (patch) | |
| tree | cebb336917e42e65b156e1d476c96acb892b825d /documentation/kernel-dev | |
| parent | a6b0e3d404647bc8af85c1a938ff7ed8b0252c19 (diff) | |
| download | poky-bfa2803f8e626fbba9f1b012e999fb852d3044de.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: 29836a95c01cdb99c38802f55a92f32377b8c524)
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.rst | 12 |
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 | ||
| 1435 | Sometimes it is helpful to determine what a variable expands to during a | 1435 | Sometimes it is helpful to determine what a variable expands to during a |
| 1436 | build. You can examine the values of variables by examining the | 1436 | build. You can examine the value of a variable by running the ``bitbake-getvar`` |
| 1437 | output of the ``bitbake -e`` command. The output is long and is more | 1437 | command:: |
| 1438 | easily 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 | ||
| 1442 | Within the text file, you can see | 1441 | The output of the command explains exactly how the variable is expanded and used |
| 1443 | exactly how each variable is expanded and used by the OpenEmbedded build | 1442 | by the :term:`OpenEmbedded Build System`. |
| 1444 | system. | ||
| 1445 | 1443 | ||
| 1446 | Working with a "Dirty" Kernel Version String | 1444 | Working with a "Dirty" Kernel Version String |
| 1447 | ============================================ | 1445 | ============================================ |
