diff options
Diffstat (limited to 'documentation/dev-manual/layers.rst')
-rw-r--r-- | documentation/dev-manual/layers.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/documentation/dev-manual/layers.rst b/documentation/dev-manual/layers.rst index c649e2bd60..454c72bcd2 100644 --- a/documentation/dev-manual/layers.rst +++ b/documentation/dev-manual/layers.rst | |||
@@ -507,7 +507,7 @@ the "meta" layer at ``meta/recipes-bsp/formfactor``:: | |||
507 | PR = "r45" | 507 | PR = "r45" |
508 | 508 | ||
509 | SRC_URI = "file://config file://machconfig" | 509 | SRC_URI = "file://config file://machconfig" |
510 | S = "${WORKDIR}" | 510 | S = "${UNPACKDIR}" |
511 | 511 | ||
512 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 512 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
513 | INHIBIT_DEFAULT_DEPS = "1" | 513 | INHIBIT_DEFAULT_DEPS = "1" |
@@ -586,7 +586,7 @@ Directory`. Here is the main ``xserver-xf86-config`` recipe, which is named | |||
586 | 586 | ||
587 | SRC_URI = "file://xorg.conf" | 587 | SRC_URI = "file://xorg.conf" |
588 | 588 | ||
589 | S = "${WORKDIR}" | 589 | S = "${UNPACKDIR}" |
590 | 590 | ||
591 | CONFFILES:${PN} = "${sysconfdir}/X11/xorg.conf" | 591 | CONFFILES:${PN} = "${sysconfdir}/X11/xorg.conf" |
592 | 592 | ||
@@ -594,9 +594,9 @@ Directory`. Here is the main ``xserver-xf86-config`` recipe, which is named | |||
594 | ALLOW_EMPTY:${PN} = "1" | 594 | ALLOW_EMPTY:${PN} = "1" |
595 | 595 | ||
596 | do_install () { | 596 | do_install () { |
597 | if test -s ${WORKDIR}/xorg.conf; then | 597 | if test -s ${UNPACKDIR}/xorg.conf; then |
598 | install -d ${D}/${sysconfdir}/X11 | 598 | install -d ${D}/${sysconfdir}/X11 |
599 | install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/ | 599 | install -m 0644 ${UNPACKDIR}/xorg.conf ${D}/${sysconfdir}/X11/ |
600 | fi | 600 | fi |
601 | } | 601 | } |
602 | 602 | ||
@@ -614,8 +614,8 @@ file is in the layer at ``recipes-graphics/xorg-xserver``:: | |||
614 | PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" | 614 | PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" |
615 | if [ "${PITFT}" = "1" ]; then | 615 | if [ "${PITFT}" = "1" ]; then |
616 | install -d ${D}/${sysconfdir}/X11/xorg.conf.d/ | 616 | install -d ${D}/${sysconfdir}/X11/xorg.conf.d/ |
617 | install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/ | 617 | install -m 0644 ${UNPACKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/ |
618 | install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/ | 618 | install -m 0644 ${UNPACKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/ |
619 | fi | 619 | fi |
620 | } | 620 | } |
621 | 621 | ||