* [Buildroot] [PATCH] libdrm: disable drivers for sparcv8
@ 2016-01-18 21:00 Waldemar Brodkorb
2016-01-18 21:43 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Waldemar Brodkorb @ 2016-01-18 21:00 UTC (permalink / raw)
To: buildroot
The drivers use atomic ops as CAS, which fails
to compile for sparcv8, but works fine for leon3.
Fixes following autobuild error:
http://autobuild.buildroot.net/results/fa0ac44d3c7953b2e2afa03cd7570d8a5d49fcc4/
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
package/libdrm/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in
index 445a85b..bacbeac 100644
--- a/package/libdrm/Config.in
+++ b/package/libdrm/Config.in
@@ -15,6 +15,7 @@ config BR2_PACKAGE_LIBDRM_INSTALL_TESTS
This option allows to install the libdrm test programs.
menu "DRM Drivers"
+depends on !BR2_sparc_v8 # drivers need atomic ops
config BR2_PACKAGE_LIBDRM_INTEL
bool "intel"
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] libdrm: disable drivers for sparcv8
2016-01-18 21:00 [Buildroot] [PATCH] libdrm: disable drivers for sparcv8 Waldemar Brodkorb
@ 2016-01-18 21:43 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-01-18 21:43 UTC (permalink / raw)
To: buildroot
Waldemar,
On Mon, 18 Jan 2016 22:00:42 +0100, Waldemar Brodkorb wrote:
> The drivers use atomic ops as CAS, which fails
> to compile for sparcv8, but works fine for leon3.
>
> Fixes following autobuild error:
> http://autobuild.buildroot.net/results/fa0ac44d3c7953b2e2afa03cd7570d8a5d49fcc4/
>
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
> package/libdrm/Config.in | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in
> index 445a85b..bacbeac 100644
> --- a/package/libdrm/Config.in
> +++ b/package/libdrm/Config.in
> @@ -15,6 +15,7 @@ config BR2_PACKAGE_LIBDRM_INSTALL_TESTS
> This option allows to install the libdrm test programs.
>
> menu "DRM Drivers"
> +depends on !BR2_sparc_v8 # drivers need atomic ops
What about the packages that select some libdrm drivers? I'm thinking
for example of:
config BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU
bool "DRI nouveau driver"
select BR2_PACKAGE_MESA3D_DRI_DRIVER
select BR2_PACKAGE_LIBDRM_NOUVEAU
help
Support for Nvidia-based GPUs.
config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
bool "DRI radeon driver"
select BR2_PACKAGE_MESA3D_DRI_DRIVER
select BR2_PACKAGE_LIBDRM_RADEON
help
Legacy Radeon driver for R100 series GPUs.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-18 21:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-18 21:00 [Buildroot] [PATCH] libdrm: disable drivers for sparcv8 Waldemar Brodkorb
2016-01-18 21: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