Skip to contentSkip to conversation

trinity: fix Config.in depends on logic

PATCH New Erico Nunes 2 participants 2 messages Oct 30, 2016

lore
Share & tools
lore
#0 lore raw

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

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.

---
 package/trinity/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/trinity/Config.in +2 -2
index 35b54d8..0ce1f9a 100644
@@ -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
Signature · 1 line
2.7.4
#1 lore raw

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

Hello,

Quoted 9 lines · Erico Nunes

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.

---
 package/trinity/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com