dahdi-tools: unify dependencies comments
authorBaruch Siach <baruch@tkos.co.il>
Fri, 17 Aug 2018 09:43:15 +0000 (12:43 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 17 Aug 2018 15:07:11 +0000 (17:07 +0200)
The threads dependency comment is currently shown even though the
toolchain supports threads, only because kernel build is disabled.

Merge the kernel and threads comments. This is similar to what we have
in other packages that need the kernel.

Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/dahdi-tools/Config.in

index 39042df04134665852af6d6c8070233c86073ef7..a5f145dfe8cbcd4149b2e230b0aa91bbc46573d0 100644 (file)
@@ -15,9 +15,5 @@ config BR2_PACKAGE_DAHDI_TOOLS
 
          http://www.asterisk.org/downloads/dahdi
 
-# Two comments, otherwise it may not fit in menuconfig for narrow terminals
-comment "dahdi-tools needs a toolchain w/ threads"
+comment "dahdi-tools needs a toolchain w/ threads and a Linux kernel to be built"
        depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LINUX_KERNEL
-
-comment "dahdi-tools needs a Linux kernel to be built"
-       depends on !BR2_LINUX_KERNEL