lmbench: needs BR2_INET_RPC
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 15 May 2010 07:21:50 +0000 (09:21 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 20 May 2010 20:34:28 +0000 (22:34 +0200)
This package uses several pmap_*() functions in the C library, that
are only available if the C library has RPC support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lmbench/Config.in

index 704b3ff7f43fb85218db2af9b4038493f606c526..d09a333c9e724964ed1d693bfeb554a709abb3ea 100644 (file)
@@ -1,7 +1,12 @@
 config BR2_PACKAGE_LMBENCH
        bool "lmbench"
+       # Uses pmap_set, pmap__unset, pmap_getport, etc.
+       depends on BR2_INET_RPC
        help
          LMbench is a suite of simple, portable,
          ANSI/C microbenchmarks for UNIX/POSIX.
 
          http://sourceforge.net/projects/lmbench/
+
+comment "lmbench requires a toolchain with RPC support"
+        depends on !BR2_INET_RPC