改进初始化构建的脚本

This commit is contained in:
pointer-to-bios 2024-04-06 04:17:44 +08:00
parent 22781004d0
commit 8f82c88e30
1 changed files with 3 additions and 10 deletions

View File

@ -19,18 +19,11 @@ metaverse_kernel:
echo -e "\e[1;33mMetaverse\e[0m must build under \e[1;35mLinux\e[0m or itself."; \ echo -e "\e[1;33mMetaverse\e[0m must build under \e[1;35mLinux\e[0m or itself."; \
exit -1; \ exit -1; \
fi fi
@if [ -f "metaverse_kernel" ]; then \ @"${SOURCE}/depcheck";
echo; \
else \
"${SOURCE}/depcheck"; \
if [ $$? != 0 ]; then \
exit $$?; \
fi; \
touch metaverse_kernel; \
fi
@if [ $$? != 0 ]; then \ @if [ $$? != 0 ]; then \
exit -1; \ exit $$?; \
fi fi
@touch metaverse_kernel
disass: disass:
objdump -D src/metaverse.elf > kerndisass.txt objdump -D src/metaverse.elf > kerndisass.txt