[OE-core] patches can be either ".patch" or ".diff" files, yes?
Robert P. J. Day
rpjday at crashcourse.ca
Fri Jul 18 21:26:59 UTC 2014
On Fri, 18 Jul 2014, Burton, Ross wrote:
> On 18 July 2014 19:58, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> > not sure where i saw this recently (i'll track it down), but some OE
> > or yocto doc claimed that patch files *must* be suffixed with
> > ".patch". i'm pretty sure it can be either .patch or .diff, correct?
> > as in, it's perfectly valid to do this in a .bbappend file:
> >
> > SRC_URI += "file://0001-first-change.patch"
> > SRC_URI += "file://0002-first-change.patch"
> > SRC_URI += "file://0003-first-change.diff"
> >
> > as long as the filenames match, of course. yes?
>
> For a file to be handled automatically as a patch it must be .diff
> or .patch, and it appears that it can be optionally compressed
> (identifying extensions being .Z .gz .bz2), so foo.patch and
> bar.diff.gz are both automatically applied patches.
quite so, i just noticed that in patch.bbclass, good to know.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the Openembedded-core
mailing list