mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
fftw has options to select compile precision between single, long-double and quad. These options are exclusives. This patch adds choice to select precision option. Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> [yann.morin.1998@free.fr: use --disable-XXX when not enabled; reword prompts (default is not 'none' but 'double') ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: guillaume william brs <guillaume.bressaix@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
18 lines
613 B
Makefile
18 lines
613 B
Makefile
################################################################################
|
|
#
|
|
# fftw
|
|
#
|
|
################################################################################
|
|
|
|
FFTW_VERSION = 3.3.4
|
|
FFTW_SITE = http://www.fftw.org
|
|
FFTW_INSTALL_STAGING = YES
|
|
FFTW_LICENSE = GPLv2+
|
|
FFTW_LICENSE_FILES = COPYING
|
|
|
|
FFTW_CONF_OPTS += $(if $(BR2_PACKAGE_FFTW_PRECISION_SINGLE),--enable,--disable)-single
|
|
FFTW_CONF_OPTS += $(if $(BR2_PACKAGE_FFTW_PRECISION_LONG_DOUBLE),--enable,--disable)-long-double
|
|
FFTW_CONF_OPTS += $(if $(BR2_PACKAGE_FFTW_PRECISION_QUAD),--enable,--disable)-quad-precision
|
|
|
|
$(eval $(autotools-package))
|