dropwatch: add missing dependencies
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 27 Jul 2013 15:18:01 +0000 (17:18 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 27 Jul 2013 15:18:01 +0000 (17:18 +0200)
dropwatch requires thread support because it selects libnl that
depends on thread support. Also dropwatch cannot build on AArch64,
because it selects the target binutils package which isn't (yet)
available on AArch64.

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

index 4c0857e0ed340cc69e6496e81dc0f51c938ef67a..ef9a20d046b88ceebe0f7c6861d8611c70d58a27 100644 (file)
@@ -1,10 +1,15 @@
 config BR2_PACKAGE_DROPWATCH
        bool "dropwatch"
        select BR2_PACKAGE_BINUTILS
+       depends on !BR2_aarch64 # binutils
        select BR2_PACKAGE_READLINE
        select BR2_PACKAGE_LIBNL
+       depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
        help
          Dropwatch is an interactive utility for monitoring and
          recording packets that are dropped by the kernel
 
          https://fedorahosted.org/dropwatch/
+
+comment "dropwatch requires threading support in toolchain"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS