[Buildroot] [PATCH 2/7] package/pmake: add host pmake

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jan 30 14:49:33 UTC 2013


Dear Yann E. MORIN,

On Wed, 30 Jan 2013 15:34:41 +0100, Yann E. MORIN wrote:

> Unfortunately, for pmake, the Debian "patch" does not come as a patch,
> but as a tarball to be extracted in the pmake source dir. So, using:
> 
>     PMAKE_DEB_VER = -3.2-debian
>     PMAKE_PATCH   = pmake_$(PMAKE_VERSION)$(PMAKE_DEB_VER).tar.gz
> 
> will not work, as this is not a patch. :-(

Argh, indeed. Those Debian people are really crazy. For some packages
they have a .orig.tar.gz + a .diff.gz that applies as a patch on top of
it, and for some other packages they have the .orig.tar.gz + a tarball
with the Debian specific files. What a mess...

What about:

 PMAKE_PATCH = \
   http://patch-tracker.debian.org/patch/series/dl/pmake/1.111-3.2/100_mk.diff \
   http://patch-tracker.debian.org/patch/series/dl/pmake/1.111-3.2/110_mkdep.diff \
   http://patch-tracker.debian.org/patch/series/dl/pmake/1.111-3.2/120_fixes.diff \
   http://patch-tracker.debian.org/patch/series/dl/pmake/1.111-3.2/130_maxpathlen.diff \
   http://patch-tracker.debian.org/patch/series/dl/pmake/1.111-3.2/140_multiarch.diff \
   http://patch-tracker.debian.org/patch/series/dl/pmake/1.111-3.2/150_mktemp.diff

Note that this requires the possibility of getting patches from a
different site than the tarball, but Jérôme Pouiller has submitted a
patch that makes this possible, see "[PATCH] Add support for plain URL
in $(PKG)_PATCH variable".

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list