mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-10-01 01:45:38 -04:00
9f7d137227
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
27 lines
940 B
Makefile
27 lines
940 B
Makefile
all:
|
|
@echo "Build targets: "
|
|
@echo "build Build an image for building tools with Docker"
|
|
@echo "run Run a shell using the above image with Docker"
|
|
@echo "podman-pull Pull in the podman tkey builder"
|
|
@echo "podman-build Build an image with podman"
|
|
@echo "podman-run Run a shell using above image with podman"
|
|
@echo "podman-run-make Run the above image with podman and build the FPGA bitstream"
|
|
|
|
build:
|
|
docker build -t tkey-builder .
|
|
|
|
run:
|
|
docker run --rm --mount type=bind,source="`pwd`/../",target=/build -w /build -it tkey-builder /usr/bin/bash
|
|
|
|
podman-pull:
|
|
podman pull ghcr.io/tillitis/tkey-builder:1
|
|
|
|
podman-build:
|
|
podman build -t tkey-builder .
|
|
|
|
podman-run:
|
|
podman run --rm --mount type=bind,source="`pwd`/../",target=/build -w /build -it tkey-builder /usr/bin/bash
|
|
|
|
podman-run-make:
|
|
podman run --rm --mount type=bind,source="`pwd`/../hw/application_fpga",target=/build -w /build -it tkey-builder make
|