mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
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>
This commit is contained in:
parent
f046b4128c
commit
5c3bda2acb
|
@ -49,6 +49,8 @@ SDIMG_ROOTFS = "${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.${SDIMG_ROOTFS_TYPE}"
|
||||||
# For the names of kernel artifacts
|
# For the names of kernel artifacts
|
||||||
inherit kernel-artifact-names
|
inherit kernel-artifact-names
|
||||||
|
|
||||||
|
RPI_SDIMG_EXTRA_DEPENDS ?= ""
|
||||||
|
|
||||||
do_image_rpi_sdimg[depends] = " \
|
do_image_rpi_sdimg[depends] = " \
|
||||||
parted-native:do_populate_sysroot \
|
parted-native:do_populate_sysroot \
|
||||||
mtools-native:do_populate_sysroot \
|
mtools-native:do_populate_sysroot \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user