diff options
Diffstat (limited to 'documentation/bsp-guide/bsp.xml')
-rw-r--r-- | documentation/bsp-guide/bsp.xml | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml index d4850234d1..7055a21168 100644 --- a/documentation/bsp-guide/bsp.xml +++ b/documentation/bsp-guide/bsp.xml | |||
@@ -200,25 +200,17 @@ | |||
200 | meta-crownbay/conf/ | 200 | meta-crownbay/conf/ |
201 | meta-crownbay/conf/layer.conf | 201 | meta-crownbay/conf/layer.conf |
202 | meta-crownbay/conf/machine/ | 202 | meta-crownbay/conf/machine/ |
203 | meta-crownbay/conf/machine/crownbay.conf | ||
204 | meta-crownbay/conf/machine/crownbay-noemgd.conf | 203 | meta-crownbay/conf/machine/crownbay-noemgd.conf |
205 | meta-crownbay/recipes-bsp/ | 204 | meta-crownbay/recipes-bsp/ |
206 | meta-crownbay/recipes-bsp/formfactor/ | 205 | meta-crownbay/recipes-bsp/formfactor/ |
207 | meta-crownbay/recipes-bsp/formfactor/formfactor_0.0.bbappend | 206 | meta-crownbay/recipes-bsp/formfactor/formfactor_0.0.bbappend |
208 | meta-crownbay/recipes-bsp/formfactor/formfactor/ | 207 | meta-crownbay/recipes-bsp/formfactor/formfactor/ |
209 | meta-crownbay/recipes-bsp/formfactor/formfactor/crownbay/ | ||
210 | meta-crownbay/recipes-bsp/formfactor/formfactor/crownbay/machconfig | ||
211 | meta-crownbay/recipes-bsp/formfactor/formfactor/crownbay-noemgd/ | 208 | meta-crownbay/recipes-bsp/formfactor/formfactor/crownbay-noemgd/ |
212 | meta-crownbay/recipes-bsp/formfactor/formfactor/crownbay-noemgd/machconfig | 209 | meta-crownbay/recipes-bsp/formfactor/formfactor/crownbay-noemgd/machconfig |
213 | meta-crownbay/recipes-graphics/ | ||
214 | meta-crownbay/recipes-graphics/xorg-xserver/ | ||
215 | meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend | ||
216 | meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-config/ | ||
217 | meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-config/crownbay/ | ||
218 | meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-config/crownbay/xorg.conf | ||
219 | meta-crownbay/recipes-kernel/ | 210 | meta-crownbay/recipes-kernel/ |
211 | meta-crownbay/recipes-kernel/kmod | ||
212 | meta-crownbay/recipes-kernel/kmod/kmod_git.bbappend | ||
220 | meta-crownbay/recipes-kernel/linux/ | 213 | meta-crownbay/recipes-kernel/linux/ |
221 | meta-crownbay/recipes-kernel/linux/linux-yocto-dev.bbappend | ||
222 | meta-crownbay/recipes-kernel/linux/linux-yocto-rt_3.10.bbappend | 214 | meta-crownbay/recipes-kernel/linux/linux-yocto-rt_3.10.bbappend |
223 | meta-crownbay/recipes-kernel/linux/linux-yocto_3.10.bbappend | 215 | meta-crownbay/recipes-kernel/linux/linux-yocto_3.10.bbappend |
224 | </literallayout> | 216 | </literallayout> |
@@ -351,9 +343,11 @@ | |||
351 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | 343 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ |
352 | ${LAYERDIR}/recipes-*/*/*.bbappend" | 344 | ${LAYERDIR}/recipes-*/*/*.bbappend" |
353 | 345 | ||
354 | BBFILE_COLLECTIONS += "bsp" | 346 | BBFILE_COLLECTIONS += "<replaceable>bsp</replaceable>" |
355 | BBFILE_PATTERN_bsp = "^${LAYERDIR}/" | 347 | BBFILE_PATTERN_<replaceable>bsp</replaceable> = "^${LAYERDIR}/" |
356 | BBFILE_PRIORITY_bsp = "6" | 348 | BBFILE_PRIORITY_<replaceable>bsp</replaceable> = "6" |
349 | |||
350 | LAYERDEPENDS_<replaceable>bsp</replaceable> = "intel" | ||
357 | </literallayout> | 351 | </literallayout> |
358 | </para> | 352 | </para> |
359 | 353 | ||
@@ -361,9 +355,18 @@ | |||
361 | To illustrate the string substitutions, here are the corresponding statements | 355 | To illustrate the string substitutions, here are the corresponding statements |
362 | from the Crown Bay <filename>conf/layer.conf</filename> file: | 356 | from the Crown Bay <filename>conf/layer.conf</filename> file: |
363 | <literallayout class='monospaced'> | 357 | <literallayout class='monospaced'> |
358 | # We have a conf and classes directory, add to BBPATH | ||
359 | BBPATH .= ":${LAYERDIR}" | ||
360 | |||
361 | # We have a recipes directory, add to BBFILES | ||
362 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | ||
363 | ${LAYERDIR}/recipes-*/*/*.bbappend" | ||
364 | |||
364 | BBFILE_COLLECTIONS += "crownbay" | 365 | BBFILE_COLLECTIONS += "crownbay" |
365 | BBFILE_PATTERN_crownbay = "^${LAYERDIR}/" | 366 | BBFILE_PATTERN_crownbay := "^${LAYERDIR}/" |
366 | BBFILE_PRIORITY_crownbay = "6" | 367 | BBFILE_PRIORITY_crownbay = "6" |
368 | |||
369 | LAYERDEPENDS_crownbay = "intel" | ||
367 | </literallayout> | 370 | </literallayout> |
368 | </para> | 371 | </para> |
369 | 372 | ||
@@ -425,12 +428,12 @@ | |||
425 | 428 | ||
426 | <para> | 429 | <para> |
427 | To use an include file, you simply include them in the machine configuration file. | 430 | To use an include file, you simply include them in the machine configuration file. |
428 | For example, the Crown Bay BSP <filename>crownbay.conf</filename> contains the | 431 | For example, the Crown Bay BSP <filename>crownbay-noemgd.conf</filename> contains the |
429 | following statements: | 432 | following statements: |
430 | <literallayout class='monospaced'> | 433 | <literallayout class='monospaced'> |
431 | require conf/machine/include/intel-core2-32-common.inc | ||
432 | require conf/machine/include/meta-intel.inc | 434 | require conf/machine/include/meta-intel.inc |
433 | require conf/machine/include/meta-intel-emgd.inc | 435 | require conf/machine/include/intel-core2-32-common.inc |
436 | require conf/machine/include/intel-common-pkgarch.inc | ||
434 | </literallayout> | 437 | </literallayout> |
435 | </para> | 438 | </para> |
436 | </section> | 439 | </section> |