Replies: 1 comment
-
按你刚说的方式,写个脚本自动转成所有 options 定义不就好了 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
描述讨论详情
目前在为一款IC做SDK,旧SDK存在非常多的多级Kconfig。
改写为option将带来巨大的工作量,有什么办法能直接使用原有的Kconfig?
目前在使用
Kconfiglib
做独立配置,但是某些特性,比如Enable某个config后进行条件编译,无法很好的适配。
设想中的一个解决办法是编写一个插件解析kconfig生成的.config文件,导出
set_kconfig
,kconfig.*
命令,在target中使用类似于以下xmake.lua进行编译
如果要实现以上功能的插件,除了
API手册
,插件开发
外,还可以参考哪些文档或例子?Beta Was this translation helpful? Give feedback.
All reactions