d157811ce1
Attempting to build xdriver_xf86-video-intel version 2.99.917 with udev results in compilation failures. The provided patches ([1], [2]) corrects the `implicit declaration of function 'fstat'` occurrences during the building of this driver. [1] http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=12af8a575d1518d40416f83195049157c3a062a5 [2] http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=369ceec0e4910ba2c37736a59c55c0d6c26433bf [Thomas: - add upstream link to the git commits in the patches themselves - add James SoB line inside the patches themselves - add a comment above AUTORECONF = YES to indicate why it was added] Signed-off-by: James Knight <james.knight@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
54 lines
1.7 KiB
Makefile
54 lines
1.7 KiB
Makefile
################################################################################
|
|
#
|
|
# xdriver_xf86-video-intel
|
|
#
|
|
################################################################################
|
|
|
|
XDRIVER_XF86_VIDEO_INTEL_VERSION = 2.99.917
|
|
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
|
|
XDRIVER_XF86_VIDEO_INTEL_LICENSE = MIT
|
|
XDRIVER_XF86_VIDEO_INTEL_LICENSE_FILES = COPYING
|
|
# We're patching configure.ac
|
|
XDRIVER_XF86_VIDEO_INTEL_AUTORECONF = YES
|
|
|
|
# this fixes a getline-related compilation error in src/sna/kgem.c
|
|
XDRIVER_XF86_VIDEO_INTEL_CONF_ENV = \
|
|
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
|
|
|
|
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS = \
|
|
--disable-xvmc \
|
|
--enable-sna \
|
|
--disable-glamor \
|
|
--disable-xaa \
|
|
--disable-dga \
|
|
--disable-async-swap
|
|
|
|
XDRIVER_XF86_VIDEO_INTEL_DEPENDENCIES = \
|
|
libdrm \
|
|
libpciaccess \
|
|
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)
|
|
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += --enable-dri --enable-dri1
|
|
# quote from configure.ac: "UXA doesn't build without DRI2 headers"
|
|
ifeq ($(BR2_PACKAGE_XPROTO_DRI2PROTO),y)
|
|
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += --enable-dri2 --enable-uxa
|
|
else
|
|
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += --disable-dri2 --disable-uxa
|
|
endif
|
|
ifeq ($(BR2_PACKAGE_XPROTO_DRI3PROTO),y)
|
|
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += --enable-dri3
|
|
else
|
|
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += --disable-dri3
|
|
endif
|
|
else
|
|
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += --disable-dri
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|