2007-08-10 21:07:51 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# libdrm
|
|
|
|
#
|
|
|
|
#############################################################
|
2013-03-20 10:49:19 +01:00
|
|
|
LIBDRM_VERSION = 2.4.38
|
2010-02-28 10:33:46 +01:00
|
|
|
LIBDRM_SOURCE = libdrm-$(LIBDRM_VERSION).tar.bz2
|
|
|
|
LIBDRM_SITE = http://dri.freedesktop.org/libdrm/
|
|
|
|
LIBDRM_INSTALL_STAGING = YES
|
|
|
|
|
2011-07-25 14:16:35 +02:00
|
|
|
LIBDRM_DEPENDENCIES = \
|
|
|
|
xproto_glproto \
|
|
|
|
xproto_xf86vidmodeproto \
|
|
|
|
xlib_libXxf86vm \
|
|
|
|
xlib_libXmu \
|
2013-03-20 10:49:19 +01:00
|
|
|
xlib_libpciaccess \
|
2011-07-25 14:16:35 +02:00
|
|
|
xproto_dri2proto \
|
2013-01-02 02:26:38 +01:00
|
|
|
xlib_libpthread-stubs \
|
2012-10-22 17:47:52 +02:00
|
|
|
host-pkgconf
|
2010-03-31 12:15:02 +02:00
|
|
|
|
2010-04-14 14:31:02 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_XDRIVER_XF86_VIDEO_INTEL),y)
|
|
|
|
LIBDRM_CONF_OPT += --enable-intel
|
|
|
|
LIBDRM_DEPENDENCIES += libatomic_ops
|
|
|
|
else
|
|
|
|
LIBDRM_CONF_OPT += --disable-intel
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI),y)
|
|
|
|
LIBDRM_CONF_OPT += --disable-radeon
|
|
|
|
endif
|
|
|
|
|
2012-09-22 15:10:17 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_UDEV),y)
|
|
|
|
LIBDRM_CONF_OPT += --enable-udev
|
|
|
|
LIBDRM_DEPENDENCIES += udev
|
|
|
|
else
|
|
|
|
LIBDRM_CONF_OPT += --disable-udev
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|