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 <pbarker@toganlabs.com>
This commit is contained in:
Paul Barker 2017-09-08 21:32:25 +00:00 committed by Andrei Gherzan
parent a6ebf95260
commit 40447de478

View File

@ -87,6 +87,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.