aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 69fcb57..624b534 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,17 @@
-all:
+all: debug
+
+build: build-stage1 build-stage2 # build-stage3
+
+debug: build-stage2
+ docker container prune -f
+ mkdir -p framebuf
+ docker run -it --mount type=bind,source=$(abspath framebuf),target=/framebuf xilinx:intalled
+
+build-stage1:
cd stage1; docker build -t xilinx:loadonly .
+
+build-stage2:
cd stage2; docker build -t xilinx:intalled .
+
+build-stage3:
cd stage3; docker build -t cryptech-alpha .