移除relibc和old libc以及旧的shell (#529)

移除relibc和old libc以及旧的shell
This commit is contained in:
裕依
2024-03-04 14:20:01 +08:00
committed by GitHub
parent f3b05a97ec
commit bc6f0a967c
141 changed files with 334 additions and 8836 deletions

View File

View File

@ -0,0 +1,24 @@
{
"name": "about",
"version": "0.1.0",
"description": "",
"rust_target": null,
"task_type": {
"BuildFromSource": {
"Local": {
"path": "apps/about"
}
}
},
"depends": [],
"build": {
"build_command": "make install"
},
"install": {
"in_dragonos_path": "/bin"
},
"clean": {
"clean_command": "make clean"
},
"envs": []
}

View File

@ -9,9 +9,9 @@
}
}
},
"depends": [ ],
"depends": [],
"build": {
"build_command": "make"
"build_command": "make install -j $(nproc)"
},
"install": {
"in_dragonos_path": "/bin"

View File

@ -9,14 +9,9 @@
}
}
},
"depends": [
{
"name": "relibc",
"version": "0.1.0"
}
],
"depends": [],
"build": {
"build_command": "make"
"build_command": "make install"
},
"install": {
"in_dragonos_path": "/bin"

View File

@ -0,0 +1,24 @@
{
"name": "musl",
"version": "1.2.4",
"description": "musl libc",
"rust_target": null,
"task_type": {
"BuildFromSource": {
"Archive": {
"url": "https://mirrors.dragonos.org.cn/pub/third_party/musl/musl-1.2.4.tar.gz"
}
}
},
"depends": [],
"build": {
"build_command": "touch config.mak && DESTDIR=$DADK_CURRENT_BUILD_DIR make install -j $(nproc)"
},
"install": {
"in_dragonos_path": "/"
},
"clean": {
"clean_command": "make clean"
},
"envs": []
}

View File

@ -1,29 +0,0 @@
{
"name": "relibc",
"version": "0.1.0",
"description": "从GitHub克隆最新的relibc来编译",
"task_type": {
"BuildFromSource": {
"Git": {
"url": "https://git.mirrors.dragonos.org.cn/DragonOS-Community/relibc.git",
"revision": "27e779dc23"
}
}
},
"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"
}
]
}

View File

@ -9,14 +9,9 @@
}
}
},
"depends": [
{
"name": "relibc",
"version": "0.1.0"
}
],
"depends": [],
"build": {
"build_command": "make"
"build_command": "make install"
},
"install": {
"in_dragonos_path": "/bin"

View File

@ -9,25 +9,14 @@
}
}
},
"depends": [
{
"name": "relibc",
"version": "0.1.0"
}
],
"depends": [],
"build": {
"build_command": "make"
"build_command": "make install"
},
"install": {
"in_dragonos_path": "/bin"
},
"clean": {
"clean_command": "make clean"
},
"envs": [
{
"key": "__dragonos__",
"value": "__dragonos__"
}
]
}
}

View File

@ -9,14 +9,9 @@
}
}
},
"depends": [
{
"name": "relibc",
"version": "0.1.0"
}
],
"depends": [],
"build": {
"build_command": "make"
"build_command": "make install"
},
"install": {
"in_dragonos_path": "/bin"

View File

@ -0,0 +1,24 @@
{
"name": "test_kvm",
"version": "0.1.0",
"description": "测试kvm的程序",
"rust_target": null,
"task_type": {
"BuildFromSource": {
"Local": {
"path": "apps/test_kvm"
}
}
},
"depends": [],
"build": {
"build_command": "make install"
},
"install": {
"in_dragonos_path": "/bin"
},
"clean": {
"clean_command": "make clean"
},
"envs": []
}

View File

@ -9,25 +9,14 @@
}
}
},
"depends": [
{
"name": "relibc",
"version": "0.1.0"
}
],
"depends": [],
"build": {
"build_command": "make"
"build_command": "make install"
},
"install": {
"in_dragonos_path": "/bin"
},
"clean": {
"clean_command": "make clean"
},
"envs": [
{
"key": "__dragonos__",
"value": "__dragonos__"
}
]
}
}

View File

@ -1,28 +0,0 @@
{
"name": "test_relibc",
"version": "0.1.0",
"description": "一个用来测试relibc能够正常运行的app",
"task_type": {
"BuildFromSource": {
"Local": {
"path": "apps/test_relibc"
}
}
},
"depends": [
{
"name": "relibc",
"version": "0.1.0"
}
],
"build": {
"build_command": "make"
},
"install": {
"in_dragonos_path": "/bin"
},
"clean": {
"clean_command": "make clean"
},
"envs": []
}

View File

@ -9,14 +9,9 @@
}
}
},
"depends": [
{
"name": "relibc",
"version": "0.1.0"
}
],
"depends": [],
"build": {
"build_command": "make"
"build_command": "make install"
},
"install": {
"in_dragonos_path": "/bin"

View File

@ -9,14 +9,9 @@
}
}
},
"depends": [
{
"name": "relibc",
"version": "0.1.0"
}
],
"depends": [],
"build": {
"build_command": "make download_sqlite3 && make -j $(nproc)"
"build_command": "make download_sqlite3 && make install"
},
"install": {
"in_dragonos_path": "/bin"

View File

@ -9,14 +9,9 @@
}
}
},
"depends": [
{
"name": "relibc",
"version": "0.1.0"
}
],
"depends": [],
"build": {
"build_command": "make"
"build_command": "make install"
},
"install": {
"in_dragonos_path": "/bin"

View File

@ -1,35 +0,0 @@
{
"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"
]
}