diff options
| author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2023-10-23 21:26:44 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-10-25 04:45:51 -1000 |
| commit | aaf748b95f62621d1139c62c40e418c272cc6a63 (patch) | |
| tree | f858b74d30a565002e5ecf36c5dacf56b5f864e0 /documentation/bsp-guide | |
| parent | 811cf0320c251f3667109ab99695d6694a30ecd3 (diff) | |
| download | poky-aaf748b95f62621d1139c62c40e418c272cc6a63.tar.gz | |
manuals: update linux-yocto append examples
(From yocto-docs rev: b5d385f20d22566e12a7938a9894b86429f1dcfb)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/bsp-guide')
| -rw-r--r-- | documentation/bsp-guide/bsp.rst | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/documentation/bsp-guide/bsp.rst b/documentation/bsp-guide/bsp.rst index 8b29290b59..f9e13d145a 100644 --- a/documentation/bsp-guide/bsp.rst +++ b/documentation/bsp-guide/bsp.rst | |||
| @@ -1449,39 +1449,39 @@ The kernel recipe used to build the kernel image for the BeagleBone | |||
| 1449 | device was established in the machine configuration:: | 1449 | device was established in the machine configuration:: |
| 1450 | 1450 | ||
| 1451 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | 1451 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
| 1452 | PREFERRED_VERSION_linux-yocto ?= "5.0%" | 1452 | PREFERRED_VERSION_linux-yocto ?= "5.15%" |
| 1453 | 1453 | ||
| 1454 | The ``meta-yocto-bsp/recipes-kernel/linux`` directory in the layer contains | 1454 | The ``meta-yocto-bsp/recipes-kernel/linux`` directory in the layer contains |
| 1455 | metadata used to build the kernel. In this case, a kernel append file | 1455 | metadata used to build the kernel. In this case, a kernel append file |
| 1456 | (i.e. ``linux-yocto_5.0.bbappend``) is used to override an established | 1456 | (i.e. ``linux-yocto_5.15.bbappend``) is used to override an established |
| 1457 | kernel recipe (i.e. ``linux-yocto_5.0.bb``), which is located in | 1457 | kernel recipe (i.e. ``linux-yocto_5.15.bb``), which is located in |
| 1458 | :yocto_git:`/poky/tree/meta/recipes-kernel/linux`. | 1458 | :yocto_git:`/poky/tree/meta-yocto-bsp/recipes-kernel/linux`. |
| 1459 | 1459 | ||
| 1460 | Following is the contents of the append file:: | 1460 | Following is the contents of the append file:: |
| 1461 | 1461 | ||
| 1462 | KBRANCH:genericx86 = "v5.0/standard/base" | 1462 | KBRANCH:genericx86 = "v5.15/standard/base" |
| 1463 | KBRANCH:genericx86-64 = "v5.0/standard/base" | 1463 | KBRANCH:genericx86-64 = "v5.15/standard/base" |
| 1464 | KBRANCH:edgerouter = "v5.0/standard/edgerouter" | 1464 | KBRANCH:edgerouter = "v5.15/standard/edgerouter" |
| 1465 | KBRANCH:beaglebone-yocto = "v5.0/standard/beaglebone" | 1465 | KBRANCH:beaglebone-yocto = "v5.15/standard/beaglebone" |
| 1466 | 1466 | ||
| 1467 | KMACHINE:genericx86 ?= "common-pc" | 1467 | KMACHINE:genericx86 ?= "common-pc" |
| 1468 | KMACHINE:genericx86-64 ?= "common-pc-64" | 1468 | KMACHINE:genericx86-64 ?= "common-pc-64" |
| 1469 | KMACHINE:beaglebone-yocto ?= "beaglebone" | 1469 | KMACHINE:beaglebone-yocto ?= "beaglebone" |
| 1470 | 1470 | ||
| 1471 | SRCREV_machine:genericx86 ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d" | 1471 | SRCREV_machine:genericx86 ?= "0b628306d1f9ea28c0e86369ce9bb87a47893c9c" |
| 1472 | SRCREV_machine:genericx86-64 ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d" | 1472 | SRCREV_machine:genericx86-64 ?= "0b628306d1f9ea28c0e86369ce9bb87a47893c9c" |
| 1473 | SRCREV_machine:edgerouter ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d" | 1473 | SRCREV_machine:edgerouter ?= "90f1ee6589264545f548d731c2480b08a007230f" |
| 1474 | SRCREV_machine:beaglebone-yocto ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d" | 1474 | SRCREV_machine:beaglebone-yocto ?= "9aabbaa89fcb21af7028e814c1f5b61171314d5a" |
| 1475 | 1475 | ||
| 1476 | COMPATIBLE_MACHINE:genericx86 = "genericx86" | 1476 | COMPATIBLE_MACHINE:genericx86 = "genericx86" |
| 1477 | COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64" | 1477 | COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64" |
| 1478 | COMPATIBLE_MACHINE:edgerouter = "edgerouter" | 1478 | COMPATIBLE_MACHINE:edgerouter = "edgerouter" |
| 1479 | COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto" | 1479 | COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto" |
| 1480 | 1480 | ||
| 1481 | LINUX_VERSION:genericx86 = "5.0.3" | 1481 | LINUX_VERSION:genericx86 = "5.15.72" |
| 1482 | LINUX_VERSION:genericx86-64 = "5.0.3" | 1482 | LINUX_VERSION:genericx86-64 = "5.15.72" |
| 1483 | LINUX_VERSION:edgerouter = "5.0.3" | 1483 | LINUX_VERSION:edgerouter = "5.15.54" |
| 1484 | LINUX_VERSION:beaglebone-yocto = "5.0.3" | 1484 | LINUX_VERSION:beaglebone-yocto = "5.15.54" |
| 1485 | 1485 | ||
| 1486 | This particular append file works for all the machines that are | 1486 | This particular append file works for all the machines that are |
| 1487 | part of the ``meta-yocto-bsp`` layer. The relevant statements are | 1487 | part of the ``meta-yocto-bsp`` layer. The relevant statements are |
