diff options
| -rw-r--r-- | recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend index 7902f20..919e95e 100644 --- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend | |||
| @@ -3,20 +3,19 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | |||
| 3 | SRC_URI_append_rpi = " \ | 3 | SRC_URI_append_rpi = " \ |
| 4 | file://xorg.conf.d/98-pitft.conf \ | 4 | file://xorg.conf.d/98-pitft.conf \ |
| 5 | file://xorg.conf.d/99-calibration.conf \ | 5 | file://xorg.conf.d/99-calibration.conf \ |
| 6 | " | ||
| 7 | SRC_URI_append_libc-musl_raspberrypi3-64 = " \ | ||
| 8 | file://xorg.conf.d/10-noglamor.conf \ | 6 | file://xorg.conf.d/10-noglamor.conf \ |
| 9 | " | 7 | " |
| 10 | do_install_append_rpi () { | 8 | do_install_append_rpi () { |
| 11 | PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" | 9 | PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" |
| 10 | VC4="${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "1", "0", d)}" | ||
| 12 | if [ "${PITFT}" = "1" ]; then | 11 | if [ "${PITFT}" = "1" ]; then |
| 13 | install -d ${D}/${sysconfdir}/X11/xorg.conf.d/ | 12 | install -d ${D}/${sysconfdir}/X11/xorg.conf.d/ |
| 14 | install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/ | 13 | install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/ |
| 15 | install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/ | 14 | install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/ |
| 16 | fi | 15 | fi |
| 16 | if [ "${VC4}" = "1" ]; then | ||
| 17 | install -Dm 0644 ${WORKDIR}/xorg.conf.d/10-noglamor.conf ${D}/${sysconfdir}/X11/xorg.conf.d/10-noglamor.conf | ||
| 18 | fi | ||
| 17 | } | 19 | } |
| 18 | do_install_append_libc-musl_raspberrypi3-64 () { | 20 | |
| 19 | install -d ${D}/${sysconfdir}/X11/xorg.conf.d/ | ||
| 20 | install -m 0644 ${WORKDIR}/xorg.conf.d/10-noglamor.conf ${D}/${sysconfdir}/X11/xorg.conf.d/ | ||
| 21 | } | ||
| 22 | FILES_${PN}_rpi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*" | 21 | FILES_${PN}_rpi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*" |
