mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-22 01:16:26 +04:00
Update Makefile
This commit is contained in:
parent
3f5308f46c
commit
9196963e44
13
Makefile
13
Makefile
@ -1,19 +1,8 @@
|
||||
DOCKER_NAME ?= dinghao188/rcore-tutorial
|
||||
.PHONY: docker build_docker
|
||||
all:
|
||||
make -C usr user_img
|
||||
make -C os build
|
||||
run:
|
||||
make -C usr user_img
|
||||
make -C os run
|
||||
clean:
|
||||
make -C usr clean
|
||||
make -C os clean
|
||||
env:
|
||||
make -C os env
|
||||
|
||||
docker:
|
||||
docker run --rm -it --mount type=bind,source=$(shell pwd),destination=/mnt ${DOCKER_NAME}
|
||||
|
||||
build_docker:
|
||||
docker build -t ${DOCKER_NAME} .
|
||||
docker build -t ${DOCKER_NAME} .
|
||||
|
Loading…
Reference in New Issue
Block a user