From b7030dd10ef0b49a89ac384ee12d5b942f4a8fb0 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Sun, 29 Aug 2021 05:42:31 -0400 Subject: 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 Reviewed-by: Quentin Schulz Signed-off-by: Richard Purdie --- documentation/dev-manual/common-tasks.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'documentation/dev-manual') 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 enable it. To enable your layer, simply add your layer's path to the :term:`BBLAYERS` variable in your ``conf/bblayers.conf`` file, which is found in the :term:`Build Directory`. -The following example shows how to enable a layer named -``meta-mylayer``:: +The following example shows how to enable your new +``meta-mylayer`` layer (note how your new layer exists outside of +the official ``poky`` repository which you would have checked out earlier):: # POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf # changes incompatibly @@ -434,7 +435,7 @@ The following example shows how to enable a layer named /home/user/poky/meta \ /home/user/poky/meta-poky \ /home/user/poky/meta-yocto-bsp \ - /home/user/poky/meta-mylayer \ + /home/user/mystuff/meta-mylayer \ " BitBake parses each ``conf/layer.conf`` file from the top down as -- cgit v1.2.3-54-g00ecf