All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 1/2] fftw: Refactor EXTRA_OECONF
Date: Sun, 20 Apr 2014 11:29:55 +0200	[thread overview]
Message-ID: <20140420092955.GH2486@jama> (raw)
In-Reply-To: <1397475471-23068-1-git-send-email-paul@paulbarker.me.uk>

[-- Attachment #1: Type: text/plain, Size: 3195 bytes --]

On Mon, Apr 14, 2014 at 12:37:50PM +0100, Paul Barker wrote:
> 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.

Both merged, thanks!

> 
> Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
> ---
>  meta-oe/recipes-support/fftw/fftw.inc       | 2 ++
>  meta-oe/recipes-support/fftw/fftw_3.3.3.bb  | 3 ---
>  meta-oe/recipes-support/fftw/fftwf_3.3.3.bb | 4 +---
>  meta-oe/recipes-support/fftw/fftwl_3.3.3.bb | 3 +--
>  4 files changed, 4 insertions(+), 8 deletions(-)
> 
> diff --git a/meta-oe/recipes-support/fftw/fftw.inc b/meta-oe/recipes-support/fftw/fftw.inc
> index 074a53b..6bd622d 100644
> --- a/meta-oe/recipes-support/fftw/fftw.inc
> +++ b/meta-oe/recipes-support/fftw/fftw.inc
> @@ -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 
>  }
> diff --git a/meta-oe/recipes-support/fftw/fftw_3.3.3.bb b/meta-oe/recipes-support/fftw/fftw_3.3.3.bb
> index 03a1274..b889c91 100644
> --- a/meta-oe/recipes-support/fftw/fftw_3.3.3.bb
> +++ b/meta-oe/recipes-support/fftw/fftw_3.3.3.bb
> @@ -1,7 +1,4 @@
>  require fftw.inc
>  
> -EXTRA_OECONF = "--disable-fortran --enable-shared --enable-threads"
> -
>  SRC_URI[md5sum] = "0a05ca9c7b3bfddc8278e7c40791a1c2"
>  SRC_URI[sha256sum] = "85cdfc0a0ba10d8fa4f0f8e733aac1a5936c859832a9e3d5c0731fb5c54a97f3"
> -
> diff --git a/meta-oe/recipes-support/fftw/fftwf_3.3.3.bb b/meta-oe/recipes-support/fftw/fftwf_3.3.3.bb
> index e2989d6..5e4e8ed 100644
> --- a/meta-oe/recipes-support/fftw/fftwf_3.3.3.bb
> +++ b/meta-oe/recipes-support/fftw/fftwf_3.3.3.bb
> @@ -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"
> -
> diff --git a/meta-oe/recipes-support/fftw/fftwl_3.3.3.bb b/meta-oe/recipes-support/fftw/fftwl_3.3.3.bb
> index b28784e..9c67354 100644
> --- a/meta-oe/recipes-support/fftw/fftwl_3.3.3.bb
> +++ b/meta-oe/recipes-support/fftw/fftwl_3.3.3.bb
> @@ -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"
> -
> -- 
> 1.9.2
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

      parent reply	other threads:[~2014-04-20  9:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-14 11:37 [PATCH 1/2] fftw: Refactor EXTRA_OECONF Paul Barker
2014-04-14 11:37 ` [PATCH 2/2] fftw: Upgrade to v3.3.4 Paul Barker
2014-04-20  9:29 ` Martin Jansa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140420092955.GH2486@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.