Bernd Kuhls 2022-05-14 19:55:55 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 4ce7c0dd13
commit 5962c7ec39

View File

@ -15,6 +15,12 @@ XDRIVER_XF86_VIDEO_AMDGPU_DEPENDENCIES = \
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"