mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-10 16:26:48 +00:00
* 使用rust重写了apic的驱动。 * 修正signal和调度器的部分加锁逻辑,增加回退策略。 * 把pcb的flags字段替换为无锁的 * 使用cargo管理apic的编译 * 删除makefile中指定PIC的变量 --------- Co-authored-by: Gou Ngai <ymd7823@outlook.com> Co-authored-by: 櫻井桃華 <89176634+TihayaKousaka@users.noreply.github.com>
18 lines
433 B
Makefile
18 lines
433 B
Makefile
|
|
all:
|
|
@if [ -z $$DragonOS_GCC ]; then echo "\033[31m [错误]尚未安装DragonOS交叉编译器, 请使用tools文件夹下的build_gcc_toolchain.sh脚本安装 \033[0m"; exit 1; fi
|
|
$(MAKE) -C src all
|
|
|
|
|
|
clean:
|
|
rm -f Cargo.lock
|
|
$(MAKE) -C src clean
|
|
|
|
.PHONY: fmt
|
|
fmt:
|
|
cargo fmt --all $(FMT_CHECK)
|
|
|
|
|
|
check:
|
|
cargo +nightly-2023-01-21 check --workspace --message-format=json --target ./src/arch/x86_64/x86_64-unknown-none.json
|