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.
gentoo
Dustin 2023-02-14 21:08:27 -06:00
parent 3980daefd3
commit c91bff6f6d
1 changed files with 7 additions and 2 deletions

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