Makefile 253 Bytes
Newer Older
Guido Gunther's avatar
Guido Gunther committed
1 2 3
# SPDX-License-Identifier: GPL-3.0+

IMAGE=bootmp.img
Guido Gunther's avatar
Guido Gunther committed
4
COMPRESSED=bootmp.img.xz
Guido Gunther's avatar
Guido Gunther committed
5

Guido Gunther's avatar
Guido Gunther committed
6
all: $(COMPRESSED)
Guido Gunther's avatar
Guido Gunther committed
7

Guido Gunther's avatar
Guido Gunther committed
8
$(IMAGE): lava.sh root.sh
Guido Gunther's avatar
Guido Gunther committed
9 10
	./lava.sh

Guido Gunther's avatar
Guido Gunther committed
11 12 13
$(COMPRESSED): $(IMAGE)
	xz -T0 --stdout $< > $@

Guido Gunther's avatar
Guido Gunther committed
14
clean:
Guido Gunther's avatar
Guido Gunther committed
15
	rm -f *.deb bootmp.img*
Guido Gunther's avatar
Guido Gunther committed
16 17 18

check:
	bash -n lava.sh root.sh