diff options
Diffstat (limited to 'package/x11r7/xserver_xorg-server')
-rw-r--r-- | package/x11r7/xserver_xorg-server/Config.in | 3 | ||||
-rw-r--r-- | package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/package/x11r7/xserver_xorg-server/Config.in b/package/x11r7/xserver_xorg-server/Config.in index 6aa4a0326..d57467568 100644 --- a/package/x11r7/xserver_xorg-server/Config.in +++ b/package/x11r7/xserver_xorg-server/Config.in @@ -2,7 +2,6 @@ config BR2_PACKAGE_XSERVER_XORG_SERVER bool "xorg-server" select BR2_PACKAGE_LIBDRM select BR2_PACKAGE_MCOOKIE - select BR2_PACKAGE_MESA3D if BR2_PACKAGE_XSERVER_xorg select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_PIXMAN select BR2_PACKAGE_XFONT_FONT_ALIAS if !BR2_PACKAGE_XSERVER_XORG_SERVER_BUILTIN_FONTS @@ -43,7 +42,7 @@ config BR2_PACKAGE_XSERVER_XORG_SERVER select BR2_PACKAGE_XPROTO_XEXTPROTO select BR2_PACKAGE_XPROTO_XF86BIGFONTPROTO select BR2_PACKAGE_XPROTO_XF86DGAPROTO - select BR2_PACKAGE_XPROTO_XF86DRIPROTO + select BR2_PACKAGE_XPROTO_XF86DRIPROTO if BR2_PACKAGE_MESA3D select BR2_PACKAGE_XPROTO_XF86RUSHPROTO select BR2_PACKAGE_XPROTO_XF86VIDMODEPROTO select BR2_PACKAGE_XPROTO_XPROTO diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk index 0dd6127f0..6c6017bac 100644 --- a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk @@ -50,7 +50,6 @@ XSERVER_XORG_SERVER_DEPENDENCIES = \ xproto_xextproto \ xproto_xf86bigfontproto \ xproto_xf86dgaproto \ - xproto_xf86driproto \ xproto_xf86rushproto \ xproto_xf86vidmodeproto \ xproto_xproto \ @@ -65,7 +64,6 @@ XSERVER_XORG_SERVER_CONF_OPT = --disable-config-hal \ CFLAGS="-I$(STAGING_DIR)/usr/include/pixman-1" ifeq ($(BR2_PACKAGE_XSERVER_xorg),y) -XSERVER_XORG_SERVER_DEPENDENCIES += mesa3d XSERVER_XORG_SERVER_CONF_OPT += --enable-xorg --disable-glx else XSERVER_XORG_SERVER_CONF_OPT += --disable-xorg @@ -77,6 +75,12 @@ else XSERVER_XORG_SERVER_CONF_OPT += --disable-kdrive --disable-xfbdev endif +ifeq ($(BR2_PACKAGE_MESA3D),y) +XSERVER_XORG_SERVER_DEPENDENCIES += mesa3d xproto_xf86driproto +else +XSERVER_XORG_SERVER_CONF_OPT += --disable-dri +endif + ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_NULL_CURSOR),y) XSERVER_XORG_SERVER_CONF_OPT += --enable-null-root-cursor else |