kumquat-buildroot/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk
Bernd Kuhls 4c089c9363 package/x11r7/xdriver_xf86-video-*: mass switch to xorgproto
The new package xorgproto will combine and replace all current xproto_*
packages. For details read
https://lists.x.org/archives/xorg-announce/2018-February/002835.html

Removed special dri2/dri3 handling because xorgproto always installs
dri3proto.

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-07-28 22:32:43 +02:00

42 lines
1.2 KiB
Makefile

################################################################################
#
# xdriver_xf86-video-intel
#
################################################################################
XDRIVER_XF86_VIDEO_INTEL_VERSION = 3d395062ce73f85e8340218df01c2ebf4bc25023
XDRIVER_XF86_VIDEO_INTEL_SITE = git://anongit.freedesktop.org/xorg/driver/xf86-video-intel
XDRIVER_XF86_VIDEO_INTEL_LICENSE = MIT
XDRIVER_XF86_VIDEO_INTEL_LICENSE_FILES = COPYING
XDRIVER_XF86_VIDEO_INTEL_AUTORECONF = YES
# -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.
XDRIVER_XF86_VIDEO_INTEL_CONF_ENV = \
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE -O2"
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS = \
--disable-xvmc \
--enable-sna \
--disable-xaa \
--disable-dga \
--disable-async-swap
XDRIVER_XF86_VIDEO_INTEL_DEPENDENCIES = \
libdrm \
libpciaccess \
xlib_libXrandr \
xorgproto \
xserver_xorg-server
# X.org server support for DRI depends on a Mesa3D DRI driver
ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y)
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += \
--enable-dri2 \
--enable-dri3 \
--enable-uxa
endif
$(eval $(autotools-package))