mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 16:26:31 +00:00
添加dadk支持 (#263)
* 引入dadk,使用dadk0.1.1来编译test-relibc程序 * 由于gitee仓库体积限制导致无法继续使用gitee上的rust索引,因此更换为清华源 * github workflow的环境中,安装dadk * Auto configure dragonos rust toolchain
This commit is contained in:
30
user/dadk/config/relibc-0.1.0.dadk
Normal file
30
user/dadk/config/relibc-0.1.0.dadk
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"name": "relibc",
|
||||
"version": "0.1.0",
|
||||
"description": "从GitHub克隆最新的relibc来编译",
|
||||
"task_type": {
|
||||
"BuildFromSource": {
|
||||
"Git": {
|
||||
"url": "https://github.com/DragonOS-Community/relibc.git",
|
||||
"branch": "dragonos-relibc",
|
||||
"revision": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"depends": [],
|
||||
"build": {
|
||||
"build_command": "bash init_dragonos_toolchain.sh && DESTDIR=$DADK_BUILD_CACHE_DIR_RELIBC_0_1_0 make install -j $(nproc)"
|
||||
},
|
||||
"install": {
|
||||
"in_dragonos_path": "/usr"
|
||||
},
|
||||
"clean": {
|
||||
"clean_command": "make clean"
|
||||
},
|
||||
"envs": [
|
||||
{
|
||||
"key": "TARGET",
|
||||
"value": "x86_64-unknown-dragonos"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user