5bd41d165e
In upstream X.org releases, pthread-stubs is named libpthread-stubs, so for consistency reasons, we rename the Buildroot package accordingly. Also, while we're at it, we add a xlib_ prefix to the package to match other X.org libraries in Buildroot. The necessary Config.in.legacy code is added to ensure that users having .config files using the old configuration option name get a warning. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
39 lines
875 B
Makefile
39 lines
875 B
Makefile
#############################################################
|
|
#
|
|
# libdrm
|
|
#
|
|
#############################################################
|
|
LIBDRM_VERSION = 2.4.23
|
|
LIBDRM_SOURCE = libdrm-$(LIBDRM_VERSION).tar.bz2
|
|
LIBDRM_SITE = http://dri.freedesktop.org/libdrm/
|
|
LIBDRM_INSTALL_STAGING = YES
|
|
|
|
LIBDRM_DEPENDENCIES = \
|
|
xproto_glproto \
|
|
xproto_xf86vidmodeproto \
|
|
xlib_libXxf86vm \
|
|
xlib_libXmu \
|
|
xproto_dri2proto \
|
|
xlib_libpthread-stubs \
|
|
host-pkgconf
|
|
|
|
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
|
|
|
|
ifeq ($(BR2_PACKAGE_UDEV),y)
|
|
LIBDRM_CONF_OPT += --enable-udev
|
|
LIBDRM_DEPENDENCIES += udev
|
|
else
|
|
LIBDRM_CONF_OPT += --disable-udev
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|