82fb054745
The package depends on gbm and not mesa3d: https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/-/blob/master/configure.ac#L155 Remove the dependency to BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON in order to prevent a circular dependency here. This option will be removed in a follow-patch anyway because Mesa3D will drop DRI drivers in version 22.x. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
29 lines
957 B
Makefile
29 lines
957 B
Makefile
################################################################################
|
|
#
|
|
# xdriver_xf86-video-ati
|
|
#
|
|
################################################################################
|
|
|
|
XDRIVER_XF86_VIDEO_ATI_VERSION = 19.1.0
|
|
XDRIVER_XF86_VIDEO_ATI_SOURCE = xf86-video-ati-$(XDRIVER_XF86_VIDEO_ATI_VERSION).tar.bz2
|
|
XDRIVER_XF86_VIDEO_ATI_SITE = http://xorg.freedesktop.org/releases/individual/driver
|
|
XDRIVER_XF86_VIDEO_ATI_LICENSE = MIT
|
|
XDRIVER_XF86_VIDEO_ATI_LICENSE_FILES = COPYING
|
|
XDRIVER_XF86_VIDEO_ATI_DEPENDENCIES = \
|
|
libdrm \
|
|
libgbm \
|
|
xlib_libXcomposite \
|
|
xorgproto \
|
|
xserver_xorg-server
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBEGL)$(BR2_PACKAGE_HAS_LIBGL)$(BR2_PACKAGE_LIBEPOXY),yyy)
|
|
XDRIVER_XF86_VIDEO_ATI_CONF_OPTS += --enable-glamor
|
|
else
|
|
XDRIVER_XF86_VIDEO_ATI_CONF_OPTS += --disable-glamor
|
|
endif
|
|
|
|
# xdriver_xf86-video-ati requires O_CLOEXEC
|
|
XDRIVER_XF86_VIDEO_ATI_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
|
|
|
|
$(eval $(autotools-package))
|