* [Buildroot] [git commit] rt-tests: fix mips+uclibc check
@ 2014-02-23 17:52 Peter Korsgaard
2014-02-24 9:50 ` Vicente Olivert Riera
0 siblings, 1 reply; 2+ messages in thread
From: Peter Korsgaard @ 2014-02-23 17:52 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=088ed8dcbb061bf573a0ed5c98fff22bac6138c0
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The conditional (suggested by me) introduced in 108952 (rt-tests: disable
for uclibc mips) isn't actually valid kconfig syntax, causing menuconfig to
error out.
Rewrite it to use proper syntax.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/rt-tests/Config.in | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/rt-tests/Config.in b/package/rt-tests/Config.in
index ff4284e..8940668 100644
--- a/package/rt-tests/Config.in
+++ b/package/rt-tests/Config.in
@@ -6,8 +6,8 @@ config BR2_PACKAGE_RT_TESTS
# no NPTL for these archs
depends on !BR2_avr32 && !BR2_xtensa && !BR2_arc && !BR2_bfin
# no _tid field in 'struct sigevent'
- depends on !BR2_TOOLCHAIN_USES_UCLIBC if (BR2_mips || BR2_mipsel || \
- BR2_mips64 || BR2_mips64el)
+ depends on !(BR2_TOOLCHAIN_USES_UCLIBC && (BR2_mips || BR2_mipsel || \
+ BR2_mips64 || BR2_mips64el))
help
Set of utilities for testing the real-time behaviour of a
Linux system.
@@ -32,5 +32,5 @@ comment "rt-tests needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS
comment "rt-tests needs an (e)glibc toolchain"
- depends on BR2_TOOLCHAIN_USES_UCLIBC if (BR2_mips || BR2_mipsel || \
+ depends on BR2_TOOLCHAIN_USES_UCLIBC && (BR2_mips || BR2_mipsel || \
BR2_mips64 || BR2_mips64el)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [git commit] rt-tests: fix mips+uclibc check
2014-02-23 17:52 [Buildroot] [git commit] rt-tests: fix mips+uclibc check Peter Korsgaard
@ 2014-02-24 9:50 ` Vicente Olivert Riera
0 siblings, 0 replies; 2+ messages in thread
From: Vicente Olivert Riera @ 2014-02-24 9:50 UTC (permalink / raw)
To: buildroot
On 02/23/2014 05:52 PM, Peter Korsgaard wrote:
> commit: http://git.buildroot.net/buildroot/commit/?id=088ed8dcbb061bf573a0ed5c98fff22bac6138c0
> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>
> The conditional (suggested by me) introduced in 108952 (rt-tests: disable
> for uclibc mips) isn't actually valid kconfig syntax, causing menuconfig to
> error out.
>
> Rewrite it to use proper syntax.
>
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
> package/rt-tests/Config.in | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/package/rt-tests/Config.in b/package/rt-tests/Config.in
> index ff4284e..8940668 100644
> --- a/package/rt-tests/Config.in
> +++ b/package/rt-tests/Config.in
> @@ -6,8 +6,8 @@ config BR2_PACKAGE_RT_TESTS
> # no NPTL for these archs
> depends on !BR2_avr32 && !BR2_xtensa && !BR2_arc && !BR2_bfin
> # no _tid field in 'struct sigevent'
> - depends on !BR2_TOOLCHAIN_USES_UCLIBC if (BR2_mips || BR2_mipsel || \
> - BR2_mips64 || BR2_mips64el)
> + depends on !(BR2_TOOLCHAIN_USES_UCLIBC && (BR2_mips || BR2_mipsel || \
> + BR2_mips64 || BR2_mips64el))
> help
> Set of utilities for testing the real-time behaviour of a
> Linux system.
> @@ -32,5 +32,5 @@ comment "rt-tests needs a toolchain w/ threads"
> depends on !BR2_TOOLCHAIN_HAS_THREADS
>
> comment "rt-tests needs an (e)glibc toolchain"
> - depends on BR2_TOOLCHAIN_USES_UCLIBC if (BR2_mips || BR2_mipsel || \
> + depends on BR2_TOOLCHAIN_USES_UCLIBC && (BR2_mips || BR2_mipsel || \
> BR2_mips64 || BR2_mips64el)
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
If I recall correctly, when I was investigating this failure before
submitting the fix to uClibc upstream, there were more architectures
with this problem. MIPS wasn't the only one. Has that been changed?
--
Vincent
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-24 9:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-23 17:52 [Buildroot] [git commit] rt-tests: fix mips+uclibc check Peter Korsgaard
2014-02-24 9:50 ` Vicente Olivert Riera
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox