diff options
author | Paul Barker <pbarker@toganlabs.com> | 2017-09-08 21:32:25 +0000 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.com> | 2017-10-20 15:53:35 +0100 |
commit | 40447de4782d76f1e23e67ba05e272c27f6ec250 (patch) | |
tree | 7411555d36522d84b5fa155df52f789f9f700865 | |
parent | a6ebf952602e856fc7a88808eb2601656757c1fc (diff) | |
download | meta-raspberrypi-40447de4782d76f1e23e67ba05e272c27f6ec250.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 f29db29..7ed1088 100644 --- a/conf/machine/include/rpi-base.inc +++ b/conf/machine/include/rpi-base.inc | |||
@@ -87,6 +87,10 @@ IMAGE_BOOT_FILES ?= "bcm2835-bootfiles/* \ | |||
87 | '${KERNEL_IMAGETYPE} u-boot.bin;${SDIMG_KERNELIMAGE} boot.scr', \ | 87 | '${KERNEL_IMAGETYPE} u-boot.bin;${SDIMG_KERNELIMAGE} boot.scr', \ |
88 | '${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}', d)} \ | 88 | '${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}', d)} \ |
89 | " | 89 | " |
90 | do_image_wic[depends] += " \ | ||
91 | bcm2835-bootfiles:do_deploy \ | ||
92 | ${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot:do_deploy', '',d)} \ | ||
93 | " | ||
90 | 94 | ||
91 | # The kernel image is installed into the FAT32 boot partition and does not need | 95 | # The kernel image is installed into the FAT32 boot partition and does not need |
92 | # to also be installed into the rootfs. | 96 | # to also be installed into the rootfs. |