[OE-core] [PATCH] autotools: Remove special handling for autoconf* and automake*

Richard Purdie richard.purdie at linuxfoundation.org
Mon Sep 24 10:17:55 UTC 2012


On Sat, 2012-09-22 at 17:18 +0100, Phil Blundell wrote:
> For reasons that are now shrouded in obscurity, autotools.bbclass
> has long contained a special heuristic to avoid attempting to run
> autoreconf when building autoconf or automake themselves.  However,
> the wildcard test against PN which is used there is problematic when
> trying to build another package whose name happens to start with
> "autoconf", and in any case it is silly to do this test at runtime
> for every package.  The individual recipes for autoconf and automake
> can just as easily suppress the behaviour that they don't want by
> providing a custom do_configure() method which just runs configure.
> 
> Signed-off-by: Phil Blundell <pb at pbcl.net>
> ---
>  meta/classes/autotools.bbclass                    |  158 ++++++++++-----------
>  meta/recipes-devtools/autoconf/autoconf.inc       |    4 +
>  meta/recipes-devtools/autoconf/autoconf_2.69.bb   |    2 +-
>  meta/recipes-devtools/automake/automake.inc       |    4 +
>  meta/recipes-devtools/automake/automake_1.12.3.bb |    2 +-
>  5 files changed, 85 insertions(+), 85 deletions(-)

Merged to master, thanks.

Richard





More information about the Openembedded-core mailing list