On Fri, 2016-06-10 at 20:32 +0100, Burton, Ross wrote:

On 10 June 2016 at 19:12, Michael Hu <pxmyhdev@gmail.com> wrote:
What could be the difference?


bitbake uses quilt to apply patches, not git am, so if the patch isn't exactly right then they'll behave differently.  Stripping the trailing CRs would be a start.

It's worth pointing out that you can tell the system to use a different tool to apply your patch by setting the PATCHTOOL variable in your recipe:

http://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#var-PATCHTOOL

i.e.

PATCHTOOL = "git"

Regards,

Joshua