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
parent
3980daefd3
commit
c91bff6f6d
9
Makefile
9
Makefile
|
@ -21,15 +21,20 @@ prepare: .prepared
|
||||||
|
|
||||||
host-tools: .host-tools
|
host-tools: .host-tools
|
||||||
|
|
||||||
images/rootfs.squashfs: \
|
.built: \
|
||||||
build.sh \
|
build.sh \
|
||||||
build-rootfs.sh \
|
build-rootfs.sh \
|
||||||
build-squashfs.sh \
|
|
||||||
linux/arch/arm64/boot/Image.gz \
|
linux/arch/arm64/boot/Image.gz \
|
||||||
.host-tools \
|
.host-tools \
|
||||||
.prepared
|
.prepared
|
||||||
./build.sh
|
./build.sh
|
||||||
./build-rootfs.sh
|
./build-rootfs.sh
|
||||||
|
touch .built
|
||||||
|
|
||||||
|
images/rootfs.squashfs: \
|
||||||
|
build-squashfs.sh \
|
||||||
|
squashfs.exclude \
|
||||||
|
.built
|
||||||
./build-squashfs.sh
|
./build-squashfs.sh
|
||||||
|
|
||||||
squashfs: images/rootfs.squashfs
|
squashfs: images/rootfs.squashfs
|
||||||
|
|
Loading…
Reference in New Issue