2023年2月23日 星期四

Yocto建立code patch

  1. devtool modify package
  2. change to package folder
  3. do requested code modify
  4. git add .
  5. git commit -m "Modify package"
  6. git log //查找最近的commit
  7. git diff 最近的commit > code.patch
  8. copy code.patch to package/files
  9. modify bb file
    SRC_URI += " \
              file://code.patch \
    "

沒有留言:

張貼留言