59e91d4fdc
DRI support for this driver is provided by the xserver_xorg-server package when BR2_PACKAGE_HAS_LIBGL is enabled: https://git.busybox.net/buildroot/tree/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk#n91 Change the dependency to follow the logic of xserver_xorg-server. Build-tested using these defconfigs: BR2_PACKAGE_MESA3D=y BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y BR2_PACKAGE_MESA3D_OPENGL_GLX=y BR2_PACKAGE_XORG7=y BR2_PACKAGE_XSERVER_XORG_SERVER=y BR2_PACKAGE_XDRIVER_XF86_VIDEO_SAVAGE=y and BR2_PACKAGE_XORG7=y BR2_PACKAGE_XSERVER_XORG_SERVER=y BR2_PACKAGE_XDRIVER_XF86_VIDEO_SAVAGE=y Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
22 lines
815 B
Makefile
22 lines
815 B
Makefile
################################################################################
|
|
#
|
|
# xdriver_xf86-video-savage
|
|
#
|
|
################################################################################
|
|
|
|
XDRIVER_XF86_VIDEO_SAVAGE_VERSION = 2.3.9
|
|
XDRIVER_XF86_VIDEO_SAVAGE_SOURCE = xf86-video-savage-$(XDRIVER_XF86_VIDEO_SAVAGE_VERSION).tar.bz2
|
|
XDRIVER_XF86_VIDEO_SAVAGE_SITE = http://xorg.freedesktop.org/releases/individual/driver
|
|
XDRIVER_XF86_VIDEO_SAVAGE_LICENSE = MIT
|
|
XDRIVER_XF86_VIDEO_SAVAGE_LICENSE_FILES = COPYING
|
|
XDRIVER_XF86_VIDEO_SAVAGE_AUTORECONF = YES
|
|
XDRIVER_XF86_VIDEO_SAVAGE_DEPENDENCIES = xserver_xorg-server libdrm xorgproto
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
|
|
XDRIVER_XF86_VIDEO_SAVAGE_CONF_OPTS += --enable-dri
|
|
else
|
|
XDRIVER_XF86_VIDEO_SAVAGE_CONF_OPTS += --disable-dri
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|