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.
This commit is contained in:
Cyril Brulebois 2021-08-28 06:00:09 +02:00
parent 4816680ba6
commit 422a0d6054
1 changed files with 2 additions and 2 deletions

View File

@ -120,9 +120,9 @@ raspi_4_bullseye.yaml: raspi_base_bullseye.yaml
sed "s/__HOST__/rpi_4/" |\ sed "s/__HOST__/rpi_4/" |\
grep -v '__EXTRA_SHELL_CMDS__' > $@ grep -v '__EXTRA_SHELL_CMDS__' > $@
%.sha256: %.img %.img.sha256: %.img
echo $@ echo $@
sha256sum $(@:sha256=img) > $@ sha256sum $(@:img.sha256=img) > $@
%.img.xz.sha256: %.img.xz %.img.xz.sha256: %.img.xz
echo $@ echo $@