diff mbox series

[2/2] package/x11r7/xdriver_xf86-video-amdgpu: fix glamor dependency

Message ID 20200410123207.3145145-2-bernd.kuhls@t-online.de
State New
Headers show
Series [1/2] package/x11r7/xdriver_xf86-video-amdgpu: needs opengl | expand

Commit Message

Bernd Kuhls April 10, 2020, 12:32 p.m. UTC
Copy glamor dependencies from xserver_xorg-server omitting libgl/libegl
because this package already depends on both options:
https://git.buildroot.net/buildroot/tree/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk#n192

Fixes:
http://autobuild.buildroot.net/results/4da/4da87d30e6f5a10aafae60abce1b89ed92204a4e/
http://autobuild.buildroot.net/results/74c/74ceb71bd48ea3a2bf6ff68aec0af76a11662f1f/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 .../xdriver_xf86-video-amdgpu/xdriver_xf86-video-amdgpu.mk  | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Bernd Kuhls April 1, 2021, 4:30 p.m. UTC | #1
Am Fri, 10 Apr 2020 14:32:07 +0200 schrieb Bernd Kuhls:

> Copy glamor dependencies from xserver_xorg-server omitting libgl/libegl
> because this package already depends on both options:
> https://git.buildroot.net/buildroot/tree/package/x11r7/xserver_xorg-
server/xserver_xorg-server.mk#n192
> 
> Fixes:
> http://autobuild.buildroot.net/results/4da/
4da87d30e6f5a10aafae60abce1b89ed92204a4e/
> http://autobuild.buildroot.net/results/74c/
74ceb71bd48ea3a2bf6ff68aec0af76a11662f1f/

Hi,

this patch series[1] is still needed:

http://autobuild.buildroot.net/results/
541/54193d198efe371bdb19ac4981d631ff1e279717//

Regards, Bernd

[1] http://patchwork.ozlabs.org/project/buildroot/list/?series=169608
diff mbox series

Patch

diff --git a/package/x11r7/xdriver_xf86-video-amdgpu/xdriver_xf86-video-amdgpu.mk b/package/x11r7/xdriver_xf86-video-amdgpu/xdriver_xf86-video-amdgpu.mk
index e7196956a3..ccb5b30d90 100644
--- a/package/x11r7/xdriver_xf86-video-amdgpu/xdriver_xf86-video-amdgpu.mk
+++ b/package/x11r7/xdriver_xf86-video-amdgpu/xdriver_xf86-video-amdgpu.mk
@@ -15,6 +15,12 @@  XDRIVER_XF86_VIDEO_AMDGPU_DEPENDENCIES = \
 	xorgproto \
 	xserver_xorg-server
 
+ifeq ($(BR2_PACKAGE_LIBEPOXY),y)
+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"