From b7d1c754e26671efe9ccd7f186e6ca30277ad353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20=C3=85gren?= Date: Fri, 6 Sep 2024 09:52:38 +0200 Subject: [PATCH] Fix flash target in contrib/Makefile Setting the working directory to a directory that exist. Previously the working directory was set to /build/hw/application_fpga. But that path does not exist since hw/application_fpga was mounted to /build. Thus resulting in an error: 'Error: workdir "/build/hw/application_fpga" does not exist on container' --- contrib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/Makefile b/contrib/Makefile index 85de386d..09fc1493 100644 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -58,7 +58,7 @@ flash: podman run --rm \ --device /dev/bus/usb/$(lsusb | grep -m 1 1209:8886 | awk '{ printf "%s/%s", $2, substr($4,1,3) }') \ --mount type=bind,source="`pwd`/../hw/application_fpga",target=/build \ - -w /build/hw/application_fpga \ + -w /build \ -it $(IMAGE) tillitis-iceprog /build/application_fpga.bin