Patchwork [10/33] ltp-testsuite: add warning about bessel function support if uclibc toolchain

login
register
mail settings
Submitter Samuel Martin
Date Nov. 22, 2012, 12:18 a.m.
Message ID <1353543503-8952-11-git-send-email-s.martin49@gmail.com>
Download mbox | patch
Permalink /patch/200892/
State Accepted
Headers show

Comments

Samuel Martin - Nov. 22, 2012, 12:18 a.m.
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
---
 package/ltp-testsuite/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
Peter Korsgaard - March 4, 2013, 9:30 a.m.
>>>>> "Samuel" == Samuel Martin <s.martin49@gmail.com> writes:

 Samuel> Signed-off-by: Samuel Martin <s.martin49@gmail.com>
 Samuel> ---
 Samuel>  package/ltp-testsuite/Config.in | 4 ++++
 Samuel>  1 file changed, 4 insertions(+)

 Samuel> diff --git a/package/ltp-testsuite/Config.in b/package/ltp-testsuite/Config.in
 Samuel> index 86aa4fb..30ba70f 100644
 Samuel> --- a/package/ltp-testsuite/Config.in
 Samuel> +++ b/package/ltp-testsuite/Config.in
 Samuel> @@ -1,3 +1,7 @@
 Samuel> +comment "Note that ltp-testsuite needs a uclibc toolchain with DO_XSI_MATH (bessel functions) enabled"

It also needs UCLIBC_HAS_OBSOLETE_BSD_SIGNAL and UCLIBC_SV4_DEPRECATED
so I reworked this a bit and committed, thanks.

Patch

diff --git a/package/ltp-testsuite/Config.in b/package/ltp-testsuite/Config.in
index 86aa4fb..30ba70f 100644
--- a/package/ltp-testsuite/Config.in
+++ b/package/ltp-testsuite/Config.in
@@ -1,3 +1,7 @@ 
+comment "Note that ltp-testsuite needs a uclibc toolchain with DO_XSI_MATH (bessel functions) enabled"
+	depends on BR2_PACKAGE_LTP_TESTSUITE
+	depends on BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_EXTERNAL_UCLIBC || BR2_TOOLCHAIN_CTNG_uClibc
+
 config BR2_PACKAGE_LTP_TESTSUITE
 	bool "ltp-testsuite"
 	depends on BR2_TOOLCHAIN_HAS_THREADS