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
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-07-01 20:26:27 +02:00
|
|
|
XDRIVER_XF86_VIDEO_INTEL_VERSION = 31486f40f8e8f8923ca0799aea84b58799754564
|
2015-12-19 12:01:29 +01:00
|
|
|
XDRIVER_XF86_VIDEO_INTEL_SITE = git://anongit.freedesktop.org/xorg/driver/xf86-video-intel
|
2013-05-09 07:50:58 +02:00
|
|
|
XDRIVER_XF86_VIDEO_INTEL_LICENSE = MIT
|
|
|
|
XDRIVER_XF86_VIDEO_INTEL_LICENSE_FILES = COPYING
|
2015-10-19 19:20:23 +02:00
|
|
|
XDRIVER_XF86_VIDEO_INTEL_AUTORECONF = YES
|
2014-01-04 14:38:34 +01:00
|
|
|
|
2016-08-17 20:40:09 +02:00
|
|
|
# -D_GNU_SOURCE fixes a getline-related compile error in src/sna/kgem.c
|
|
|
|
# We force -O2 regardless of the optimization level chosen by the user,
|
|
|
|
# as compiling this package is known to be broken with -Os.
|
2014-12-23 20:00:49 +01:00
|
|
|
XDRIVER_XF86_VIDEO_INTEL_CONF_ENV = \
|
2016-08-17 20:40:09 +02:00
|
|
|
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE -O2"
|
2014-12-23 20:00:49 +01:00
|
|
|
|
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-xaa \
|
|
|
|
--disable-dga \
|
2021-07-01 20:26:27 +02:00
|
|
|
--disable-tools \
|
2014-01-04 14:38:34 +01:00
|
|
|
--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 \
|
2018-07-21 16:16:39 +02:00
|
|
|
xorgproto \
|
2014-07-29 23:34:16 +02:00
|
|
|
xserver_xorg-server
|
|
|
|
|
|
|
|
# X.org server support for DRI depends on a Mesa3D DRI driver
|
|
|
|
ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y)
|
2018-07-21 16:16:39 +02:00
|
|
|
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += \
|
|
|
|
--enable-dri2 \
|
|
|
|
--enable-dri3 \
|
|
|
|
--enable-uxa
|
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))
|