diff options
author | Paul Barker <pbarker@toganlabs.com> | 2017-09-08 21:32:25 +0000 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.com> | 2017-09-24 20:39:35 +0100 |
commit | c26e9d3df54293a88fba047a29b335f52b01120e (patch) | |
tree | 04e57cdd06e90a91db5e650ceeeee9c061a6c673 | |
parent | 37e4e18f4a745ce8dc11f7e40a29da0859ff13c6 (diff) | |
download | meta-raspberrypi-c26e9d3df54293a88fba047a29b335f52b01120e.tar.gz |
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>
-rw-r--r-- | conf/machine/include/rpi-base.inc | 4 |
1 files changed, 4 insertions, 0 deletions
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/* \ | |||
97 | '${KERNEL_IMAGETYPE} u-boot.bin;${SDIMG_KERNELIMAGE} boot.scr', \ | 97 | '${KERNEL_IMAGETYPE} u-boot.bin;${SDIMG_KERNELIMAGE} boot.scr', \ |
98 | '${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}', d)} \ | 98 | '${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}', d)} \ |
99 | " | 99 | " |
100 | do_image_wic[depends] += " \ | ||
101 | bcm2835-bootfiles:do_deploy \ | ||
102 | ${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot:do_deploy', '',d)} \ | ||
103 | " | ||
100 | 104 | ||
101 | # The kernel image is installed into the FAT32 boot partition and does not need | 105 | # The kernel image is installed into the FAT32 boot partition and does not need |
102 | # to also be installed into the rootfs. | 106 | # to also be installed into the rootfs. |