aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/libatomic_ops/Config.in1
-rw-r--r--package/libdrm/Config.in5
2 files changed, 5 insertions, 1 deletions
diff --git a/package/libatomic_ops/Config.in b/package/libatomic_ops/Config.in
index b9f14d198..3d5d0a824 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_armeb || 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 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