diff mbox

tvheadend: disable when NPTL is missing

Message ID ab66cde1a0e02e60b0238a227bf982aa22f8eac5.1389858574.git.baruch@tkos.co.il
State Accepted
Commit 56d0da839cea5dcc52165e0ba4660a2694d09020
Headers show

Commit Message

Baruch Siach Jan. 16, 2014, 7:49 a.m. UTC
Fixes
http://autobuild.buildroot.net/results/0ae/0ae5c5158215a48d4d4849f52837bbe4b36db381/.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/tvheadend/Config.in | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comments

Peter Korsgaard Jan. 16, 2014, 8:16 a.m. UTC | #1
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

 > Fixes
 > http://autobuild.buildroot.net/results/0ae/0ae5c5158215a48d4d4849f52837bbe4b36db381/.

 > Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Committed, thanks.
Baruch Siach Jan. 16, 2014, 8:20 a.m. UTC | #2
Hi Peter,

On Thu, Jan 16, 2014 at 09:16:35AM +0100, Peter Korsgaard wrote:
> >>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
> 
>  > Fixes
>  > http://autobuild.buildroot.net/results/0ae/0ae5c5158215a48d4d4849f52837bbe4b36db381/.
> 
>  > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> 
> Committed, thanks.

Thanks. What about the similar rt-tests patch 
(http://patchwork.ozlabs.org/patch/309709/)?

baurch
Peter Korsgaard Jan. 16, 2014, 8:24 a.m. UTC | #3
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

 > Hi Peter,
 > On Thu, Jan 16, 2014 at 09:16:35AM +0100, Peter Korsgaard wrote:
 >> >>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
 >> 
 >> > Fixes
 >> > http://autobuild.buildroot.net/results/0ae/0ae5c5158215a48d4d4849f52837bbe4b36db381/.
 >> 
 >> > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
 >> 
 >> Committed, thanks.

 > Thanks. What about the similar rt-tests patch 
 > (http://patchwork.ozlabs.org/patch/309709/)?

I'll handle it now. I know Thomas disagreed, but I think it makes sense.
diff mbox

Patch

diff --git a/package/tvheadend/Config.in b/package/tvheadend/Config.in
index 04bcde122d56..da60f83a9c0e 100644
--- a/package/tvheadend/Config.in
+++ b/package/tvheadend/Config.in
@@ -1,5 +1,6 @@ 
 comment "tvheadend needs a toolchain w/ largefile, IPv6, threads"
-	depends on !BR2_avr32
+	depends on !BR2_avr32 && !BR2_xtensa && !BR2_arc
+	depends on !BR2_PTHREADS && !BR2_PTHREADS_OLD
 	depends on !BR2_LARGEFILE || !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_TVHEADEND
@@ -12,6 +13,10 @@  config BR2_PACKAGE_TVHEADEND
 	# context of Buildroot, the only really problematic
 	# architecture is avr32, which uses gcc 4.2.
 	depends on !BR2_avr32
+	# clock_nanosleep needs NPTL
+	depends on !BR2_PTHREADS && !BR2_PTHREADS_OLD
+	# no NPTL for these archs
+	depends on !BR2_xtensa && !BR2_arc
 	select BR2_PACKAGE_DVB_APPS
 	select BR2_PACKAGE_OPENSSL
 	help