Makefile: Allow rebuilding just the squashfs image

This way we can rebuild the image even if nothing changed in the root
filesystem, but the excluded path list did.
This commit is contained in:
2023-02-14 21:08:27 -06:00
parent 3980daefd3
commit c91bff6f6d

View File

@@ -21,15 +21,20 @@ prepare: .prepared
host-tools: .host-tools
images/rootfs.squashfs: \
.built: \
build.sh \
build-rootfs.sh \
build-squashfs.sh \
linux/arch/arm64/boot/Image.gz \
.host-tools \
.prepared
./build.sh
./build-rootfs.sh
touch .built
images/rootfs.squashfs: \
build-squashfs.sh \
squashfs.exclude \
.built
./build-squashfs.sh
squashfs: images/rootfs.squashfs