f4e8a18e96
Release notes: https://lists.x.org/archives/xorg-announce/2023-February/003334.html Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
29 lines
995 B
Makefile
29 lines
995 B
Makefile
################################################################################
|
|
#
|
|
# xdriver_xf86-video-amdgpu
|
|
#
|
|
################################################################################
|
|
|
|
XDRIVER_XF86_VIDEO_AMDGPU_VERSION = 23.0.0
|
|
XDRIVER_XF86_VIDEO_AMDGPU_SOURCE = xf86-video-amdgpu-$(XDRIVER_XF86_VIDEO_AMDGPU_VERSION).tar.xz
|
|
XDRIVER_XF86_VIDEO_AMDGPU_SITE = https://xorg.freedesktop.org/archive/individual/driver
|
|
XDRIVER_XF86_VIDEO_AMDGPU_LICENSE = MIT
|
|
XDRIVER_XF86_VIDEO_AMDGPU_LICENSE_FILES = COPYING
|
|
XDRIVER_XF86_VIDEO_AMDGPU_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_AMDGPU_CONF_OPTS += --enable-glamor
|
|
else
|
|
XDRIVER_XF86_VIDEO_AMDGPU_CONF_OPTS += --disable-glamor
|
|
endif
|
|
|
|
# xdriver_xf86-video-amdgpu requires O_CLOEXEC
|
|
XDRIVER_XF86_VIDEO_AMDGPU_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
|
|
|
|
$(eval $(autotools-package))
|