diff options
-rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.2.inc | 2 | ||||
-rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 16 |
2 files changed, 5 insertions, 13 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.2.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.2.inc index b4a348c1aa..c71896a3ed 100644 --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.2.inc +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.2.inc | |||
@@ -8,4 +8,4 @@ SRC_URI += "file://crosscompile.patch \ | |||
8 | SRC_URI[md5sum] = "8796fff441e5435ee36a72579008af24" | 8 | SRC_URI[md5sum] = "8796fff441e5435ee36a72579008af24" |
9 | SRC_URI[sha256sum] = "fa415decf02027ca278b06254ccfbcceba2a83c2741405257ebf749da4a73cf2" | 9 | SRC_URI[sha256sum] = "fa415decf02027ca278b06254ccfbcceba2a83c2741405257ebf749da4a73cf2" |
10 | 10 | ||
11 | PR = "r6" | 11 | PR = "r7" |
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc index a0309aa7bb..210abadff1 100644 --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | |||
@@ -123,21 +123,13 @@ EXTRA_OECONF += "--with-fop=no \ | |||
123 | ac_cv_file__usr_share_sgml_X11_defs_ent=no \ | 123 | ac_cv_file__usr_share_sgml_X11_defs_ent=no \ |
124 | " | 124 | " |
125 | 125 | ||
126 | PACKAGECONFIG ??= "udev" | 126 | PACKAGECONFIG ??= "udev ${@base_contains('DISTRO_FEATURES', 'opengl', 'glx', '', d)}" |
127 | PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev" | 127 | PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev" |
128 | PACKAGECONFIG[glx] = "--enable-dri --enable-dri2 --enable-glx --enable-glx-tls,\ | ||
129 | --disable-dri --disable-glx,\ | ||
130 | xf86driproto dri2proto mesa-dri" | ||
128 | 131 | ||
129 | do_install_append () { | 132 | do_install_append () { |
130 | # Its assumed base-files creates this for us | 133 | # Its assumed base-files creates this for us |
131 | rmdir ${D}${localstatedir}/log/ | 134 | rmdir ${D}${localstatedir}/log/ |
132 | } | 135 | } |
133 | |||
134 | |||
135 | # Mesa/GLX/DRI | ||
136 | PROTO_DEPS += "xf86driproto dri2proto" | ||
137 | LIB_DEPS += "mesa-dri" | ||
138 | |||
139 | EXTRA_OECONF += "\ | ||
140 | --enable-dri \ | ||
141 | --enable-dri2 \ | ||
142 | --enable-glx-tls \ | ||
143 | " | ||