How to create patch file

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to create patch file

ソリューションへジャンプ
3,781件の閲覧回数
hankwang
Contributor IV

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 解決策
3,719件の閲覧回数
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 返信
3,720件の閲覧回数
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 件の賞賛