diff options
| author | Andrei Gherzan <andrei@gherzan.ro> | 2020-08-06 12:22:21 +0100 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.ro> | 2020-08-10 11:10:11 +0100 |
| commit | bc7a06604d5232c57545bc7b2f57b9cce2699575 (patch) | |
| tree | 8b0349e6bd4e2fc42fe520314a359bde5fb959ad /classes | |
| parent | 671ae4ab486c75b982728eef6e80ade036b3ba10 (diff) | |
| download | meta-raspberrypi-bc7a06604d5232c57545bc7b2f57b9cce2699575.tar.gz | |
sdcard_image-rpi.bbclass: Fix when RPI_SDIMG_EXTRA_DEPENDS not defined
If the variable is not defined, bitbake will fail:
[...]
Task 'depends' should be specified in the form 'packagename:task'
[...]
This is because not expanding the variable leaves an invalid entry.
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Diffstat (limited to 'classes')
| -rw-r--r-- | classes/sdcard_image-rpi.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass index 9bf42db..8197978 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass | |||
| @@ -49,6 +49,8 @@ SDIMG_ROOTFS = "${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.${SDIMG_ROOTFS_TYPE}" | |||
| 49 | # For the names of kernel artifacts | 49 | # For the names of kernel artifacts |
| 50 | inherit kernel-artifact-names | 50 | inherit kernel-artifact-names |
| 51 | 51 | ||
| 52 | RPI_SDIMG_EXTRA_DEPENDS ?= "" | ||
| 53 | |||
| 52 | do_image_rpi_sdimg[depends] = " \ | 54 | do_image_rpi_sdimg[depends] = " \ |
| 53 | parted-native:do_populate_sysroot \ | 55 | parted-native:do_populate_sysroot \ |
| 54 | mtools-native:do_populate_sysroot \ | 56 | mtools-native:do_populate_sysroot \ |
