All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] package/x11r7/xserver_xorg-server: Add libdrm dependency when dri or dri2 is enabled
Date: Tue, 25 Aug 2015 11:21:10 +0100	[thread overview]
Message-ID: <55DC4196.5020308@imgtec.com> (raw)
In-Reply-To: <1439035146-26080-4-git-send-email-bernd.kuhls@t-online.de>

Dear Bernd Kuhls,

On 08/08/2015 12:59 PM, Bernd Kuhls wrote:
> Fixes compile error using this defconfig
> BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
> BR2_TOOLCHAIN_BUILDROOT_CXX=y
> BR2_PACKAGE_XORG7=y
> BR2_PACKAGE_XSERVER_XORG_SERVER=y
> BR2_PACKAGE_XPROTO_DRI2PROTO=y
> 
> drmVersionPtr is referenced not only in hw/xfree86/dri2/dri2.c
> but also in hw/xfree86/dri/dri.c.
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/x11r7/xserver_xorg-server/Config.in | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/package/x11r7/xserver_xorg-server/Config.in b/package/x11r7/xserver_xorg-server/Config.in
> index f0ec598..8b794b3 100644
> --- a/package/x11r7/xserver_xorg-server/Config.in
> +++ b/package/x11r7/xserver_xorg-server/Config.in
> @@ -92,6 +92,8 @@ choice
>  
>  config BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
>  	bool "Modular X.org"
> +	select BR2_PACKAGE_LIBDRM if (BR2_PACKAGE_XPROTO_XF86DRIPROTO || \
> +		BR2_PACKAGE_XPROTO_DRI2PROTO)
>  	depends on BR2_INSTALL_LIBSTDCPP
>  	help
>  	  This variant of the X.org server is the full-blown variant,
> 

Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>

My testing was just a compile test.

Regards,

Vincent.

      reply	other threads:[~2015-08-25 10:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-08 11:59 [Buildroot] [PATCH 0/3] package/x11r7/xserver_xorg-server: Fixes for dri2 and drm support Bernd Kuhls
2015-08-08 11:59 ` [Buildroot] [PATCH 1/3] package/x11r7/xserver_xorg-server: Fix compilation of modesetting driver Bernd Kuhls
2015-08-25 10:19   ` Vicente Olivert Riera
2015-08-08 11:59 ` [Buildroot] [PATCH 2/3] package/x11r7/xserver_xorg-server: Fix libdrm dependency handling Bernd Kuhls
2015-08-25 10:20   ` Vicente Olivert Riera
2015-08-08 11:59 ` [Buildroot] [PATCH 3/3] package/x11r7/xserver_xorg-server: Add libdrm dependency when dri or dri2 is enabled Bernd Kuhls
2015-08-25 10:21   ` Vicente Olivert Riera [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55DC4196.5020308@imgtec.com \
    --to=vincent.riera@imgtec.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.