[Buildroot] [PATCH 2/5] Added the ability to patch ltmain.sh based on version

Martin Banky Martin.Banky at gmail.com
Thu Sep 16 17:56:59 UTC 2010


I did it this way to save time. Autoreconf takes a fair amount of time to
run for each package that would need it. I agree that it would be a good way
to handle the issue. if it didn't take so much time.

On Thu, Sep 16, 2010 at 2:05 AM, Lionel Landwerlin <llandwerlin at gmail.com>wrote:

> I understand this is an easy fix to handle the libtool linkage problem.
> But instead of providing a different patch for each libtool version,
> wouldn't
> it be better to directly patch the libtool package, and then activate
> autoreconfiguration on packages which need a libtool script able to
> cross compile ?
>
> On Thu, Sep 16, 2010 at 1:19 AM, Martin Banky <martin.banky at gmail.com>
> wrote:
> > There are two versions of ltmain.sh in use in the buildroot system, 1.5.x
> and
> > 2.2.x. buildroot-libtool.patch would only patch 1.5.x, which meant that
> for
> > 2.2.x, a separate patch for the affected package had to be maintained.
> Modified
> > Makefile.autotools.in to check the version of ltmain.sh and apply the
> correct
> > patch.
> > ---
> >  package/Makefile.autotools.in                      |   27 ++++++--
> >  package/buildroot-libtool-v1.5.patch               |   69
> ++++++++++++++++++++
> >  package/buildroot-libtool-v2.2.patch               |   53
> +++++++++++++++
> >  package/buildroot-libtool.patch                    |   69
> --------------------
> >  .../libdeamon-0.14-buildroot-libtool.patch         |   53
> ---------------
> >  .../libogg/libogg-1.2.0-buildroot-libtool.patch    |   53
> ---------------
> >  .../libvorbis-1.3.1-buildroot-libtool.patch        |   53
> ---------------
> >  7 files changed, 143 insertions(+), 234 deletions(-)
> >  create mode 100644 package/buildroot-libtool-v1.5.patch
> >  create mode 100644 package/buildroot-libtool-v2.2.patch
> >  delete mode 100644 package/buildroot-libtool.patch
> >  delete mode 100644
> package/libdaemon/libdeamon-0.14-buildroot-libtool.patch
> >  delete mode 100644
> package/multimedia/libogg/libogg-1.2.0-buildroot-libtool.patch
> >  delete mode 100644
> package/multimedia/libvorbis/libvorbis-1.3.1-buildroot-libtool.patch
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100916/3b6239da/attachment-0002.html>


More information about the buildroot mailing list