summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual/layers.rst
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2024-03-30 18:56:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-12 17:29:34 +0100
commita738448d83e28e97501ac30076f980efeeab4c83 (patch)
tree2a3c2b59913923d0734b4b72cbb6155c920f6236 /documentation/dev-manual/layers.rst
parent3ad2f245f0780bab65f01bca8b813bae9b06ca76 (diff)
downloadpoky-a738448d83e28e97501ac30076f980efeeab4c83.tar.gz
manuals: remove tab characters
As reported by "make sphinx-lint" Tabs are even removed in Makefile examples, as Sphinx turns them to spaces anyway in the generated output. (From yocto-docs rev: 20e9c0c9fad3109567948af6bc40bb0fa2a5552b) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual/layers.rst')
-rw-r--r--documentation/dev-manual/layers.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/documentation/dev-manual/layers.rst b/documentation/dev-manual/layers.rst
index 9e764c03ba..91889bd0ae 100644
--- a/documentation/dev-manual/layers.rst
+++ b/documentation/dev-manual/layers.rst
@@ -501,12 +501,12 @@ the "meta" layer at ``meta/recipes-bsp/formfactor``::
501 INHIBIT_DEFAULT_DEPS = "1" 501 INHIBIT_DEFAULT_DEPS = "1"
502 502
503 do_install() { 503 do_install() {
504 # Install file only if it has contents 504 # Install file only if it has contents
505 install -d ${D}${sysconfdir}/formfactor/ 505 install -d ${D}${sysconfdir}/formfactor/
506 install -m 0644 ${S}/config ${D}${sysconfdir}/formfactor/ 506 install -m 0644 ${S}/config ${D}${sysconfdir}/formfactor/
507 if [ -s "${S}/machconfig" ]; then 507 if [ -s "${S}/machconfig" ]; then
508 install -m 0644 ${S}/machconfig ${D}${sysconfdir}/formfactor/ 508 install -m 0644 ${S}/machconfig ${D}${sysconfdir}/formfactor/
509 fi 509 fi
510 } 510 }
511 511
512In the main recipe, note the :term:`SRC_URI` 512In the main recipe, note the :term:`SRC_URI`
@@ -582,10 +582,10 @@ Directory`. Here is the main ``xserver-xf86-config`` recipe, which is named
582 ALLOW_EMPTY:${PN} = "1" 582 ALLOW_EMPTY:${PN} = "1"
583 583
584 do_install () { 584 do_install () {
585 if test -s ${WORKDIR}/xorg.conf; then 585 if test -s ${WORKDIR}/xorg.conf; then
586 install -d ${D}/${sysconfdir}/X11 586 install -d ${D}/${sysconfdir}/X11
587 install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/ 587 install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
588 fi 588 fi
589 } 589 }
590 590
591Here is the append file, which is named ``xserver-xf86-config_%.bbappend`` 591Here is the append file, which is named ``xserver-xf86-config_%.bbappend``