2007-08-11 03:07:51 +08:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# libdrm
|
|
|
|
#
|
|
|
|
#############################################################
|
2010-03-31 18:15:02 +08:00
|
|
|
LIBDRM_VERSION = 2.4.19
|
2010-02-28 17:33:46 +08:00
|
|
|
LIBDRM_SOURCE = libdrm-$(LIBDRM_VERSION).tar.bz2
|
|
|
|
LIBDRM_SITE = http://dri.freedesktop.org/libdrm/
|
|
|
|
LIBDRM_INSTALL_STAGING = YES
|
|
|
|
|
2011-07-25 20:16:35 +08:00
|
|
|
LIBDRM_DEPENDENCIES = \
|
|
|
|
xproto_glproto \
|
|
|
|
xproto_xf86vidmodeproto \
|
|
|
|
xlib_libXxf86vm \
|
|
|
|
xlib_libXmu \
|
|
|
|
xproto_dri2proto \
|
|
|
|
pthread-stubs \
|
|
|
|
host-pkg-config
|
2010-03-31 18:15:02 +08:00
|
|
|
|
2010-04-14 20:31:02 +08: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
|
|
|
|
|
2011-09-30 03:57:43 +08:00
|
|
|
$(eval $(call AUTOTARGETS))
|