2008-06-30 14:49:18 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
2013-06-06 01:53:29 +02:00
|
|
|
# xdriver_xf86-video-intel
|
2008-06-30 14:49:18 +02:00
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-12-23 20:00:49 +01:00
|
|
|
XDRIVER_XF86_VIDEO_INTEL_VERSION = 2.99.917
|
2008-06-30 14:49:18 +02:00
|
|
|
XDRIVER_XF86_VIDEO_INTEL_SOURCE = xf86-video-intel-$(XDRIVER_XF86_VIDEO_INTEL_VERSION).tar.bz2
|
|
|
|
XDRIVER_XF86_VIDEO_INTEL_SITE = http://xorg.freedesktop.org/releases/individual/driver
|
2013-05-09 07:50:58 +02:00
|
|
|
XDRIVER_XF86_VIDEO_INTEL_LICENSE = MIT
|
|
|
|
XDRIVER_XF86_VIDEO_INTEL_LICENSE_FILES = COPYING
|
2014-01-04 14:38:34 +01:00
|
|
|
|
2014-12-23 20:00:49 +01:00
|
|
|
# this fixes a getline-related compilation error in src/sna/kgem.c
|
|
|
|
XDRIVER_XF86_VIDEO_INTEL_CONF_ENV = \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
|
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS = \
|
2014-01-04 14:38:34 +01:00
|
|
|
--disable-xvmc \
|
|
|
|
--enable-sna \
|
|
|
|
--disable-glamor \
|
|
|
|
--disable-xaa \
|
|
|
|
--disable-dga \
|
|
|
|
--disable-async-swap
|
|
|
|
|
2014-07-29 23:34:16 +02:00
|
|
|
XDRIVER_XF86_VIDEO_INTEL_DEPENDENCIES = \
|
|
|
|
libdrm \
|
2014-10-18 19:41:30 +02:00
|
|
|
libpciaccess \
|
2014-07-29 23:34:16 +02:00
|
|
|
xlib_libXrandr \
|
|
|
|
xproto_fontsproto \
|
|
|
|
xproto_xproto \
|
|
|
|
xserver_xorg-server
|
|
|
|
|
|
|
|
# X.org server support for DRI depends on a Mesa3D DRI driver
|
|
|
|
ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += --enable-dri --enable-dri1
|
2014-07-29 23:34:16 +02:00
|
|
|
# quote from configure.ac: "UXA doesn't build without DRI2 headers"
|
|
|
|
ifeq ($(BR2_PACKAGE_XPROTO_DRI2PROTO),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += --enable-dri2 --enable-uxa
|
2014-07-29 23:34:16 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += --disable-dri2 --disable-uxa
|
2014-07-29 23:34:16 +02:00
|
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XPROTO_DRI3PROTO),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += --enable-dri3
|
2014-07-29 23:34:16 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += --disable-dri3
|
2014-07-29 23:34:16 +02:00
|
|
|
endif
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += --disable-dri
|
2014-07-29 23:34:16 +02:00
|
|
|
endif
|
2008-06-30 14:49:18 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|