summaryrefslogtreecommitdiff
path: root/package/libdrm
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-03-20 12:11:04 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-03-20 14:20:18 +0100
commit68d2124d332a722422d59988183c20d7b254d0af (patch)
tree98cdb9fc732dfc8b058dd7a14fe8fa9057a68493 /package/libdrm
parentd10dddf473b6e2cce9b8a12f67a26d69c22ef747 (diff)
libatomic_ops: make it available only on supported architectures
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. [Peter: add armeb as supported arch] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libdrm')
-rw-r--r--package/libdrm/Config.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in
index d68f9d5cb..f3dab9a2c 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