mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 16:26:31 +00:00
使用DragonReach启动shell,修改getdents (#391)
* 使用DragonReach启动shell,修改getdents * 更改关闭pipe时断言报错问题,以及DragonReach启动shell阶段版本 * 修改目录结构 * update * 解决小问题 * 调整dragon reach版本号 * 设置make clean的时候不清空应用程序的缓存。 指定relibc版本号 --------- Co-authored-by: longjin <longjin@RinGoTek.cn>
This commit is contained in:
29
user/dadk/config/dragon_reach-0.1.0.dadk
Normal file
29
user/dadk/config/dragon_reach-0.1.0.dadk
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "DragonReach",
|
||||
"version": "0.1.0",
|
||||
"description": "init程序",
|
||||
"task_type": {
|
||||
"BuildFromSource": {
|
||||
"Git": {
|
||||
"url" : "https://git.mirrors.dragonos.org/DragonOS-Community/DragonReach.git",
|
||||
"revision": "4aac1004fa"
|
||||
}
|
||||
}
|
||||
},
|
||||
"depends": [],
|
||||
"build": {
|
||||
"build_command": "make install"
|
||||
},
|
||||
"clean": {
|
||||
"clean_command": "make clean"
|
||||
},
|
||||
"install": {
|
||||
"in_dragonos_path": "/"
|
||||
},
|
||||
"envs": [
|
||||
{
|
||||
"key": "TARGET",
|
||||
"value": "${ROOT_PATH}/user/dadk/target/x86_64-unknown-dragonos.json"
|
||||
}
|
||||
]
|
||||
}
|
@ -6,8 +6,7 @@
|
||||
"BuildFromSource": {
|
||||
"Git": {
|
||||
"url": "https://git.mirrors.dragonos.org/DragonOS-Community/relibc.git",
|
||||
"branch": "dragonos-relibc",
|
||||
"revision": null
|
||||
"revision": "26536e7fcd"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
35
user/dadk/target/x86_64-unknown-dragonos.json
Normal file
35
user/dadk/target/x86_64-unknown-dragonos.json
Normal file
@ -0,0 +1,35 @@
|
||||
{
|
||||
"arch": "x86_64",
|
||||
"code-model": "kernel",
|
||||
"cpu": "x86-64",
|
||||
"os": "dragonos",
|
||||
"target-endian": "little",
|
||||
"target-pointer-width": "64",
|
||||
"target-family": [
|
||||
"unix"
|
||||
],
|
||||
"env": "musl",
|
||||
"target-c-int-width": "32",
|
||||
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
|
||||
"disable-redzone": true,
|
||||
"features": "-3dnow,-3dnowa,-avx,-avx2",
|
||||
"linker": "rust-lld",
|
||||
"linker-flavor": "ld.lld",
|
||||
"llvm-target": "x86_64-unknown-none",
|
||||
"max-atomic-width": 64,
|
||||
"panic-strategy": "abort",
|
||||
"position-independent-executables": true,
|
||||
"relro-level": "full",
|
||||
"stack-probes": {
|
||||
"kind": "inline-or-call",
|
||||
"min-llvm-version-for-inline": [
|
||||
16,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
"static-position-independent-executables": true,
|
||||
"supported-sanitizers": [
|
||||
"kcfi"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user