[Buildroot] [PATCH 1/1] trinity: fix Config.in depends on logic

Erico Nunes nunes.erico at gmail.com
Sun Oct 30 12:51:45 UTC 2016


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 <nunes.erico at gmail.com>
---
 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
-- 
2.7.4



More information about the buildroot mailing list