我是靠谱客的博主 犹豫服饰,这篇文章主要介绍kconfig_对自己的项目使用kconfig,现在分享给大家,希望可以做个参考。

kconfig

介绍 (Intro)

Every Linux professional write scripts. Someеimes light, linear. Sometimes complex script with functions and libs(yes, you can write your bash-library for use in other scripts).

每个Linux专业人士都编写脚本。 淡淡的,线性的。 有时带有功能和库的复杂脚本(是的,您可以编写bash库以供其他脚本使用)。

But some of the scripts need a configuration file to work. For instance, I wrote a script that builds the ubuntu image for pxe, and I need to change the build process without build-script changes. The best way to resolve this task is to add configuration files.

但是某些脚本需要配置文件才能起作用。 例如,我编写了一个脚本来为pxe构建ubuntu图像,我需要更改构建过程而无需更改构建脚本。 解决此任务的最佳方法是添加配置文件。

Writing this config by hands is not a great idea:

手动编写此配置不是一个好主意:

  • every user should know all available options

最后

以上就是犹豫服饰最近收集整理的关于kconfig_对自己的项目使用kconfig的全部内容,更多相关kconfig_对自己内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(103)

评论列表共有 0 条评论

立即
投稿
返回
顶部