dev-manual: Updated "Enabling Your Layer" section.

The bblayers.conf example files were out of date.  Updated them.

(From yocto-docs rev: fd5d75604a3ad66e56c421634f349dce3e38f609)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2018-04-25 10:45:24 -07:00
committed by Richard Purdie
parent 06c575c711
commit d4aa681956

View File

@@ -621,16 +621,18 @@
The following example shows how to enable a layer named
<filename>meta-mylayer</filename>:
<literallayout class='monospaced'>
LCONF_VERSION = "6"
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
$HOME/poky/meta \
$HOME/poky/meta-poky \
$HOME/poky/meta-yocto-bsp \
$HOME/poky/meta-mylayer \
/home/<replaceable>user</replaceable>/poky/meta \
/home/<replaceable>user</replaceable>/poky/meta-poky \
/home/<replaceable>user</replaceable>/poky/meta-yocto-bsp \
/home/<replaceable>user</replaceable>/poky/meta-mylayer \
"
</literallayout>
</para>
@@ -13638,9 +13640,9 @@ Some notes from Cal:
layers are included in the <filename>bblayers.conf</filename>
file automatically:
<literallayout class='monospaced'>
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "6"
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""