diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2017-10-05 15:43:34 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2017-10-06 17:40:22 -0300 |
commit | c808544ec53e3434f4e254f456772dc621ca3014 (patch) | |
tree | 647108118f316227ede87e1ab93576a2ce7440ab /classes | |
parent | 776afcc34fe430e5818dec533f04cdb2828a5e3d (diff) | |
download | meta-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.bbclass | 2 |
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 | ||
313 | IMAGE_CMD_sdcard () { | 313 | IMAGE_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 |