diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-04-04 10:35:10 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-10 16:20:53 +0100 |
commit | eb84088b6eebcc406c6131fa7035d8aa05cb7dc3 (patch) | |
tree | 711b817eb019d1a6026306bb6709bd05ea40cb68 /documentation/bsp-guide | |
parent | 2b83480cb1e5367cd5fb65ec259a073f8c23a1a4 (diff) | |
download | poky-eb84088b6eebcc406c6131fa7035d8aa05cb7dc3.tar.gz |
ref-manual, dev-manual, bsp-guide: Applied Paul Eggleton Build history patch 4 of 5.
* BBFILES should be appended to with +=
* BBPATH should be appended to with .=
* Immediate expansion is not necessary for BBFILE_PRIORITY
* Immediate expansion is not necessary for references in layer.conf
to LAYERDIR since these are automatically expanded at the end of
parsing the file (and have been for some time).
* Add collection name override to BBFILE_PRIORITY example
* Fix comments referring to old structure ("packages directory" or
"recipes directory")
(From yocto-docs rev: 0aaac8f5ad97c802ebe1d4f3ffb7987050533292)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/bsp-guide')
-rw-r--r-- | documentation/bsp-guide/bsp.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml index 5c34bfdca9..8c0a344f5a 100644 --- a/documentation/bsp-guide/bsp.xml +++ b/documentation/bsp-guide/bsp.xml | |||
@@ -312,14 +312,14 @@ | |||
312 | <para> | 312 | <para> |
313 | <literallayout class='monospaced'> | 313 | <literallayout class='monospaced'> |
314 | # We have a conf and classes directory, add to BBPATH | 314 | # We have a conf and classes directory, add to BBPATH |
315 | BBPATH := "${BBPATH}:${LAYERDIR}" | 315 | BBPATH .= ":${LAYERDIR}" |
316 | 316 | ||
317 | # We have a recipes directory, add to BBFILES | 317 | # We have recipes-* directories, add to BBFILES |
318 | BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*.bb \ | 318 | BBFILES += "${LAYERDIR}/recipes-*/*.bb \ |
319 | ${LAYERDIR}/recipes-*/*.bbappend" | 319 | ${LAYERDIR}/recipes-*/*.bbappend" |
320 | 320 | ||
321 | BBFILE_COLLECTIONS += "bsp" | 321 | BBFILE_COLLECTIONS += "bsp" |
322 | BBFILE_PATTERN_bsp := "^${LAYERDIR}/" | 322 | BBFILE_PATTERN_bsp = "^${LAYERDIR}/" |
323 | BBFILE_PRIORITY_bsp = "6" | 323 | BBFILE_PRIORITY_bsp = "6" |
324 | </literallayout> | 324 | </literallayout> |
325 | </para> | 325 | </para> |
@@ -329,7 +329,7 @@ | |||
329 | Bay <filename>conf/layer.conf</filename> file: | 329 | Bay <filename>conf/layer.conf</filename> file: |
330 | <literallayout class='monospaced'> | 330 | <literallayout class='monospaced'> |
331 | BBFILE_COLLECTIONS += "crownbay" | 331 | BBFILE_COLLECTIONS += "crownbay" |
332 | BBFILE_PATTERN_crownbay := "^${LAYERDIR}/" | 332 | BBFILE_PATTERN_crownbay = "^${LAYERDIR}/" |
333 | BBFILE_PRIORITY_crownbay = "6" | 333 | BBFILE_PRIORITY_crownbay = "6" |
334 | </literallayout> | 334 | </literallayout> |
335 | </para> | 335 | </para> |