xserver: dri support is only for the modular server
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 21 Jul 2010 07:53:51 +0000 (09:53 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 21 Jul 2010 07:53:51 +0000 (09:53 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk

index e32215f000eaeaeda056bce244a35c4ade8b4dc7..f3ffea9e85da4296c1933dd70f0d4a1e7ee641e0 100644 (file)
@@ -121,10 +121,14 @@ ifneq ($(BR2_PACKAGE_XLIB_LIBXCOMPOSITE),y)
 XSERVER_XORG_SERVER_CONF_OPT += --disable-composite
 endif
 
+ifeq ($(BR2_PACKAGE_XSERVER_xorg),y)
 ifeq ($(BR2_PACKAGE_XPROTO_DRI2PROTO),y)
 XSERVER_XORG_SERVER_DEPENDENCIES += xproto_dri2proto
 XSERVER_XORG_SERVER_CONF_OPT += --enable-dri2
 endif
+else
+XSERVER_XORG_SERVER_CONF_OPT += --disable-dri2
+endif
 
 ifeq ($(BR2_PACKAGE_XLIB_LIBXSCRNSAVER),y)
 XSERVER_XORG_SERVER_DEPENDENCIES += xlib_libXScrnSaver