Patchwork [4/8] rt-tests: not available on avr32, too old uClibc

login
register
mail settings
Submitter Thomas Petazzoni
Date Dec. 9, 2012, 6:13 p.m.
Message ID <888c187be8b5ed6f62a1a7b8c825a980009fb365.1355076808.git.thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/204762/
State Accepted
Commit 98e16e7849e5ad63ce084e0564c84233793e6cc1
Headers show

Comments

Thomas Petazzoni - Dec. 9, 2012, 6:13 p.m.
The old uClibc used for the AVR32 architecture does not implement
priority inheritance, therefore rt-tests cannot build.

Fixes:

  http://autobuild.buildroot.org/results/695293d889128c666174d5fe03c5deadbe4d5415/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/rt-tests/Config.in |    3 +++
 1 file changed, 3 insertions(+)
Peter Korsgaard - Dec. 9, 2012, 8:56 p.m.
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> The old uClibc used for the AVR32 architecture does not implement
 Thomas> priority inheritance, therefore rt-tests cannot build.

Committed, thanks.

Patch

diff --git a/package/rt-tests/Config.in b/package/rt-tests/Config.in
index 337c020..54cb8d0 100644
--- a/package/rt-tests/Config.in
+++ b/package/rt-tests/Config.in
@@ -1,6 +1,9 @@ 
 config BR2_PACKAGE_RT_TESTS
 	bool "rt-tests"
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	# Too old uClibc, does not provide priority-inheritance
+	# mutexes
+	depends on !BR2_avr32
 	help
 	  Set of utilities for testing the real-time behaviour of a
 	  Linux system.