summaryrefslogtreecommitdiffstats
path: root/handbook/extendpoky.xml
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-06-08 17:53:25 +0100
committerJoshua Lock <josh@linux.intel.com>2010-06-08 17:53:25 +0100
commitfcd220b4fd254f45305fb65512e53d0371dc466c (patch)
treef78e4e8ff10debe8a5651c32b1348fe57e76f691 /handbook/extendpoky.xml
parent49df0b84fa434e7eb40dc8c4942d6df1495c4892 (diff)
downloadpoky-fcd220b4fd254f45305fb65512e53d0371dc466c.tar.gz
handbook: document the LAYERDIR variable
LAYERDIR is one of the few variables which requires immediate expansion and is worth documenting explicitly. Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'handbook/extendpoky.xml')
-rw-r--r--handbook/extendpoky.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/handbook/extendpoky.xml b/handbook/extendpoky.xml
index b437c77fa3..936a74480e 100644
--- a/handbook/extendpoky.xml
+++ b/handbook/extendpoky.xml
@@ -582,12 +582,17 @@ require conf/distro/include/poky-extras-src-revisions.inc
582 As can be seen, the layers recipes are added to BBFILES. The 582 As can be seen, the layers recipes are added to BBFILES. The
583 BBFILE_COLLECTIONS variable is then appended to with the 583 BBFILE_COLLECTIONS variable is then appended to with the
584 layer name. The BBFILE_PATTERN variable is immediately expanded 584 layer name. The BBFILE_PATTERN variable is immediately expanded
585 with a regular expression used to match files from BBFILES into a 585 with a regular expression used to match files from BBFILES into
586 particular layer, in this case by using the base pathname. 586 a particular layer, in this case by using the base pathname.
587 The BBFILE_PRIORITY variable then assigns different 587 The BBFILE_PRIORITY variable then assigns different
588 priorities to the files in different layers. This is useful 588 priorities to the files in different layers. This is useful
589 in situations where the same package might appear in multiple 589 in situations where the same package might appear in multiple
590 layers and allows you to choose which layer should 'win'. 590 layers and allows you to choose which layer should 'win'.
591 Note the use of LAYERDIR with the immediate expansion operator.
592 LAYERDIR expands to the directory of the current layer and
593 requires use of the immediate expansion operator so that Bitbake
594 does not lazily expand the variable when it's parsing a
595 different directory.
591 </para> 596 </para>
592 597
593 <para> 598 <para>