|
@@ -1,5 +1,7 @@
|
|
config BR2_PACKAGE_FFTW
|
|
config BR2_PACKAGE_FFTW
|
|
bool "fftw"
|
|
bool "fftw"
|
|
|
|
+ select BR2_PACKAGE_FFTW_DOUBLE if !BR2_PACKAGE_FFTW_SINGLE \
|
|
|
|
+ && !BR2_PACKAGE_FFTW_LONG_DOUBLE && !BR2_PACKAGE_FFTW_QUAD
|
|
help
|
|
help
|
|
Library for computing Fast Fourier Transforms.
|
|
Library for computing Fast Fourier Transforms.
|
|
|
|
|
|
@@ -12,47 +14,6 @@ config BR2_PACKAGE_FFTW
|
|
|
|
|
|
if BR2_PACKAGE_FFTW
|
|
if BR2_PACKAGE_FFTW
|
|
|
|
|
|
-choice
|
|
|
|
- prompt "fftw precision"
|
|
|
|
- default BR2_PACKAGE_FFTW_PRECISION_DOUBLE
|
|
|
|
- help
|
|
|
|
- Selects fftw precision
|
|
|
|
-
|
|
|
|
-config BR2_PACKAGE_FFTW_PRECISION_SINGLE
|
|
|
|
- bool "single"
|
|
|
|
- select BR2_PACKAGE_FFTW_SINGLE
|
|
|
|
- help
|
|
|
|
- Compile fftw in single precision, i.e. use 'float' for
|
|
|
|
- floating point type.
|
|
|
|
-
|
|
|
|
-config BR2_PACKAGE_FFTW_PRECISION_DOUBLE
|
|
|
|
- bool "double"
|
|
|
|
- select BR2_PACKAGE_FFTW_DOUBLE
|
|
|
|
- help
|
|
|
|
- Compile fftw in double precision (the default), i.e. use
|
|
|
|
- 'double' for floating point type.
|
|
|
|
-
|
|
|
|
-config BR2_PACKAGE_FFTW_PRECISION_LONG_DOUBLE
|
|
|
|
- bool "long double"
|
|
|
|
- # long-double precision require long-double trigonometric routines
|
|
|
|
- depends on !(BR2_TOOLCHAIN_BUILDROOT_UCLIBC && \
|
|
|
|
- (BR2_arm || BR2_mips || BR2_mipsel))
|
|
|
|
- select BR2_PACKAGE_FFTW_LONG_DOUBLE
|
|
|
|
- help
|
|
|
|
- Compile fftw in long double precision, i.e. use 'long double'
|
|
|
|
- for floating point type.
|
|
|
|
-
|
|
|
|
-config BR2_PACKAGE_FFTW_PRECISION_QUAD
|
|
|
|
- bool "quad"
|
|
|
|
- # quad-precision needs to have a gcc with libquadmath
|
|
|
|
- depends on (BR2_i386 || BR2_x86_64) && BR2_USE_WCHAR
|
|
|
|
- select BR2_PACKAGE_FFTW_QUAD
|
|
|
|
- help
|
|
|
|
- Compile fftw in quadruple precision, i.e. use '__float128' for
|
|
|
|
- floating point type.
|
|
|
|
-
|
|
|
|
-endchoice
|
|
|
|
-
|
|
|
|
source "package/fftw/fftw-single/Config.in"
|
|
source "package/fftw/fftw-single/Config.in"
|
|
source "package/fftw/fftw-double/Config.in"
|
|
source "package/fftw/fftw-double/Config.in"
|
|
source "package/fftw/fftw-long-double/Config.in"
|
|
source "package/fftw/fftw-long-double/Config.in"
|