All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 01/13] package/xdriver_xf86-video-ati: depends on x86
Date: Sat, 12 Apr 2014 23:27:21 +0200	[thread overview]
Message-ID: <20140412232721.11855e16@skate> (raw)
In-Reply-To: <a00b28f75409c0cd28dc6ae9f4ee3262ada481f3.1396699629.git.yann.morin.1998@free.fr>

Dear Yann E. MORIN,

On Sat,  5 Apr 2014 14:10:05 +0200, Yann E. MORIN wrote:
> From: "Yann E. MORIN" <yann.morin.1998@free.fr>
> 
> xdriver_xf86-video-ati selects BR2_PACKAGE_LIBDRM_RADEON which
> depends on x86.
> 
> This can generate "unmet direct dependencies" warnings.
> 
> Propagate the dependency from BR2_PACKAGE_LIBDRM_RADEON.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> ---
>  package/x11r7/xdriver_xf86-video-ati/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/x11r7/xdriver_xf86-video-ati/Config.in b/package/x11r7/xdriver_xf86-video-ati/Config.in
> index 3c0cac3..e32256c 100644
> --- a/package/x11r7/xdriver_xf86-video-ati/Config.in
> +++ b/package/x11r7/xdriver_xf86-video-ati/Config.in
> @@ -1,5 +1,6 @@
>  config BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI
>  	bool "xf86-video-ati"
> +	depends on BR2_i386 || BR2_x86_64 # libdrm-radeon
>  	select BR2_PACKAGE_LIBDRM
>  	select BR2_PACKAGE_LIBDRM_RADEON
>  	select BR2_PACKAGE_MESA3D

Technically speaking, libdrm is not a mandatory dependency for the ATI
driver. It seems to only be mandatory if you want to enable DRI support.

Moreover, the fact that libdrm-radeon is only available on x86 and
x86-64 is wrong. It might have been the case back when it had a
dependency on libpciaccess, but it's no longer the case, and I've just
tested: one can build libdrm-radeon for ARM without any problem:

$ file output/target/usr/lib/libdrm_radeon.so.1.0.1 
output/target/usr/lib/libdrm_radeon.so.1.0.1: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, stripped

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2014-04-12 21:27 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-05 12:10 [Buildroot] [PATCH 0/13 v2] Add virtual package for full-openGL (branch yem/opengl) Yann E. MORIN
2014-04-05 12:10 ` [Buildroot] [PATCH 01/13] package/xdriver_xf86-video-ati: depends on x86 Yann E. MORIN
2014-04-12 21:27   ` Thomas Petazzoni [this message]
2014-04-05 12:10 ` [Buildroot] [PATCH 02/13] package/x11-video-drivers: do not select, but depends on mesa3d Yann E. MORIN
2014-04-05 12:10 ` [Buildroot] [PATCH 03/13] package/mesa3d: fix improper dependency of blind option Yann E. MORIN
2014-04-16 18:00   ` Thomas Petazzoni
2014-04-05 12:10 ` [Buildroot] [PATCH 04/13] package/mesa3d: re-arrange menu items Yann E. MORIN
2014-04-05 12:10 ` [Buildroot] [PATCH 05/13] package/mesa3d: DRI drivers depend on X.org Yann E. MORIN
2014-04-05 12:10 ` [Buildroot] [PATCH 06/13] package/mesa3d: add comment for when OpenGL EGL is not available Yann E. MORIN
2014-04-05 12:10 ` [Buildroot] [PATCH 07/13] package/mesa3d: simplify the code enabling full-OpenGL Yann E. MORIN
2014-04-05 12:10 ` [Buildroot] [PATCH 08/13] package/mesa3d: only enable full OpenGL when a DRI driver is enabled Yann E. MORIN
2014-04-05 12:10 ` [Buildroot] [PATCH 09/13] package/xorg-server: do not force-select xf86driproto for mesa3d Yann E. MORIN
2014-04-05 12:10 ` [Buildroot] [PATCH 10/13] package/libgl: introduce as a new virtual package for full-openGL providers Yann E. MORIN
2014-04-05 12:10 ` [Buildroot] [PATCH 11/13] package/mesa3d: with a DRI driver, is a full OpenGL provider Yann E. MORIN
2014-04-05 12:10 ` [Buildroot] [PATCH 12/13] package/libevas: switch dependency from mesa3d to _HAS_OPENGL Yann E. MORIN
2014-04-05 12:10 ` [Buildroot] [PATCH 13/13] package/vlc: depends on the virtual package libgl Yann E. MORIN
2014-04-17 14:40   ` Bernd Kuhls
2014-04-17 14:54     ` Yann E. MORIN
2014-04-17 15:42       ` Bernd Kuhls

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=20140412232721.11855e16@skate \
    --to=thomas.petazzoni@free-electrons.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.