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:
9
Makefile
9
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user