在我的项目中添加对menuconfig/Kconfig的支持 [英] Adding support for menuconfig / Kconfig in my project

查看:103
本文介绍了在我的项目中添加对menuconfig/Kconfig的支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我计划在我的项目中添加对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 skeleton: https://github.com/masahir0y/kbuild_skeleton
  • Kbuild template: https://github.com/embedded-it/kbuild-template

这篇关于在我的项目中添加对menuconfig/Kconfig的支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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