fftw: Refactor EXTRA_OECONF

The configure flags common to all three fftw recipes are moved into fftw.inc and
then each recipe just appends the extra flags it needs. This makes it easier to
read and modify options which affect all three recipes.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Paul Barker authored and Martin Jansa committed 2014-04-20 11:30:15 +02:00
1 parent 76b0893ddb
commit 66d3a7ba3a
4 files changed
+4 -8

No files matched your search

+2
View File
@@ -11,6 +11,8 @@ S = "${WORKDIR}/fftw-${PV}"
inherit autotools pkgconfig
EXTRA_OECONF = "--disable-fortran --enable-shared --enable-threads"
do_configure_prepend() {
echo 'AM_PROG_AS' >> ${S}/configure.ac
}
@@ -1,7 +1,4 @@
require fftw.inc
EXTRA_OECONF = "--disable-fortran --enable-shared --enable-threads"
SRC_URI[md5sum] = "0a05ca9c7b3bfddc8278e7c40791a1c2"
SRC_URI[sha256sum] = "85cdfc0a0ba10d8fa4f0f8e733aac1a5936c859832a9e3d5c0731fb5c54a97f3"
+1 -3
View File
@@ -1,10 +1,8 @@
require fftw.inc
EXTRA_OECONF = "--disable-fortran --enable-single --enable-shared \
--enable-threads \
EXTRA_OECONF += "--enable-single \
${@base_contains('TUNE_FEATURES', 'neon', '--enable-neon', '', d)} \
"
SRC_URI[md5sum] = "0a05ca9c7b3bfddc8278e7c40791a1c2"
SRC_URI[sha256sum] = "85cdfc0a0ba10d8fa4f0f8e733aac1a5936c859832a9e3d5c0731fb5c54a97f3"
+1 -2
View File
@@ -1,7 +1,6 @@
require fftw.inc
EXTRA_OECONF = "--disable-fortran --enable-long-double --enable-shared --enable-threads"
EXTRA_OECONF += "--enable-long-double"
SRC_URI[md5sum] = "0a05ca9c7b3bfddc8278e7c40791a1c2"
SRC_URI[sha256sum] = "85cdfc0a0ba10d8fa4f0f8e733aac1a5936c859832a9e3d5c0731fb5c54a97f3"