diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2021-08-29 05:42:31 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-18 13:03:45 +0100 |
commit | b7030dd10ef0b49a89ac384ee12d5b942f4a8fb0 (patch) | |
tree | 2ab4a36336cb0484c7abd5a71dcbe7892aa9eb52 /documentation/dev-manual | |
parent | badb6c6fb491338e81fa10348a9315bd3c228a1a (diff) | |
download | poky-b7030dd10ef0b49a89ac384ee12d5b942f4a8fb0.tar.gz |
dev-manual: emphasize that new layers live outside of poky
Tweak the bblayers.conf example to encourage the reader to appreciate
that any new layers should not share space with the official Poky
checkout.
(From yocto-docs rev: 46931f8497c3c4b874613acbe7c9612944174559)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r-- | documentation/dev-manual/common-tasks.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst index 87c5a081ec..6bdf46e190 100644 --- a/documentation/dev-manual/common-tasks.rst +++ b/documentation/dev-manual/common-tasks.rst | |||
@@ -422,8 +422,9 @@ Before the OpenEmbedded build system can use your new layer, you need to | |||
422 | enable it. To enable your layer, simply add your layer's path to the | 422 | enable it. To enable your layer, simply add your layer's path to the |
423 | :term:`BBLAYERS` variable in your ``conf/bblayers.conf`` file, which is | 423 | :term:`BBLAYERS` variable in your ``conf/bblayers.conf`` file, which is |
424 | found in the :term:`Build Directory`. | 424 | found in the :term:`Build Directory`. |
425 | The following example shows how to enable a layer named | 425 | The following example shows how to enable your new |
426 | ``meta-mylayer``:: | 426 | ``meta-mylayer`` layer (note how your new layer exists outside of |
427 | the official ``poky`` repository which you would have checked out earlier):: | ||
427 | 428 | ||
428 | # POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf | 429 | # POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf |
429 | # changes incompatibly | 430 | # changes incompatibly |
@@ -434,7 +435,7 @@ The following example shows how to enable a layer named | |||
434 | /home/user/poky/meta \ | 435 | /home/user/poky/meta \ |
435 | /home/user/poky/meta-poky \ | 436 | /home/user/poky/meta-poky \ |
436 | /home/user/poky/meta-yocto-bsp \ | 437 | /home/user/poky/meta-yocto-bsp \ |
437 | /home/user/poky/meta-mylayer \ | 438 | /home/user/mystuff/meta-mylayer \ |
438 | " | 439 | " |
439 | 440 | ||
440 | BitBake parses each ``conf/layer.conf`` file from the top down as | 441 | BitBake parses each ``conf/layer.conf`` file from the top down as |