Message ID | 3b534b03d272d7da09743acab71910ab1acb6592.1355076808.git.thomas.petazzoni@free-electrons.com |
---|---|
State | Accepted |
Headers | show |
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> The rt-tests package extensively use threads, so this package should
Thomas> only be available if the toolchain has thread support.
Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas> ---
Thomas> package/rt-tests/Config.in | 1 +
Thomas> 1 file changed, 1 insertion(+)
Thomas> diff --git a/package/rt-tests/Config.in b/package/rt-tests/Config.in
Thomas> index e645266..337c020 100644
Thomas> --- a/package/rt-tests/Config.in
Thomas> +++ b/package/rt-tests/Config.in
Thomas> @@ -1,5 +1,6 @@
Thomas> config BR2_PACKAGE_RT_TESTS
Thomas> bool "rt-tests"
Thomas> + depends on BR2_TOOLCHAIN_HAS_THREADS
You forgot to add a comment when not available. I've added that and
committed, thanks.
diff --git a/package/rt-tests/Config.in b/package/rt-tests/Config.in index e645266..337c020 100644 --- a/package/rt-tests/Config.in +++ b/package/rt-tests/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_RT_TESTS bool "rt-tests" + depends on BR2_TOOLCHAIN_HAS_THREADS help Set of utilities for testing the real-time behaviour of a Linux system.
The rt-tests package extensively use threads, so this package should only be available if the toolchain has thread support. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- package/rt-tests/Config.in | 1 + 1 file changed, 1 insertion(+)