mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 16:26:31 +00:00
* 引入cargo * 取消对Cargo.lock的跟踪 * 解决vscode报错问题 * new: rust的代码能够调用c语言的printk_color * 1、将原本run.sh的工作拆解,变为几个不同的make命令 2、在docker镜像中编译rust * 更改workflow * update workflow * new: 解决workflow无法通过编译的问题
17 lines
294 B
Makefile
17 lines
294 B
Makefile
|
|
CFLAGS += -I .
|
|
|
|
ifeq ($(ARCH), __x86_64__)
|
|
kernel_arch_subdirs:=x86_64
|
|
endif
|
|
|
|
all:
|
|
@list='$(kernel_arch_subdirs)'; for subdir in $$list; do \
|
|
echo "make all in $$subdir";\
|
|
cd $$subdir;\
|
|
$(MAKE) all CFLAGS="$(CFLAGS)" PIC="$(PIC)";\
|
|
cd ..;\
|
|
done
|
|
|
|
clean:
|
|
echo "Done."
|