All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] How to force AUTORECONF for everything
@ 2017-02-16 17:11 Sidney Manning
  2017-02-16 17:45 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Sidney Manning @ 2017-02-16 17:11 UTC (permalink / raw)
  To: buildroot

I've made a change to libtool which requires that I set PACKAGE_AUTORECONF =
YES to many of the library packages.  Rather than changing each package, I'd
like to force this globally.  Is there a way to do that?

Thanks

Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
The Linux Foundation

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] How to force AUTORECONF for everything
  2017-02-16 17:11 [Buildroot] How to force AUTORECONF for everything Sidney Manning
@ 2017-02-16 17:45 ` Yann E. MORIN
  2017-02-16 21:20   ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2017-02-16 17:45 UTC (permalink / raw)
  To: buildroot

Sydney, All,

On 2017-02-16 11:11 -0600, Sidney Manning spake thusly:
> I've made a change to libtool which requires that I set PACKAGE_AUTORECONF =
> YES to many of the library packages.  Rather than changing each package, I'd
> like to force this globally.  Is there a way to do that?

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...

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] How to force AUTORECONF for everything
  2017-02-16 17:45 ` Yann E. MORIN
@ 2017-02-16 21:20   ` Thomas Petazzoni
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2017-02-16 21:20 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-16 21:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-16 17:11 [Buildroot] How to force AUTORECONF for everything Sidney Manning
2017-02-16 17:45 ` Yann E. MORIN
2017-02-16 21:20   ` Thomas Petazzoni

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.