build: Trigger rebuild on overlay changes
If any file in the `overlay` directory changes, the `build-rootfs.sh` script needs to be re-run in order to copy the changes into the destination root and regenerate the SquashFS image.
This commit is contained in:
1
Makefile
1
Makefile
@@ -38,6 +38,7 @@ $(O)/.ready: \
|
|||||||
installonly.packages \
|
installonly.packages \
|
||||||
busybox.symlinks \
|
busybox.symlinks \
|
||||||
$(O)/linux/arch/arm64/boot/Image.gz \
|
$(O)/linux/arch/arm64/boot/Image.gz \
|
||||||
|
$(shell find overlay -type f) \
|
||||||
$(O)/.host-tools \
|
$(O)/.host-tools \
|
||||||
$(O)/.built
|
$(O)/.built
|
||||||
./build-rootfs.sh
|
./build-rootfs.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user