summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Brulebois <cyril@debamax.com>2021-08-28 06:00:09 +0200
committerCyril Brulebois <cyril@debamax.com>2021-08-28 06:00:29 +0200
commit422a0d6054adec990ce5ca124dd1fe13af424057 (patch)
treef23bfe1e013c62a856be1e4b995882e23368c4de
parent4816680ba6499d87ade9c356198acdc2df3849d1 (diff)
Fix shasums target.
Without this, a plain `make` would result in: make: *** No rule to make target 'raspi_1_buster.img.sha256', needed by 'shasums'. Stop.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2ef1685..77a60e4 100644
--- a/Makefile
+++ b/Makefile
@@ -120,9 +120,9 @@ raspi_4_bullseye.yaml: raspi_base_bullseye.yaml
sed "s/__HOST__/rpi_4/" |\
grep -v '__EXTRA_SHELL_CMDS__' > $@
-%.sha256: %.img
+%.img.sha256: %.img
echo $@
- sha256sum $(@:sha256=img) > $@
+ sha256sum $(@:img.sha256=img) > $@
%.img.xz.sha256: %.img.xz
echo $@