Commit d43434eb authored by Guido Gunther's avatar Guido Gunther

Makefile: use a stamp for the image

Otherwise calling make on an aborted image build will compress
it instead o rebuilding it
parent 92afdd9f
......@@ -2,6 +2,7 @@
......@@ -6,10 +6,11 @@ COMPRESSED=$(IMAGE).xz
all: sha256sums
./ -b $(BOARD)
touch $(IMAGE).stamp
%.img.xz: %.img
%.img.xz: %.img %.img.stamp
xz -T0 --stdout $< > $@.tmp
mv $@.tmp $@
sha256sum imx6.img.xz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment