From: Juergen Beisert <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Philippe Corbes <philippe.corbes@gmail.com>
Subject: Re: [ptxdist] How to apply a patch from internet?
Date: Fri, 13 Jul 2012 07:33:45 +0200 [thread overview]
Message-ID: <201207130733.45561.jbe@pengutronix.de> (raw)
In-Reply-To: <CAGHsZCMXAfosNwbevfyS-G7CsYwYZ6i82cOxkPpV2c=6se40QA@mail.gmail.com>
Hi Philippe,
Philippe Corbes wrote:
> I would like to know if it's possible to conditionally download and apply a
> patch from internet to original sources downloaded from internet..
> If not can you give me a sample code to conditionally apply a patch (I add
> a boolean in the .in file and I check this boolean before patch apply) ?
> Usually we apply automatically all patch files.
You should do it the other way round: apply always the patch, but forward some
kind of configure switch or make variable to its build system, to make the
patched part compile or not.
Regards,
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2012-07-13 5:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-12 20:09 Philippe Corbes
2012-07-13 5:33 ` Juergen Beisert [this message]
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=201207130733.45561.jbe@pengutronix.de \
--to=jbe@pengutronix.de \
--cc=philippe.corbes@gmail.com \
--cc=ptxdist@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox