build: add locking around dtc call after running mkits.sh
authorFelix Fietkau <nbd@nbd.name>
Wed, 4 Dec 2024 12:31:24 +0000 (13:31 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 4 Dec 2024 12:33:21 +0000 (13:33 +0100)
commit557a7ca70ddc29177e45f0c120b6ae21fc38abbb
tree1e887791a69e491427a53e961ecd1722a57a939e
parentce663856fbfd4bdfdc5e6dca07acda01f87cb7c3
build: add locking around dtc call after running mkits.sh

mkits.sh creates a root.*.pagesync file with padding, which is global, and
the generated .its files reference it. Since dtc reads this file, it must
not run at the same time as mkits.sh
Fixes generating itb images with broken rootfs.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/image-commands.mk