All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/7] package/pmake: add host pmake
Date: Wed, 30 Jan 2013 14:24:42 +0100	[thread overview]
Message-ID: <20130130142442.3803d2bc@skate> (raw)
In-Reply-To: <201301301413.13408.yann.morin.1998@free.fr>

Dear Yann E. MORIN,

On Wed, 30 Jan 2013 14:13:13 +0100, Yann E. MORIN wrote:

> And the generic infrastructure does not allow to extract an archive to
> get patches from.
> 
> Alternatively, we could use the post-patches hook to get the patches
> from the archive, and apply them; but then, we'd need to be able to
> download this archive, and AFAIK, the package infrastructure does not
> allow downloading more than one archive for a package, although it
> might be possible to extend PKG_SOURCE to include more than one file
> to download (but then, which should be extracted?).

We have several packages on which we apply the Debian patches. At least
argus and cvs comes to mind.

Basically, what we do is:

ARGUS_PATCH = argus_$(ARGUS_VERSION)-1.diff.gz

This ensures that the Debian patch is applied, which means that the
files debian/patches/<blabla>.patch are created (but not applied). And
then we do:

define ARGUS_DEBIAN_PATCH_APPLY
        if [ -d $(@D)/debian/patches ]; then \
                support/scripts/apply-patches.sh $(@D) $(@D)/debian/patches \*.patch; \
        fi
endef

ARGUS_POST_PATCH_HOOKS += ARGUS_DEBIAN_PATCH_APPLY

To actually apply those patches.

Best regards,

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

  reply	other threads:[~2013-01-30 13:24 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-29 22:33 [Buildroot] [pull request v3] Pull request for branch yem-new-packages Yann E. MORIN
2013-01-29 22:33 ` [Buildroot] [PATCH 1/7] package/usbredir: update to version 0.6 Yann E. MORIN
2013-01-29 22:33 ` [Buildroot] [PATCH 2/7] package/pmake: add host pmake Yann E. MORIN
2013-01-30  7:52   ` Arnout Vandecappelle
2013-01-30 13:13     ` Yann E. MORIN
2013-01-30 13:24       ` Thomas Petazzoni [this message]
2013-01-30 14:34         ` Yann E. MORIN
2013-01-30 14:49           ` Thomas Petazzoni
2013-01-30 18:50             ` Yann E. MORIN
2013-01-30 16:55       ` Arnout Vandecappelle
2013-01-30 22:32         ` Thomas Petazzoni
2013-01-30 22:43           ` Yann E. MORIN
2013-01-30 22:47             ` Arnout Vandecappelle
2013-01-30 23:20               ` Yann E. MORIN
2013-01-30 22:36         ` Yann E. MORIN
2013-01-29 22:33 ` [Buildroot] [PATCH 3/7] package/libbsd: new package Yann E. MORIN
2013-01-29 22:33 ` [Buildroot] [PATCH 4/7] package/libedit2: " Yann E. MORIN
2013-01-29 22:33 ` [Buildroot] [PATCH 5/7] package/ceph: " Yann E. MORIN
2013-01-29 22:33 ` [Buildroot] [PATCH 6/7] package/dtc: " Yann E. MORIN
2013-01-29 22:33 ` [Buildroot] [PATCH 7/7] package/dtc: add option to install programs Yann E. MORIN
2013-02-03 13:40 [Buildroot] [pull request v4] Pull request for branch yem-new-packages Yann E. MORIN
2013-02-03 13:40 ` [Buildroot] [PATCH 2/7] package/pmake: add host pmake Yann E. MORIN
2013-02-04 16:01 [Buildroot] [pull request v5] Pull request for branch yem-new-packages Yann E. MORIN
2013-02-04 16:01 ` [Buildroot] [PATCH 2/7] package/pmake: add host pmake Yann E. MORIN
2013-02-04 18:54   ` Arnout Vandecappelle
2013-02-06 18:51     ` Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130130142442.3803d2bc@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.