[meta-freescale] [PATCH] image_types_fsl: fix deprecated notation

Trevor Woerner twoerner at gmail.com
Fri Jun 30 05:42:48 PDT 2017


The old "IMAGE_DEPENDS..." notation has been deprecated in favour of the newer
"do_image...[depends]" notation.

Signed-off-by: Trevor Woerner <twoerner at gmail.com>
---
 classes/image_types_fsl.bbclass | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass
index 075b18cf..58c1972e 100644
--- a/classes/image_types_fsl.bbclass
+++ b/classes/image_types_fsl.bbclass
@@ -77,11 +77,11 @@ BAREBOX_ENV_SPACE ?= "512"
 # Set alignment to 4MB [in KiB]
 IMAGE_ROOTFS_ALIGNMENT = "4096"
 
-IMAGE_DEPENDS_sdcard = "parted-native:do_populate_sysroot \
-                        dosfstools-native:do_populate_sysroot \
-                        mtools-native:do_populate_sysroot \
-                        virtual/kernel:do_deploy \
-                        ${@d.getVar('IMAGE_BOOTLOADER', True) and d.getVar('IMAGE_BOOTLOADER', True) + ':do_deploy' or ''}"
+do_image_sdcard[depends] = "parted-native:do_populate_sysroot \
+                            dosfstools-native:do_populate_sysroot \
+                            mtools-native:do_populate_sysroot \
+                            virtual/kernel:do_deploy \
+                            ${@d.getVar('IMAGE_BOOTLOADER', True) and d.getVar('IMAGE_BOOTLOADER', True) + ':do_deploy' or ''}"
 
 SDCARD = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.sdcard"
 
-- 
2.13.0



More information about the meta-freescale mailing list