forked from metaverse/kernel-dev
改进初始化构建的脚本
This commit is contained in:
parent
22781004d0
commit
8f82c88e30
13
Makefile
13
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue