[Buildroot] [PATCH] alsa-utils: bat needs fftw single precision

Baruch Siach baruch at tkos.co.il
Fri Jun 29 05:57:59 UTC 2018


Otherwise the configure check for fftw fails, and alsabat does not link
with libfftw. We can not select a config choice, so depend on single
precision instead.

Cc: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
 package/alsa-utils/Config.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/alsa-utils/Config.in b/package/alsa-utils/Config.in
index 1a48fc0315ef..9f4f1d2d3726 100644
--- a/package/alsa-utils/Config.in
+++ b/package/alsa-utils/Config.in
@@ -76,7 +76,10 @@ config BR2_PACKAGE_ALSA_UTILS_ASEQNET
 
 config BR2_PACKAGE_ALSA_UTILS_BAT
 	bool "bat"
-	select BR2_PACKAGE_FFTW
+	depends on BR2_PACKAGE_FFTW_PRECISION_SINGLE
+
+comment "bat needs fftw in single precision"
+	depends on !BR2_PACKAGE_FFTW_PRECISION_SINGLE
 
 config BR2_PACKAGE_ALSA_UTILS_IECSET
 	bool "iecset"
-- 
2.18.0



More information about the buildroot mailing list