Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dadk-user: 实现用户程序编译配置解耦 #62

Open
fslongjin opened this issue Oct 20, 2024 · 0 comments
Open

dadk-user: 实现用户程序编译配置解耦 #62

fslongjin opened this issue Oct 20, 2024 · 0 comments

Comments

@fslongjin
Copy link
Member

把任务跟配置文件的数据结构与DADK Task进行解耦。解耦后,配置文件应当支持以下需求:

  • 把配置文件改为toml
  • 应用程序清单:提供应用程序清单的模版,dadk根据清单,去编译对应的应用程序。(允许通过不同的清单,生成不同的应用程序,比如测试环境的话就要编译测试程序进去。)并且,一个清单内,可以指定另一个清单(比如A->B,则会安装B清单里面的所有程序)
  • 目录依赖:允许每个配置文件单独放置在一个目录下,目录里面可以配合加一些脚本(prebuild、build和postbuild三个阶段),这样方便做一些处理(比如下完源码包之后,配置一下config,就不用去改源码包了)。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant