Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/x11r7/xdriver_xf86-video-sis: disable DRI support when not available
@ 2017-01-01 13:07 Bernd Kuhls
  2017-01-25  3:43 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2017-01-01 13:07 UTC (permalink / raw)
  To: buildroot

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

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

diff --git a/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk b/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk
index b1fce837e..d24474953 100644
--- a/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk
+++ b/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk
@@ -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))
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] package/x11r7/xdriver_xf86-video-sis: disable DRI support when not available
  2017-01-01 13:07 [Buildroot] [PATCH 1/1] package/x11r7/xdriver_xf86-video-sis: disable DRI support when not available Bernd Kuhls
@ 2017-01-25  3:43 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-01-25  3:43 UTC (permalink / raw)
  To: buildroot

Hello,

On Sun,  1 Jan 2017 14:07:05 +0100, Bernd Kuhls wrote:

> +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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-25  3:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-01 13:07 [Buildroot] [PATCH 1/1] package/x11r7/xdriver_xf86-video-sis: disable DRI support when not available Bernd Kuhls
2017-01-25  3:43 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox