]> code.ossystems Code Review - meta-freescale.git/commitdiff
image_types_fsl: fix deprecated notation
authorTrevor Woerner <twoerner@gmail.com>
Fri, 30 Jun 2017 12:42:48 +0000 (08:42 -0400)
committerOtavio Salvador <otavio@ossystems.com.br>
Sat, 1 Jul 2017 18:38:18 +0000 (15:38 -0300)
The old "IMAGE_DEPENDS..." notation has been deprecated in favour of the newer
"do_image...[depends]" notation.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
classes/image_types_fsl.bbclass

index 075b18cf28f4fe9d6691b414354879d72edb1a88..58c1972e30c1d42cf861b21e5a6a014530d202b6 100644 (file)
@@ -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"