509ce3a6ec
xdriver_xf86-video-fbturbo has an optional dependency to libump currently not handled by buildroot: https://github.com/ssvb/xf86-video-fbturbo/blob/master/configure.ac#L91 If libump was compiled incidentally before xdriver_xf86-video-fbturbo sunxi_mali_ump_dri2.c is compiled which depends on dri2: https://github.com/ssvb/xf86-video-fbturbo/blob/master/src/Makefile.am#L59 This patch adds a dependency for dri2proto to enable dri2 support in X.org and adds libump as dependency for a reproducable build to fix http://autobuild.buildroot.net/results/656/656520682a5ac6fe5e1e741e1a92b1eab4245f2d/ [Peter: also add dri2proto to _DEPENDENCIES] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# xdriver_xf86-video-fbturbo
|
|
#
|
|
################################################################################
|
|
|
|
XDRIVER_XF86_VIDEO_FBTURBO_VERSION = 0.4.0
|
|
XDRIVER_XF86_VIDEO_FBTURBO_SITE = $(call github,ssvb,xf86-video-fbturbo,$(XDRIVER_XF86_VIDEO_FBTURBO_VERSION))
|
|
XDRIVER_XF86_VIDEO_FBTURBO_LICENSE = MIT
|
|
XDRIVER_XF86_VIDEO_FBTURBO_LICENSE_FILES = COPYING
|
|
XDRIVER_XF86_VIDEO_FBTURBO_DEPENDENCIES = \
|
|
xserver_xorg-server \
|
|
libdrm \
|
|
pixman \
|
|
xproto_fontsproto \
|
|
xproto_randrproto \
|
|
xproto_renderproto \
|
|
xproto_videoproto \
|
|
xproto_xproto \
|
|
xproto_xf86driproto
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBPCIACCESS),y)
|
|
XDRIVER_XF86_VIDEO_FBTURBO_DEPENDENCIES += libpciaccess
|
|
XDRIVER_XF86_VIDEO_FBTURBO_CONF_OPTS += --enable-pciaccess
|
|
else
|
|
XDRIVER_XF86_VIDEO_FBTURBO_CONF_OPTS += --disable-pciaccess
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBUMP),y)
|
|
XDRIVER_XF86_VIDEO_FBTURBO_DEPENDENCIES += libump
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XPROTO_DRI2PROTO),y)
|
|
XDRIVER_XF86_VIDEO_FBTURBO_DEPENDENCIES += xproto_dri2proto
|
|
endif
|
|
|
|
define XDRIVER_XF86_VIDEO_FBTURBO_INSTALL_CONF_FILE
|
|
$(INSTALL) -m 0644 -D $(@D)/xorg.conf $(TARGET_DIR)/etc/X11/xorg.conf
|
|
endef
|
|
|
|
XDRIVER_XF86_VIDEO_FBTURBO_POST_INSTALL_TARGET_HOOKS += XDRIVER_XF86_VIDEO_FBTURBO_INSTALL_CONF_FILE
|
|
|
|
$(eval $(autotools-package))
|