summaryrefslogtreecommitdiffstats
path: root/documentation/bsp-guide
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2021-08-04 20:13:30 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-14 12:04:23 +0100
commit4f2356a08183e74383b5f3515777c4a482cfc48c (patch)
tree1f3bbb00081ee30d4bb54dcf3791f419a815b756 /documentation/bsp-guide
parent8ff845c9ba1ca55e2f984f93944804c02f807dcc (diff)
downloadpoky-4f2356a08183e74383b5f3515777c4a482cfc48c.tar.gz
bsp-guide: overrides syntax updates
Updated with openembedded-core/scripts/contrib/convert-overrides.py (From yocto-docs rev: 664890810e8dcdaf3dd4467ef8f9a99f72ce6dce) 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.rst52
1 files changed, 26 insertions, 26 deletions
diff --git a/documentation/bsp-guide/bsp.rst b/documentation/bsp-guide/bsp.rst
index 5f62376d69..b80354a05b 100644
--- a/documentation/bsp-guide/bsp.rst
+++ b/documentation/bsp-guide/bsp.rst
@@ -1042,7 +1042,7 @@ also supports several other machines:
1042#. Edit the ``init-ifupdown_1.0.bbappend`` file so that it contains the 1042#. Edit the ``init-ifupdown_1.0.bbappend`` file so that it contains the
1043 following:: 1043 following::
1044 1044
1045 FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 1045 FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
1046 1046
1047 The append file needs to be in the ``meta-xyz/recipes-core/init-ifupdown`` 1047 The append file needs to be in the ``meta-xyz/recipes-core/init-ifupdown``
1048 directory. 1048 directory.
@@ -1269,9 +1269,9 @@ located in the layer ``poky/meta-yocto-bsp/conf/machine`` and is named
1269 include conf/machine/include/tune-cortexa8.inc 1269 include conf/machine/include/tune-cortexa8.inc
1270 1270
1271 IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap" 1271 IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap"
1272 EXTRA_IMAGECMD_jffs2 = "-lnp " 1272 EXTRA_IMAGECMD:jffs2 = "-lnp "
1273 WKS_FILE ?= "beaglebone-yocto.wks" 1273 WKS_FILE ?= "beaglebone-yocto.wks"
1274 IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage" 1274 IMAGE_INSTALL:append = " kernel-devicetree kernel-image-zimage"
1275 do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot" 1275 do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
1276 1276
1277 SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0" 1277 SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0"
@@ -1458,29 +1458,29 @@ kernel recipe (i.e. ``linux-yocto_5.0.bb``), which is located in
1458 1458
1459Following is the contents of the append file:: 1459Following is the contents of the append file::
1460 1460
1461 KBRANCH_genericx86 = "v5.0/standard/base" 1461 KBRANCH:genericx86 = "v5.0/standard/base"
1462 KBRANCH_genericx86-64 = "v5.0/standard/base" 1462 KBRANCH:genericx86-64 = "v5.0/standard/base"
1463 KBRANCH_edgerouter = "v5.0/standard/edgerouter" 1463 KBRANCH:edgerouter = "v5.0/standard/edgerouter"
1464 KBRANCH_beaglebone-yocto = "v5.0/standard/beaglebone" 1464 KBRANCH:beaglebone-yocto = "v5.0/standard/beaglebone"
1465 1465
1466 KMACHINE_genericx86 ?= "common-pc" 1466 KMACHINE:genericx86 ?= "common-pc"
1467 KMACHINE_genericx86-64 ?= "common-pc-64" 1467 KMACHINE:genericx86-64 ?= "common-pc-64"
1468 KMACHINE_beaglebone-yocto ?= "beaglebone" 1468 KMACHINE:beaglebone-yocto ?= "beaglebone"
1469 1469
1470 SRCREV_machine_genericx86 ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d" 1470 SRCREV_machine:genericx86 ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d"
1471 SRCREV_machine_genericx86-64 ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d" 1471 SRCREV_machine:genericx86-64 ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d"
1472 SRCREV_machine_edgerouter ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d" 1472 SRCREV_machine:edgerouter ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d"
1473 SRCREV_machine_beaglebone-yocto ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d" 1473 SRCREV_machine:beaglebone-yocto ?= "3df4aae6074e94e794e27fe7f17451d9353cdf3d"
1474 1474
1475 COMPATIBLE_MACHINE_genericx86 = "genericx86" 1475 COMPATIBLE_MACHINE:genericx86 = "genericx86"
1476 COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64" 1476 COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64"
1477 COMPATIBLE_MACHINE_edgerouter = "edgerouter" 1477 COMPATIBLE_MACHINE:edgerouter = "edgerouter"
1478 COMPATIBLE_MACHINE_beaglebone-yocto = "beaglebone-yocto" 1478 COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto"
1479 1479
1480 LINUX_VERSION_genericx86 = "5.0.3" 1480 LINUX_VERSION:genericx86 = "5.0.3"
1481 LINUX_VERSION_genericx86-64 = "5.0.3" 1481 LINUX_VERSION:genericx86-64 = "5.0.3"
1482 LINUX_VERSION_edgerouter = "5.0.3" 1482 LINUX_VERSION:edgerouter = "5.0.3"
1483 LINUX_VERSION_beaglebone-yocto = "5.0.3" 1483 LINUX_VERSION:beaglebone-yocto = "5.0.3"
1484 1484
1485This particular append file works for all the machines that are 1485This particular append file works for all the machines that are
1486part of the ``meta-yocto-bsp`` layer. The relevant statements are 1486part of the ``meta-yocto-bsp`` layer. The relevant statements are