summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2017-10-05 15:43:34 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2017-10-06 17:40:22 -0300
commitc808544ec53e3434f4e254f456772dc621ca3014 (patch)
tree647108118f316227ede87e1ab93576a2ce7440ab /classes
parent776afcc34fe430e5818dec533f04cdb2828a5e3d (diff)
downloadmeta-freescale-c808544ec53e3434f4e254f456772dc621ca3014.tar.gz
image_types_fsl.bbclass: Add deprecation warning
This adds a deprecation warning when using the 'sdcard' image format. We are supporting 'wic' for all SoCs and the conversion is straightforward. This 'sdcard' image format will be removed for next release. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'classes')
-rw-r--r--classes/image_types_fsl.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass
index 91b6c4e5..dadbd734 100644
--- a/classes/image_types_fsl.bbclass
+++ b/classes/image_types_fsl.bbclass
@@ -311,6 +311,8 @@ generate_mxs_sdcard () {
311} 311}
312 312
313IMAGE_CMD_sdcard () { 313IMAGE_CMD_sdcard () {
314 bbwarn "The '${MACHINE}' is using the i.MX 'sdcard' image format which is deprecated. This image type is going to be removed in next release so please convert this machine to use the wic tool"
315
314 if [ -z "${SDCARD_ROOTFS}" ]; then 316 if [ -z "${SDCARD_ROOTFS}" ]; then
315 bberror "SDCARD_ROOTFS is undefined. To use sdcard image from Freescale's BSP it needs to be defined." 317 bberror "SDCARD_ROOTFS is undefined. To use sdcard image from Freescale's BSP it needs to be defined."
316 exit 1 318 exit 1