Fix missing regex end when calling sed; add target_platforms target

This commit is contained in:
Gunnar Wolf 2021-01-26 00:55:23 -06:00
parent 89ef824285
commit 42f88e3d30
1 changed files with 4 additions and 1 deletions

View File

@ -12,9 +12,12 @@ xzimages: $(addsuffix .img.xz,$(platforms))
images: $(addsuffix .img,$(platforms))
yaml: $(addsuffix .yaml,$(platforms))
target_platforms:
@echo $(platforms)
raspi_base_buster.yaml: raspi_master.yaml
cat raspi_master.yaml | \
sed "s/__FIRMWARE_PKG__/raspi3-firmware" | \
sed "s/__FIRMWARE_PKG__/raspi3-firmware/" | \
sed "s/__RELEASE__/buster/" > $@
raspi_1_buster.yaml: raspi_base_buster.yaml