kumquat-buildroot/package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.mk
Gustavo Zacarias c7110480e0 xdriver_xf86-video-ati: needs dri3proto for glamor
We need to match xserver here, since we need glamor support there in
order to enable it here, hence need to match the dependencies.
For xserver it needs dri3proto+libepoxy, however if only libepoxy is
present then glamor would be disabled for the server but enabled for the
driver, leading to build failure.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-03-20 17:59:49 +01:00

35 lines
1.1 KiB
Makefile

################################################################################
#
# xdriver_xf86-video-ati
#
################################################################################
XDRIVER_XF86_VIDEO_ATI_VERSION = 7.6.1
XDRIVER_XF86_VIDEO_ATI_SOURCE = xf86-video-ati-$(XDRIVER_XF86_VIDEO_ATI_VERSION).tar.bz2
XDRIVER_XF86_VIDEO_ATI_SITE = http://xorg.freedesktop.org/releases/individual/driver
XDRIVER_XF86_VIDEO_ATI_LICENSE = MIT
XDRIVER_XF86_VIDEO_ATI_LICENSE_FILES = COPYING
XDRIVER_XF86_VIDEO_ATI_DEPENDENCIES = \
libdrm \
xlib_libXcomposite \
xproto_fontsproto \
xproto_glproto \
xproto_randrproto \
xproto_videoproto \
xproto_xextproto \
xproto_xf86driproto \
xproto_xineramaproto \
xproto_xproto \
xserver_xorg-server
ifeq ($(BR2_PACKAGE_XPROTO_DRI3PROTO)$(BR2_PACKAGE_LIBEPOXY),yy)
XDRIVER_XF86_VIDEO_ATI_CONF_OPTS = --enable-glamor
else
XDRIVER_XF86_VIDEO_ATI_CONF_OPTS = --disable-glamor
endif
# xdriver_xf86-video-ati requires O_CLOEXEC
XDRIVER_XF86_VIDEO_ATI_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
$(eval $(autotools-package))