From c26e9d3df54293a88fba047a29b335f52b01120e Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Fri, 8 Sep 2017 21:32:25 +0000 Subject: rpi-base.inc: Set dependencies for creating wic images We need to ensure that the bootloader and firmware files are present in the deploy directory before creating wic images. Signed-off-by: Paul Barker --- conf/machine/include/rpi-base.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'conf/machine/include/rpi-base.inc') diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc index 970f4d8..688227c 100644 --- a/conf/machine/include/rpi-base.inc +++ b/conf/machine/include/rpi-base.inc @@ -97,6 +97,10 @@ IMAGE_BOOT_FILES ?= "bcm2835-bootfiles/* \ '${KERNEL_IMAGETYPE} u-boot.bin;${SDIMG_KERNELIMAGE} boot.scr', \ '${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}', d)} \ " +do_image_wic[depends] += " \ + bcm2835-bootfiles:do_deploy \ + ${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot:do_deploy', '',d)} \ + " # The kernel image is installed into the FAT32 boot partition and does not need # to also be installed into the rootfs. -- cgit v1.2.3-54-g00ecf