diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2023-10-13 15:08:43 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-20 14:40:29 +0100 |
commit | 203c78b7196b277e03e9dbc6e878721bee3dc604 (patch) | |
tree | aed3ebf81b3ba66440e77a5302dba37e5b359db4 /documentation/bsp-guide | |
parent | 1c90ad84f3cf7932dd9c26b7d2e36a6ee6093804 (diff) | |
download | poky-203c78b7196b277e03e9dbc6e878721bee3dc604.tar.gz |
manuals: update linux-yocto append examples
(From yocto-docs rev: 0d195d66e434ddedd33bf8db89643fa5ab192e29)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/bsp-guide')
-rw-r--r-- | documentation/bsp-guide/bsp.rst | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/documentation/bsp-guide/bsp.rst b/documentation/bsp-guide/bsp.rst index c78fbeb68f..c1160397be 100644 --- a/documentation/bsp-guide/bsp.rst +++ b/documentation/bsp-guide/bsp.rst | |||
@@ -1449,39 +1449,35 @@ 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 ?= "6.1%" |
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_6.1.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_6.1.bb``), which is located in |
1458 | :yocto_git:`/poky/tree/meta/recipes-kernel/linux`. | 1458 | :yocto_git:`/poky/tree/meta/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 = "v6.1/standard/base" |
1463 | KBRANCH:genericx86-64 = "v5.0/standard/base" | 1463 | KBRANCH:genericx86-64 = "v6.1/standard/base" |
1464 | KBRANCH:edgerouter = "v5.0/standard/edgerouter" | 1464 | KBRANCH:beaglebone-yocto = "v6.1/standard/beaglebone" |
1465 | KBRANCH:beaglebone-yocto = "v5.0/standard/beaglebone" | ||
1466 | 1465 | ||
1467 | KMACHINE:genericx86 ?= "common-pc" | 1466 | KMACHINE:genericx86 ?= "common-pc" |
1468 | KMACHINE:genericx86-64 ?= "common-pc-64" | 1467 | KMACHINE:genericx86-64 ?= "common-pc-64" |
1469 | KMACHINE:beaglebone-yocto ?= "beaglebone" | 1468 | KMACHINE:beaglebone-yocto ?= "beaglebone" |
1470 | 1469 | ||
1471 | SRCREV_machine:genericx86 ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d" | 1470 | SRCREV_machine:genericx86 ?= "6ec439b4b456ce929c4c07fe457b5d6a4b468e86" |
1472 | SRCREV_machine:genericx86-64 ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d" | 1471 | SRCREV_machine:genericx86-64 ?= "6ec439b4b456ce929c4c07fe457b5d6a4b468e86" |
1473 | SRCREV_machine:edgerouter ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d" | 1472 | SRCREV_machine:beaglebone-yocto ?= "423e1996694b61fbfc8ec3bf062fc6461d64fde1" |
1474 | SRCREV_machine:beaglebone-yocto ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d" | ||
1475 | 1473 | ||
1476 | COMPATIBLE_MACHINE:genericx86 = "genericx86" | 1474 | COMPATIBLE_MACHINE:genericx86 = "genericx86" |
1477 | COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64" | 1475 | COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64" |
1478 | COMPATIBLE_MACHINE:edgerouter = "edgerouter" | ||
1479 | COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto" | 1476 | COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto" |
1480 | 1477 | ||
1481 | LINUX_VERSION:genericx86 = "5.0.3" | 1478 | LINUX_VERSION:genericx86 = "6.1.30" |
1482 | LINUX_VERSION:genericx86-64 = "5.0.3" | 1479 | LINUX_VERSION:genericx86-64 = "6.1.30" |
1483 | LINUX_VERSION:edgerouter = "5.0.3" | 1480 | LINUX_VERSION:beaglebone-yocto = "6.1.20" |
1484 | LINUX_VERSION:beaglebone-yocto = "5.0.3" | ||
1485 | 1481 | ||
1486 | This particular append file works for all the machines that are | 1482 | This particular append file works for all the machines that are |
1487 | part of the ``meta-yocto-bsp`` layer. The relevant statements are | 1483 | part of the ``meta-yocto-bsp`` layer. The relevant statements are |