Skip to contentSkip to conversation

package/x11r7/xdriver_xf86-video-sis: disable DRI support when not available

PATCH New Bernd Kuhls 2 participants 2 messages Jan 1, 2017 – Jan 25, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/x11r7/xdriver_xf86-video-sis: disable DRI support when not available

Fixes
http://autobuild.buildroot.net/results/ad8/ad861cb34c15a91e511042d8e47e2c3132cd5898/

---
 package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk +4 -0
index b1fce837e..d24474953 100644
@@ -12,4 +12,8 @@ XDRIVER_XF86_VIDEO_SIS_LICENSE_FILES = COPYING
 XDRIVER_XF86_VIDEO_SIS_AUTORECONF = YES
 XDRIVER_XF86_VIDEO_SIS_DEPENDENCIES = xserver_xorg-server libdrm xproto_fontsproto xproto_randrproto xproto_renderproto xproto_videoproto xproto_xextproto xproto_xf86dgaproto xproto_xf86driproto xproto_xineramaproto xproto_xproto
 
+ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),)
+XDRIVER_XF86_VIDEO_SIS_CONF_OPTS = --disable-dri
+endif
+
 $(eval $(autotools-package))
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 package/x11r7/xdriver_xf86-video-sis: disable DRI support when not available

Hello,

package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk XDRIVER_XF86_VIDEO_SIS_LICENSE_FILES = COPYING · line 17

Quoted 3 lines · Bernd Kuhls
package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk +3 -0
+ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),)
+XDRIVER_XF86_VIDEO_SIS_CONF_OPTS = --disable-dri
+endif

Using += is really better than using = when doing conditional assignments, to prevent future mistakes.

Unfortunately I saw it after pushing, so I fixed this as a follow-up commit rather than fixing the commit itself.

So applied to master with the fix.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com