[Buildroot] [PATCH] bluez5_utils: add autoreconf back

Gary Bisson gary.bisson at boundarydevices.com
Mon Dec 5 22:52:55 UTC 2016


Hi all,

On Mon, Dec 5, 2016 at 11:39 PM, Peter Korsgaard <peter at korsgaard.com> wrote:
>>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:
>
> Hi,
>
>  >> So, we've got two options here:
>  >>
>  >> 1. Say that having to change the original .mk file of a package in
>  >> Buildroot is a fact of life if you add custom patches for this
>  >> package.
>
>  >  Actually, for this particular case, it would be sufficient to patch Makefile in
>  > addition to Makefile.in. Which is a fact of life I'd say. We also sometimes have
>  > to do that when autoreconf doesn't work.
>
>  >> 2. Imagine a mechanism that allows the "external" stuff to set
>  >> autoreconf on a per-package basis.
>
>  >  Eek please no.
>
>  >  One thing I can imagine is that the expansion of the package infras is done
>  > later (after inclusion of external.mk). The first pass would just set variables,
>  > not define rules and definitely not use any ifdefs. The rules etc. would then
>  > have to avoid using $(1) $(2) etc, and just rely on $($(PKG)_NAME) and friends.
>
> Lets not complicate things too much. Just patching Makefile as well
> and/or modifying the package is imho good enough.

Sure it's a solution but it's a shame I can't use the Yocto patch
as-is. BTW, is Yocto always performing an autoreconf for autotools
packages?

The external.mk solution sounds interesting.

Thanks for your interest in this case anyway.

Regards,
Gary



More information about the buildroot mailing list