0be744e495
Now that we have libtool-2.2.x patch support, we can get rid of a bunch of _LIBTOOL_PATH = NO, fixing (potential) cross link issues. Notice: php not changed, as it uses a very old 1.5 version for the embedded sqlite, where our buildroot-libtool-v1.5.patch doesn't apply. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
25 lines
711 B
Makefile
25 lines
711 B
Makefile
#############################################################
|
|
#
|
|
# libdrm
|
|
#
|
|
#############################################################
|
|
LIBDRM_VERSION = 2.4.19
|
|
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 pthread-stubs
|
|
|
|
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
|
|
|
|
$(eval $(call AUTOTARGETS,package,libdrm))
|