chore: 适配dadk 0.1.11 (#777)

* chore: 适配dadk 0.1.11
This commit is contained in:
LoGin
2024-04-28 13:39:51 +08:00
committed by GitHub
parent dd8e74ef0d
commit 182b778a3c
41 changed files with 138 additions and 50 deletions

View File

@ -276,7 +276,7 @@ make clean
# 下载DragonStub
git submodule update --init --recursive --force
make kernel -j $(nproc) && make write_diskimage && make qemu
make run
```
请注意由于是在控制台运行qemu当你想要退出的时候输入`Ctrl+A`然后按`X`即可。

View File

@ -39,4 +39,3 @@ cargo generate --git https://git.mirrors.dragonos.org/DragonOS-Community/Rust-Ap
如果您需要移植别的库/程序到DragonOS请参考模板内的配置。
由于DragonOS目前不支持动态链接因此目前需要在RUSTFLAGS里面指定`-C target-feature=+crt-static -C link-arg=-no-pie`
并且需要使用上文提到的工具链`nightly-2023-08-15-x86_64-unknown-linux_dragonos-gnu`