소스 검색

xserver: dri support is only for the modular server

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 15 년 전
부모
커밋
8bbf552993
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      package/x11r7/xserver_xorg-server/xserver_xorg-server.mk

+ 4 - 0
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk

@@ -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