* [Buildroot] [pull request] Pull request for branch libatomic-arch
@ 2012-03-20 11:11 Thomas Petazzoni
2012-03-20 11:11 ` [Buildroot] [PATCH 1/1] libatomic_ops: make it available only on supported architectures Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2012-03-20 11:11 UTC (permalink / raw)
To: buildroot
Hello,
Here is a fix about libatomic_ops. However, it is worth noting that
according to http://www.hpl.hp.com/research/linux/atomic_ops/, the
official website of libatomic_ops, this library is no longer
maintained. It is currently used by libdrm and pulseaudio in
Buildroot. Does anyone knows what are the up-to-date andmaintained
alternatives?
Best regards,
Thomas
The following changes since commit b5fd0f2709cab72f48da12a5804dd8670fffbf6e:
Change the /etc/mtab symlink to use an absolute path (2012-03-19 17:08:13 +0100)
are available in the git repository at:
git://git.free-electrons.com/users/thomas-petazzoni/buildroot.git libatomic-arch
Thomas Petazzoni (1):
libatomic_ops: make it available only on supported architectures
package/libatomic_ops/Config.in | 1 +
package/libdrm/Config.in | 5 ++++-
2 files changed, 5 insertions(+), 1 deletions(-)
Thanks,
--
Thomas Petazzoni
^ permalink raw reply [flat|nested] 3+ messages in thread* [Buildroot] [PATCH 1/1] libatomic_ops: make it available only on supported architectures
2012-03-20 11:11 [Buildroot] [pull request] Pull request for branch libatomic-arch Thomas Petazzoni
@ 2012-03-20 11:11 ` Thomas Petazzoni
2012-03-20 13:20 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2012-03-20 11:11 UTC (permalink / raw)
To: buildroot
libatomic_ops build fails on architectures such as MIPS or SuperH that
are not supported. So we make it possible to select the libatomic_ops
package only for the architectures that are known to be supported.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/libatomic_ops/Config.in | 1 +
package/libdrm/Config.in | 5 ++++-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/package/libatomic_ops/Config.in b/package/libatomic_ops/Config.in
index b9f14d1..c24cf46 100644
--- a/package/libatomic_ops/Config.in
+++ b/package/libatomic_ops/Config.in
@@ -1,4 +1,5 @@
config BR2_PACKAGE_LIBATOMIC_OPS
bool "libatomic_ops"
+ depends on BR2_arm || BR2_i386 || BR2_sparc || BR2_powerpc || BR2_x86_64
help
Atomic operations library
diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in
index d68f9d5..f3dab9a 100644
--- a/package/libdrm/Config.in
+++ b/package/libdrm/Config.in
@@ -8,7 +8,10 @@ config BR2_PACKAGE_LIBDRM
select BR2_PACKAGE_XLIB_LIBXMU
select BR2_PACKAGE_XPROTO_DRI2PROTO
select BR2_PACKAGE_PTHREAD_STUBS
- select BR2_PACKAGE_LIBATOMIC_OPS if BR2_PACKAGE_XDRIVER_XF86_VIDEO_INTEL
+ # libatomic_ops is only available on a subset of the supported
+ # architectures, and we make the assumption that the intel
+ # driver can only be used on x86 and x86_64 machines.
+ select BR2_PACKAGE_LIBATOMIC_OPS if (BR2_PACKAGE_XDRIVER_XF86_VIDEO_INTEL && (BR2_i386 || BR2_x86_64))
help
Direct Rendering Manager
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] libatomic_ops: make it available only on supported architectures
2012-03-20 11:11 ` [Buildroot] [PATCH 1/1] libatomic_ops: make it available only on supported architectures Thomas Petazzoni
@ 2012-03-20 13:20 ` Peter Korsgaard
0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2012-03-20 13:20 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> libatomic_ops build fails on architectures such as MIPS or SuperH that
Thomas> are not supported. So we make it possible to select the libatomic_ops
Thomas> package only for the architectures that are known to be supported.
Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas> ---
Thomas> package/libatomic_ops/Config.in | 1 +
Thomas> package/libdrm/Config.in | 5 ++++-
Thomas> 2 files changed, 5 insertions(+), 1 deletions(-)
Thomas> diff --git a/package/libatomic_ops/Config.in b/package/libatomic_ops/Config.in
Thomas> index b9f14d1..c24cf46 100644
Thomas> --- a/package/libatomic_ops/Config.in
Thomas> +++ b/package/libatomic_ops/Config.in
Thomas> @@ -1,4 +1,5 @@
Thomas> config BR2_PACKAGE_LIBATOMIC_OPS
Thomas> bool "libatomic_ops"
Thomas> + depends on BR2_arm || BR2_i386 || BR2_sparc || BR2_powerpc || BR2_x86_64
It seems like you forgot BR2_armeb - I've added that and committed,
thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-20 13:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-20 11:11 [Buildroot] [pull request] Pull request for branch libatomic-arch Thomas Petazzoni
2012-03-20 11:11 ` [Buildroot] [PATCH 1/1] libatomic_ops: make it available only on supported architectures Thomas Petazzoni
2012-03-20 13:20 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox