trinity: fix Config.in depends on logic
authorErico Nunes <nunes.erico@gmail.com>
Sun, 30 Oct 2016 12:51:45 +0000 (13:51 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 30 Oct 2016 15:42:16 +0000 (16:42 +0100)
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@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/trinity/Config.in

index 35b54d83066c55fa99ee85c695b3b389b6aaa81e..0ce1f9aa27885ae79c1ab59906bd9a69c052a5de 100644 (file)
@@ -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