Commit a4cdf56d authored by Guido Gunther's avatar Guido Gunther

Move publish script to bin/

So people building the image but not any related software like uboot or
kernel only need to look in bin/ for the tools.
parent fcfead1c
......@@ -4,8 +4,9 @@ BOARD=imx6
IMAGE=$(BOARD).img
TARBALL=$(BOARD).tar.xz
COMPRESSED=$(IMAGE).xz
CHECKSUM=sha256sums
all: sha256sums
all: $(CHECKSUM)
tmp/$(IMAGE).stamp $(IMAGE) $(TARBALL): lava.sh root.sh
./lava.sh -b $(BOARD)
......@@ -15,17 +16,18 @@ tmp/$(IMAGE).stamp $(IMAGE) $(TARBALL): lava.sh root.sh
xz -T0 --stdout $< > $@.tmp
mv $@.tmp $@
sha256sums: $(COMPRESSED) $(TARBALL)
$(CHECKSUM): $(COMPRESSED) $(TARBALL)
sha256sum $^ > $@.tmp
mv $@.tmp $@
clean:
rm -rf files/ tmp/ $(IMAGE) $(COMPRESSED) sha256sums
rm -rf files/ tmp/ $(IMAGE) $(COMPRESSED) $(CHECKSUM)*
check:
bash -n lava.sh root.sh
publish: $(COMPRESSED)
build/publish.sh
publish: $(CHECKSUM)
bin/sign-checksum
bin/publish
.PHONY: all
.PHONY: all publish
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