add Dockerfile for build environment
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f7c6692a82
commit
2aafb59fe4
2 changed files with 21 additions and 1 deletions
13
Makefile
13
Makefile
|
|
@ -1,11 +1,22 @@
|
|||
|
||||
.PHONY: firmware case pcb
|
||||
.PHONY: firmware flash firmware_docker case pcb
|
||||
|
||||
all: firmware case pcb
|
||||
|
||||
firmware:
|
||||
+@make -C firmware all
|
||||
|
||||
clean:
|
||||
+@make -C firmware clean
|
||||
|
||||
firmware_docker:
|
||||
sh -c "docker build -t fiatlux_env docker"
|
||||
sh -c "docker run --volume "$$(pwd)"/firmware:/firmware fiatlux_env make -C firmware all"
|
||||
|
||||
clean_docker:
|
||||
sh -c "docker build -t fiatlux_env docker"
|
||||
sh -c "docker run --volume "$$(pwd)"/firmware:/firmware fiatlux_env make -C firmware clean"
|
||||
|
||||
flash:
|
||||
+@make -C firmware flash
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue