mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 08:06:32 +00:00
bugfix: 编译错误时仍可启动虚拟机的问题
This commit is contained in:
@ -42,6 +42,9 @@ all: kernel
|
||||
cd $$x;\
|
||||
$(MAKE) generate_kallsyms kernel_root_path="$(shell pwd)";\
|
||||
cd ..;\
|
||||
if [ "$$?" != "0" ]; then\
|
||||
exit $$?;\
|
||||
fi;\
|
||||
done
|
||||
|
||||
# 重新链接
|
||||
@ -59,7 +62,6 @@ $(kernel_subdirs): ECHO
|
||||
|
||||
$(MAKE) -C $@ all CFLAGS="$(CFLAGS)" ASFLAGS="$(ASFLAGS)" PIC="$(PIC)" kernel_root_path="$(shell pwd)"
|
||||
|
||||
|
||||
kernel: head.o main.o $(kernel_subdirs)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user