From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Mon, 25 Jul 2016 22:46:19 +0200 Subject: [Buildroot] [PATCH 2/2] package/x11r7/xserver_xorg-server: libdrm needs dri2 In-Reply-To: <1469426956-23383-2-git-send-email-bernd.kuhls@t-online.de> References: <1469426956-23383-1-git-send-email-bernd.kuhls@t-online.de> <1469426956-23383-2-git-send-email-bernd.kuhls@t-online.de> Message-ID: <20160725224619.1be7ce21@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, On Mon, 25 Jul 2016 08:09:16 +0200, Bernd Kuhls wrote: > While fixing > http://autobuild.buildroot.net/results/3b2/3b2b10314cde2ecacb7fd3949990a4cac2117f4c/ > the build throws an error in the modesettings driver after libdrm CFLAGS > were fixed by the previous patch: > > In file included from dri2.c:43:0: > ./../../dri2/dri2.h:36:39: fatal error: X11/extensions/dri2tokens.h: No such file or directory > #include > > According to configure.ac the modesettings driver is enabled if libdrm was > found: > https://cgit.freedesktop.org/xorg/xserver/commit/configure.ac?id=bc4b234d6f4b7b211f7a9750a97524e9652d0e6e > > This patch adds the necessary dri2 dependency. > > Fixes additional build error in > http://autobuild.buildroot.net/results/3b2/3b2b10314cde2ecacb7fd3949990a4cac2117f4c/ Could you revisit this in the light of my comments on PATCH 1/2 ? > +ifeq ($(BR2_PACKAGE_LIBDRM)$(BR2_PACKAGE_XPROTO_DRI2PROTO),yy) libdrm can be used with DRI or DRI3 as well, according to the configure.ac script. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com