[OE-core] Adding kernel patches using "git am"?
clarson at kergoth.com
Wed Nov 30 16:11:48 CET 2011
On Wed, Nov 30, 2011 at 3:35 AM, Ulf Samuelsson
<openembedded-core at emagii.com> wrote:
> Is there a reason for using "patch" instead of "git am" on let's say the
> If I want to do some modification, of the kernel, I can like Graeme
> description at
> bitbake -c configure virtual/kernel
> and then have an initialized git tree ready to be modified.
> "git am" is of course more sensitive to the patch quality than "patch"
> but that has some advantages as well.
> It also makes the recipe more complex at this stage.
echo PATCHTOOL_pn-linux = "git" >> conf/local.conf # (note, uses
git-apply, not git-am, but it's a step in the direction you want,
anyway, and by inspecting patch.bbclass and lib/oe/patch.py and
looking for that patch tool, you can see how you'd go about adding one
for git-am if you desired it)
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
More information about the Openembedded-core