summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-09-26 09:54:23 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-14 11:36:58 +0100
commitd9bd693589c9b8afc2fcea25abe3eee7640b1596 (patch)
tree442abf9a611e9a1682dce3f704c07173673e7370 /documentation
parentc034e6de6831652e14cbbf4314e460c13de862e0 (diff)
downloadpoky-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.rst15
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::
376Be sure to provide the actual directory for your 376Be sure to provide the actual directory for your
377layer as part of the command. 377layer as part of the command.
378 378
379You should pass the dependencies of your layer using the ``--dependency``
380argument::
381
382 $ source oe-init-build-env
383 $ yocto-check-layer --dependency <layer1_directory> <layer2_directory> ... -- your_layer_directory
384
385For :term:`BSP <Board Support Package (BSP)>` layers, the ``--machines``
386argument 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
391These machines are the ones present in your BSP layer, in the ``conf/machine/``
392directory.
393
379Entering the command causes the script to determine the type of layer 394Entering the command causes the script to determine the type of layer
380and then to execute a set of specific tests against the layer. The 395and then to execute a set of specific tests against the layer. The
381following list overviews the test: 396following list overviews the test: