diff options
| author | Antonin Godard <antonin.godard@bootlin.com> | 2025-09-26 09:54:23 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-14 11:36:58 +0100 |
| commit | d9bd693589c9b8afc2fcea25abe3eee7640b1596 (patch) | |
| tree | 442abf9a611e9a1682dce3f704c07173673e7370 /documentation | |
| parent | c034e6de6831652e14cbbf4314e460c13de862e0 (diff) | |
| download | poky-d9bd693589c9b8afc2fcea25abe3eee7640b1596.tar.gz | |
dev-manual/layers.rst: yocto-check-layer: mention --machines and --dependency
The yocto-check-layer script should be run with the --machines arguments
to test the different machines present in a BSP layer. Mention it in the
documentation. The --dependency can also be used so also mention that.
[YOCTO #15974]
Cc: Mark Hatle <mark.hatle@kernel.crashing.org>
(From yocto-docs rev: 2cd7b5c83978819179b8a47e213b9812b97d5720)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/dev-manual/layers.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/documentation/dev-manual/layers.rst b/documentation/dev-manual/layers.rst index fbf3f1a339..4224a02b28 100644 --- a/documentation/dev-manual/layers.rst +++ b/documentation/dev-manual/layers.rst | |||
| @@ -376,6 +376,21 @@ directory:: | |||
| 376 | Be sure to provide the actual directory for your | 376 | Be sure to provide the actual directory for your |
| 377 | layer as part of the command. | 377 | layer as part of the command. |
| 378 | 378 | ||
| 379 | You should pass the dependencies of your layer using the ``--dependency`` | ||
| 380 | argument:: | ||
| 381 | |||
| 382 | $ source oe-init-build-env | ||
| 383 | $ yocto-check-layer --dependency <layer1_directory> <layer2_directory> ... -- your_layer_directory | ||
| 384 | |||
| 385 | For :term:`BSP <Board Support Package (BSP)>` layers, the ``--machines`` | ||
| 386 | argument should be passed as part of the command:: | ||
| 387 | |||
| 388 | $ source oe-init-build-env | ||
| 389 | $ yocto-check-layer --machines <machine1> <machine2> ... -- your_layer_directory | ||
| 390 | |||
| 391 | These machines are the ones present in your BSP layer, in the ``conf/machine/`` | ||
| 392 | directory. | ||
| 393 | |||
| 379 | Entering the command causes the script to determine the type of layer | 394 | Entering the command causes the script to determine the type of layer |
| 380 | and then to execute a set of specific tests against the layer. The | 395 | and then to execute a set of specific tests against the layer. The |
| 381 | following list overviews the test: | 396 | following list overviews the test: |
