[Buildroot] How to force AUTORECONF for everything

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Feb 16 21:20:26 UTC 2017


Hello,

On Thu, 16 Feb 2017 18:45:38 +0100, Yann E. MORIN wrote:

> No, there is no global setting that forces that behaviour.
> 
> You'll have to hack the autotools infra. See in package/pkg-autotools.mk at 143:
> 
>   139 ifndef $(2)_AUTORECONF
>   140  ifdef $(3)_AUTORECONF
>   141   $(2)_AUTORECONF = $$($(3)_AUTORECONF)
>   142  else
>   143   $(2)_AUTORECONF ?= NO
>   144  endif
>   145 endif
> 
> You may want to change that "NO" to a "YES"
> 
> But beware, here be dragins...

In theory, there should be no dragons.

In practice, lots and lots of package to not autoreconf properly, so
you're going to face a *lot* of build failures by forcing autoreconf on
all packages.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list