diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-07-10 10:35:19 -0700 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2017-07-10 14:50:25 -0300 |
commit | d8c395980eb33d3fe0c643a12f7c655a2b0c40ae (patch) | |
tree | 6c573b70bed40a48d0cdeabd46ce61ce9cb36921 /classes | |
parent | 15ceec526f973f5b270c390b8130d032cde3526e (diff) | |
download | meta-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.bbclass | 22 |
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}" | |||
12 | MXSBOOT_NAND_ARGS ?= "" | 12 | MXSBOOT_NAND_ARGS ?= "" |
13 | 13 | ||
14 | # IMX Bootlets Linux bootstream | 14 | # IMX Bootlets Linux bootstream |
15 | IMAGE_DEPENDS_linux.sb = "elftosb-native:do_populate_sysroot \ | 15 | do_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" |
18 | IMAGE_LINK_NAME_linux.sb = "" | 18 | IMAGE_LINK_NAME_linux.sb = "" |
19 | IMAGE_CMD_linux.sb () { | 19 | IMAGE_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 |
42 | IMAGE_DEPENDS_barebox-mxsboot-sdcard = "elftosb-native:do_populate_sysroot \ | 42 | do_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" |
46 | IMAGE_CMD_barebox-mxsboot-sdcard () { | 46 | IMAGE_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 |
56 | UBOOT_SUFFIX_SDCARD_mxs ?= "mxsboot-sdcard" | 56 | UBOOT_SUFFIX_SDCARD_mxs ?= "mxsboot-sdcard" |
57 | IMAGE_DEPENDS_uboot-mxsboot-sdcard = "u-boot-mxsboot-native:do_populate_sysroot \ | 57 | do_image_uboot-mxsboot-sdcard[depends] += "u-boot-mxsboot-native:do_populate_sysroot \ |
58 | u-boot:do_deploy" | 58 | u-boot:do_deploy" |
59 | IMAGE_CMD_uboot-mxsboot-sdcard = "mxsboot sd ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \ | 59 | IMAGE_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 | ||
62 | IMAGE_DEPENDS_uboot-mxsboot-nand = "u-boot-mxsboot-native:do_populate_sysroot \ | 62 | do_image_uboot-mxsboot-nand[depends] += "u-boot-mxsboot-native:do_populate_sysroot \ |
63 | u-boot:do_deploy" | 63 | u-boot:do_deploy" |
64 | IMAGE_CMD_uboot-mxsboot-nand = "mxsboot ${MXSBOOT_NAND_ARGS} nand \ | 64 | IMAGE_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" |