summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb10
1 files changed, 6 insertions, 4 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
index 3c29f8b7bf..90d6f56746 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
@@ -7,12 +7,14 @@ PR = "r11"
7 7
8SRC_URI = "file://xorg.conf" 8SRC_URI = "file://xorg.conf"
9 9
10CONFFILES_${PN} += "${sysconfdir}/X11/xorg.conf" 10CONFFILES_${PN} = "${sysconfdir}/X11/xorg.conf"
11 11
12PACKAGE_ARCH = "${MACHINE_ARCH}" 12PACKAGE_ARCH = "${MACHINE_ARCH}"
13ALLOW_EMPTY_${PN} = "1"
13 14
14do_install () { 15do_install () {
15 install -d ${D}/${sysconfdir}/X11 16 if test -s ${WORKDIR}/xorg.conf; then
16 install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/ 17 install -d ${D}/${sysconfdir}/X11
18 install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
19 fi
17} 20}
18