diff options
Diffstat (limited to 'handbook/extendpoky.xml')
-rw-r--r-- | handbook/extendpoky.xml | 9 |
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> |