如何在Buildroot中将修补程序应用到程序包? [英] How to apply patches to a package in Buildroot?

查看:194
本文介绍了如何在Buildroot中将修补程序应用到程序包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用一个使用buildroot作为构建内核和根文件系统的工具的嵌入式系统。我想在这个内核源代码树中应用一些补丁,有人可以告诉我buildroot应用补丁吗?

I am working on an embedded system that uses buildroot as a tool for building the kernel and the root filesystem. I want to apply some patches to this kernel source tree, Can somebody tell me how buildroot apply patches?

推荐答案

架构我知道buildroot使用被套工具来应用补丁。被子跟踪patches目录中存在的名为series的文件中的所有修补程序。您必须将补丁保存在此目录中。并按照您希望修补程序的顺序添加您的补丁程序,保持补丁首先应用于顶部。

After studying the buildroot architecture, I came to know that buildroot uses quilt tool for applying the patches. quilt keeps track of all the patches in the a file named "series" which is present in the "patches" directory. You have to keep your patches in this directory. And add your entry of patches in the series file in the order in which you want the patches to be applied keeping the patch to be applied first at the top.

这样当您运行buildroot makefile时,它会自动应用系列文件中列出的补丁。

This way when you will run the buildroot makefile, it will automatically apply the patches listed in the series file.

这篇关于如何在Buildroot中将修补程序应用到程序包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆