summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-07-10 10:35:19 -0700
committerOtavio Salvador <otavio@ossystems.com.br>2017-07-10 14:50:25 -0300
commitd8c395980eb33d3fe0c643a12f7c655a2b0c40ae (patch)
tree6c573b70bed40a48d0cdeabd46ce61ce9cb36921 /classes
parent15ceec526f973f5b270c390b8130d032cde3526e (diff)
downloadmeta-freescale-d8c395980eb33d3fe0c643a12f7c655a2b0c40ae.tar.gz
classes/image_types_fsl.bbclass: replace IMAGE_DEPENDS_sdimg by do_image_sdimage[depends]
Fixes ERROR: /mnt/a/oe/sources/meta-variscite-fslc/recipes-fsl/images/fsl-image-gui.bb: Deprecated variable(s) found: "IMAGE_DEPENDS_sdcard". Use do_image_<type>[depends] += "<recipe>:<task>" instead Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'classes')
-rw-r--r--classes/image_types_fsl.bbclass22
1 files changed, 11 insertions, 11 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass
index 58c1972e..e1970b2a 100644
--- a/classes/image_types_fsl.bbclass
+++ b/classes/image_types_fsl.bbclass
@@ -12,9 +12,9 @@ UBOOT_SUFFIX_SDCARD ?= "${UBOOT_SUFFIX}"
12MXSBOOT_NAND_ARGS ?= "" 12MXSBOOT_NAND_ARGS ?= ""
13 13
14# IMX Bootlets Linux bootstream 14# IMX Bootlets Linux bootstream
15IMAGE_DEPENDS_linux.sb = "elftosb-native:do_populate_sysroot \ 15do_image_linux.sb[depends] += "elftosb-native:do_populate_sysroot \
16 imx-bootlets:do_deploy \ 16 imx-bootlets:do_deploy \
17 virtual/kernel:do_deploy" 17 virtual/kernel:do_deploy"
18IMAGE_LINK_NAME_linux.sb = "" 18IMAGE_LINK_NAME_linux.sb = ""
19IMAGE_CMD_linux.sb () { 19IMAGE_CMD_linux.sb () {
20 kernel_bin="`readlink ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin`" 20 kernel_bin="`readlink ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin`"
@@ -39,10 +39,10 @@ IMAGE_CMD_linux.sb () {
39} 39}
40 40
41# IMX Bootlets barebox bootstream 41# IMX Bootlets barebox bootstream
42IMAGE_DEPENDS_barebox-mxsboot-sdcard = "elftosb-native:do_populate_sysroot \ 42do_image_barebox-mxsboot-sdcard[depends] += "elftosb-native:do_populate_sysroot \
43 u-boot-mxsboot-native:do_populate_sysroot \ 43 u-boot-mxsboot-native:do_populate_sysroot \
44 imx-bootlets:do_deploy \ 44 imx-bootlets:do_deploy \
45 barebox:do_deploy" 45 barebox:do_deploy"
46IMAGE_CMD_barebox-mxsboot-sdcard () { 46IMAGE_CMD_barebox-mxsboot-sdcard () {
47 barebox_bd_file=imx-bootlets-barebox_ivt.bd-${MACHINE} 47 barebox_bd_file=imx-bootlets-barebox_ivt.bd-${MACHINE}
48 48
@@ -54,13 +54,13 @@ IMAGE_CMD_barebox-mxsboot-sdcard () {
54 54
55# U-Boot mxsboot generation to SD-Card 55# U-Boot mxsboot generation to SD-Card
56UBOOT_SUFFIX_SDCARD_mxs ?= "mxsboot-sdcard" 56UBOOT_SUFFIX_SDCARD_mxs ?= "mxsboot-sdcard"
57IMAGE_DEPENDS_uboot-mxsboot-sdcard = "u-boot-mxsboot-native:do_populate_sysroot \ 57do_image_uboot-mxsboot-sdcard[depends] += "u-boot-mxsboot-native:do_populate_sysroot \
58 u-boot:do_deploy" 58 u-boot:do_deploy"
59IMAGE_CMD_uboot-mxsboot-sdcard = "mxsboot sd ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \ 59IMAGE_CMD_uboot-mxsboot-sdcard = "mxsboot sd ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \
60 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot-mxsboot-sdcard" 60 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot-mxsboot-sdcard"
61 61
62IMAGE_DEPENDS_uboot-mxsboot-nand = "u-boot-mxsboot-native:do_populate_sysroot \ 62do_image_uboot-mxsboot-nand[depends] += "u-boot-mxsboot-native:do_populate_sysroot \
63 u-boot:do_deploy" 63 u-boot:do_deploy"
64IMAGE_CMD_uboot-mxsboot-nand = "mxsboot ${MXSBOOT_NAND_ARGS} nand \ 64IMAGE_CMD_uboot-mxsboot-nand = "mxsboot ${MXSBOOT_NAND_ARGS} nand \
65 ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \ 65 ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \
66 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot-mxsboot-nand" 66 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot-mxsboot-nand"