Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] package/x11r7/xserver_xorg-server: Fix libdrm dependency handling
Date: Tue, 25 Aug 2015 11:20:20 +0100	[thread overview]
Message-ID: <55DC4164.20102@imgtec.com> (raw)
In-Reply-To: <1439035146-26080-3-git-send-email-bernd.kuhls@t-online.de>

Dear Bernd Kuhls,

On 08/08/2015 12:59 PM, Bernd Kuhls wrote:
> Fixes
> http://autobuild.buildroot.net/results/2e1/2e12f1a91812f027d89fcceeb41d6c88ef7b9d32/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 15 ++++++++++-----
>  1 file changed, 10 insertions(+), 5 deletions(-)
> 
> diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
> index 566d93a..c88614b 100644
> --- a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
> +++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
> @@ -86,6 +86,12 @@ endif
>  ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR),y)
>  XSERVER_XORG_SERVER_CONF_OPTS += --enable-xorg
>  XSERVER_XORG_SERVER_DEPENDENCIES += libpciaccess
> +ifeq ($(BR2_PACKAGE_LIBDRM),y)
> +XSERVER_XORG_SERVER_DEPENDENCIES += libdrm
> +XSERVER_XORG_SERVER_CONF_OPTS += --enable-libdrm
> +else
> +XSERVER_XORG_SERVER_CONF_OPTS += --disable-libdrm
> +endif
>  else
>  XSERVER_XORG_SERVER_CONF_OPTS += --disable-xorg
>  endif
> @@ -125,10 +131,10 @@ XSERVER_XORG_SERVER_CONF_OPTS += --disable-kdrive --disable-xfbdev
>  endif
>  
>  ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y)
> -XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri --enable-libdrm --enable-glx
> -XSERVER_XORG_SERVER_DEPENDENCIES += libdrm mesa3d xproto_xf86driproto
> +XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri --enable-glx
> +XSERVER_XORG_SERVER_DEPENDENCIES += mesa3d xproto_xf86driproto
>  else
> -XSERVER_XORG_SERVER_CONF_OPTS += --disable-dri --disable-libdrm --disable-glx
> +XSERVER_XORG_SERVER_CONF_OPTS += --disable-dri --disable-glx
>  endif
>  
>  ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_AIGLX),y)
> @@ -148,8 +154,7 @@ XSERVER_XORG_SERVER_DEPENDENCIES += udev
>  XSERVER_XORG_SERVER_CONF_OPTS += --enable-config-udev
>  # udev kms support depends on libdrm and dri2
>  ifeq ($(BR2_PACKAGE_LIBDRM)$(BR2_PACKAGE_XPROTO_DRI2PROTO),yy)
> -XSERVER_XORG_SERVER_DEPENDENCIES += libdrm
> -XSERVER_XORG_SERVER_CONF_OPTS += --enable-config-udev-kms --enable-libdrm
> +XSERVER_XORG_SERVER_CONF_OPTS += --enable-config-udev-kms
>  else
>  XSERVER_XORG_SERVER_CONF_OPTS += --disable-config-udev-kms
>  endif
> 

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:20 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 [this message]
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

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=55DC4164.20102@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox