summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual/layers.rst
diff options
context:
space:
mode:
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``