* [PATCH V2] classes/image_types_fsl.bbclass: replace IMAGE_DEPENDS_sdimg by do_image_sdimage[depends]
@ 2017-07-10 17:35 Khem Raj
0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2017-07-10 17:35 UTC (permalink / raw)
To: meta-freescale; +Cc: Khem Raj
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>
---
Changes from v1 -> v2:
- Rebased
classes/image_types_fsl.bbclass | 22 +++++++++++-----------
1 file 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}"
MXSBOOT_NAND_ARGS ?= ""
# IMX Bootlets Linux bootstream
-IMAGE_DEPENDS_linux.sb = "elftosb-native:do_populate_sysroot \
- imx-bootlets:do_deploy \
- virtual/kernel:do_deploy"
+do_image_linux.sb[depends] += "elftosb-native:do_populate_sysroot \
+ imx-bootlets:do_deploy \
+ virtual/kernel:do_deploy"
IMAGE_LINK_NAME_linux.sb = ""
IMAGE_CMD_linux.sb () {
kernel_bin="`readlink ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin`"
@@ -39,10 +39,10 @@ IMAGE_CMD_linux.sb () {
}
# IMX Bootlets barebox bootstream
-IMAGE_DEPENDS_barebox-mxsboot-sdcard = "elftosb-native:do_populate_sysroot \
- u-boot-mxsboot-native:do_populate_sysroot \
- imx-bootlets:do_deploy \
- barebox:do_deploy"
+do_image_barebox-mxsboot-sdcard[depends] += "elftosb-native:do_populate_sysroot \
+ u-boot-mxsboot-native:do_populate_sysroot \
+ imx-bootlets:do_deploy \
+ barebox:do_deploy"
IMAGE_CMD_barebox-mxsboot-sdcard () {
barebox_bd_file=imx-bootlets-barebox_ivt.bd-${MACHINE}
@@ -54,13 +54,13 @@ IMAGE_CMD_barebox-mxsboot-sdcard () {
# U-Boot mxsboot generation to SD-Card
UBOOT_SUFFIX_SDCARD_mxs ?= "mxsboot-sdcard"
-IMAGE_DEPENDS_uboot-mxsboot-sdcard = "u-boot-mxsboot-native:do_populate_sysroot \
- u-boot:do_deploy"
+do_image_uboot-mxsboot-sdcard[depends] += "u-boot-mxsboot-native:do_populate_sysroot \
+ u-boot:do_deploy"
IMAGE_CMD_uboot-mxsboot-sdcard = "mxsboot sd ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot-mxsboot-sdcard"
-IMAGE_DEPENDS_uboot-mxsboot-nand = "u-boot-mxsboot-native:do_populate_sysroot \
- u-boot:do_deploy"
+do_image_uboot-mxsboot-nand[depends] += "u-boot-mxsboot-native:do_populate_sysroot \
+ u-boot:do_deploy"
IMAGE_CMD_uboot-mxsboot-nand = "mxsboot ${MXSBOOT_NAND_ARGS} nand \
${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot-mxsboot-nand"
--
2.13.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH V2] classes/image_types_fsl.bbclass: replace IMAGE_DEPENDS_sdimg by do_image_sdimage[depends]
2017-07-10 17:23 ` Otavio Salvador
@ 2017-07-10 17:36 ` Khem Raj
0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2017-07-10 17:36 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale
[-- Attachment #1.1: Type: text/plain, Size: 513 bytes --]
On 7/10/17 10:23 AM, Otavio Salvador wrote:
> On Thu, Jul 6, 2017 at 10:41 PM, Khem Raj <raj.khem@gmail.com> wrote:
>> 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>
>
> This needs a rebase as Trevor has sent a partial fix for it before.
> Please rebase it and send it again.
sent one
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 169 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH V2] classes/image_types_fsl.bbclass: replace IMAGE_DEPENDS_sdimg by do_image_sdimage[depends]
2017-07-07 1:41 Khem Raj
@ 2017-07-10 17:23 ` Otavio Salvador
2017-07-10 17:36 ` Khem Raj
0 siblings, 1 reply; 4+ messages in thread
From: Otavio Salvador @ 2017-07-10 17:23 UTC (permalink / raw)
To: Khem Raj; +Cc: meta-freescale
On Thu, Jul 6, 2017 at 10:41 PM, Khem Raj <raj.khem@gmail.com> wrote:
> 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>
This needs a rebase as Trevor has sent a partial fix for it before.
Please rebase it and send it again.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH V2] classes/image_types_fsl.bbclass: replace IMAGE_DEPENDS_sdimg by do_image_sdimage[depends]
@ 2017-07-07 1:41 Khem Raj
2017-07-10 17:23 ` Otavio Salvador
0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2017-07-07 1:41 UTC (permalink / raw)
To: meta-freescale; +Cc: Khem Raj
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>
---
classes/image_types_fsl.bbclass | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass
index 075b18cf..9e84d930 100644
--- a/classes/image_types_fsl.bbclass
+++ b/classes/image_types_fsl.bbclass
@@ -12,9 +12,9 @@ UBOOT_SUFFIX_SDCARD ?= "${UBOOT_SUFFIX}"
MXSBOOT_NAND_ARGS ?= ""
# IMX Bootlets Linux bootstream
-IMAGE_DEPENDS_linux.sb = "elftosb-native:do_populate_sysroot \
- imx-bootlets:do_deploy \
- virtual/kernel:do_deploy"
+do_image_linux.sb[depends] += "elftosb-native:do_populate_sysroot \
+ imx-bootlets:do_deploy \
+ virtual/kernel:do_deploy"
IMAGE_LINK_NAME_linux.sb = ""
IMAGE_CMD_linux.sb () {
kernel_bin="`readlink ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin`"
@@ -39,10 +39,10 @@ IMAGE_CMD_linux.sb () {
}
# IMX Bootlets barebox bootstream
-IMAGE_DEPENDS_barebox-mxsboot-sdcard = "elftosb-native:do_populate_sysroot \
- u-boot-mxsboot-native:do_populate_sysroot \
- imx-bootlets:do_deploy \
- barebox:do_deploy"
+do_image_barebox-mxsboot-sdcard[depends] += "elftosb-native:do_populate_sysroot \
+ u-boot-mxsboot-native:do_populate_sysroot \
+ imx-bootlets:do_deploy \
+ barebox:do_deploy"
IMAGE_CMD_barebox-mxsboot-sdcard () {
barebox_bd_file=imx-bootlets-barebox_ivt.bd-${MACHINE}
@@ -54,13 +54,13 @@ IMAGE_CMD_barebox-mxsboot-sdcard () {
# U-Boot mxsboot generation to SD-Card
UBOOT_SUFFIX_SDCARD_mxs ?= "mxsboot-sdcard"
-IMAGE_DEPENDS_uboot-mxsboot-sdcard = "u-boot-mxsboot-native:do_populate_sysroot \
- u-boot:do_deploy"
+do_image_uboot-mxsboot-sdcard[depends] += "u-boot-mxsboot-native:do_populate_sysroot \
+ u-boot:do_deploy"
IMAGE_CMD_uboot-mxsboot-sdcard = "mxsboot sd ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot-mxsboot-sdcard"
-IMAGE_DEPENDS_uboot-mxsboot-nand = "u-boot-mxsboot-native:do_populate_sysroot \
- u-boot:do_deploy"
+do_image_uboot-mxsboot-nand[depends] += "u-boot-mxsboot-native:do_populate_sysroot \
+ u-boot:do_deploy"
IMAGE_CMD_uboot-mxsboot-nand = "mxsboot ${MXSBOOT_NAND_ARGS} nand \
${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot-mxsboot-nand"
@@ -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.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-07-10 17:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-10 17:35 [PATCH V2] classes/image_types_fsl.bbclass: replace IMAGE_DEPENDS_sdimg by do_image_sdimage[depends] Khem Raj
-- strict thread matches above, loose matches on Subject: below --
2017-07-07 1:41 Khem Raj
2017-07-10 17:23 ` Otavio Salvador
2017-07-10 17:36 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.