mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-08 18: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>
20 lines
320 B
Makefile
20 lines
320 B
Makefile
|
|
CFLAGS += -I .
|
|
|
|
kernel_lib_subdirs:= sys
|
|
|
|
kernel_lib_objs:= $(shell find ./*.c)
|
|
|
|
ECHO:
|
|
@echo "$@"
|
|
|
|
$(kernel_lib_subdirs): ECHO
|
|
$(MAKE) -C $@ all CFLAGS="$(CFLAGS)" ASFLAGS="$(ASFLAGS)"
|
|
|
|
$(kernel_lib_objs): ECHO
|
|
$(CC) $(CFLAGS) -c $@ -o $@.o
|
|
|
|
all: $(kernel_lib_objs) $(kernel_lib_subdirs)
|
|
@echo $(kernel_lib_objs)
|
|
|