xref: /DragonOS/kernel/Makefile (revision adc1846b06fb862caed049f435fc0061488a6ff9)
1
2all:
3	@if [ -z $$DragonOS_GCC ]; then echo "\033[31m  [错误]尚未安装DragonOS交叉编译器, 请使用tools文件夹下的build_gcc_toolchain.sh脚本安装  \033[0m"; exit 1; fi
4	$(MAKE) -C src all
5
6
7clean:
8	rm -f Cargo.lock
9	$(MAKE) -C src clean