[Buildroot] [git commit] trinity: fix Config.in depends on logic

From: Thomas Petazzoni <hidden>
Date: 2016-10-30 15:42:16
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=5f1e0e688bba9b94287302258afdfacd6e6344e2
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The comment from trinity Config.in currently does not show up in
menuconfig for glibc or uClibc toolchains with older headers.
This commit fixes the logic so that it shows up when either one of the
dependencies from trinity are not met.

Signed-off-by: Erico Nunes <redacted>
Signed-off-by: Thomas Petazzoni <redacted>
---
 package/trinity/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/trinity/Config.in b/package/trinity/Config.in
index 35b54d8..0ce1f9a 100644
--- a/package/trinity/Config.in
+++ b/package/trinity/Config.in
@@ -18,5 +18,5 @@ config BR2_PACKAGE_TRINITY
 
 comment "trinity needs a uClibc or glibc toolchain w/ headers >= 3.4"
 	depends on BR2_PACKAGE_TRINITY_ARCH_SUPPORTS
-	depends on BR2_TOOLCHAIN_USES_MUSL
-	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
+	depends on BR2_TOOLCHAIN_USES_MUSL || \
+		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help