问题描述
我计划在我的项目中添加对menuconfig的支持.该项目与Linux内核无关,因此,我必须从头开始在menuconfig和Makefile中编写所有内容.
I am planning to add support for menuconfig in my project. The project is not associated with Linux kernel so, I have to write everything from scratch in menuconfig and Makefile.
如何添加对menuconfig的支持并创建Kconfig并使makefile读取.config中的定义?
How do I add support for menuconfig and create Kconfig and make the makefile read the defines in .config?
有什么好的入门教程吗?
Any good tutorial to begin with?
推荐答案
如果您对自定义应用程序使用KBuild/KConfig感兴趣,可以尝试以下Github项目.他们旨在为使用KBuild/KConfig的项目提供初始模板,从而支持menuconfig.
If you are interested on using KBuild/KConfig for your custom applications, you may try the following Github projects. They aim to provide an initial template for projects using KBuild/KConfig and, therefore, supporting menuconfig.
- Kbuild框架: https://github.com/masahir0y/kbuild_skeleton
- Kbuild模板: https://github.com/embedded-it/kbuild-template
- Kbuild skeleton: https://github.com/masahir0y/kbuild_skeleton
- Kbuild template: https://github.com/embedded-it/kbuild-template
这篇关于在我的项目中添加对menuconfig/Kconfig的支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!