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.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Erico Nunes 2016-10-30 13:51:45 +01:00 committed by Thomas Petazzoni
parent c0a93f5975
commit 5f1e0e688b

View 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