liburcu: only some architectures are supported
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 20 Mar 2012 08:17:46 +0000 (09:17 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 20 Mar 2012 23:22:24 +0000 (00:22 +0100)
Make sure that liburcu (and the packages that select it) cannot be
enabled on the architectures that are not supported. At the moment,
only x86, x86-64, PowerPC and ARM are supported.

[Peter: add armeb as well]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/liburcu/Config.in
package/lttng-libust/Config.in
package/lttng-tools/Config.in

index 5a6e4b226b0f11353442c62d5f7d3a971db979b5..69878b18c4263422be4901a5d25d9ed82deb2bc9 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBURCU
        bool "liburcu"
+       depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64
        help
          Userspace implementation of the Read-Copy-Update (RCU)
          synchronization mechanism. This library is mainly used by
index ae74bedf1085f476dc3d60b89f89f1173c6bd57a..ab1296367a901e956ef4ab262975bafdb3721018 100644 (file)
@@ -6,6 +6,8 @@ config BR2_PACKAGE_LTTNG_LIBUST
        # util-linux needs wchar and largefile
        depends on BR2_USE_WCHAR
        depends on BR2_LARGEFILE
+       # liburcu only works on some architectures
+       depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64
        help
          Userspace tracing library for the Lttng tracing
          infrastructure. It allows userspace programs to create
index 3040af6129b73bc915e3369d07593b8e8b150494..b8547578b8954d24662455a2d5e4b92896390f1e 100644 (file)
@@ -3,6 +3,8 @@ config BR2_PACKAGE_LTTNG_TOOLS
        depends on BR2_PACKAGE_LTTNG_MODULES
        select BR2_PACKAGE_LIBURCU
        select BR2_PACKAGE_POPT
+       # liburcu only works on some architectures
+       depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64
        help
          Userspace utilities for the LTTng 2.0 tracing
          infrastructure.