How to create patch file

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to create patch file

跳至解决方案
4,970 次查看
hankwang
Contributor V

HI,

      I have finished modify code in the folder(/tmp/work-shared/imx6ulevk/kerner-source). Add device tree and         

      configuration. Now i want to create path file put in my folder (source/meta-XXXX/recipes-kernel). How could i to do?

      thanks.

标签 (1)
0 项奖励
回复
1 解答
4,908 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Hank Wang,

There are a couple of ways to do this. You could create an append recipe (.bbappend) to your recipes to add the changes. You can find more regarding this on the Yocto Project Reference Manual:

https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#ref-classes-patch

If you already have a patch file you can use the do_patch function of bitbake. There is also information on the Yocto Projecr Manual.

I hope this helps!

Regards,

在原帖中查看解决方案

0 项奖励
回复
1 回复
4,909 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Hank Wang,

There are a couple of ways to do this. You could create an append recipe (.bbappend) to your recipes to add the changes. You can find more regarding this on the Yocto Project Reference Manual:

https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#ref-classes-patch

If you already have a patch file you can use the do_patch function of bitbake. There is also information on the Yocto Projecr Manual.

I hope this helps!

Regards,

0 项奖励
回复