diff options
-rw-r--r-- | classes/image_types_fsl.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass index 91641c70..5f3a9c69 100644 --- a/classes/image_types_fsl.bbclass +++ b/classes/image_types_fsl.bbclass | |||
@@ -325,3 +325,10 @@ IMAGE_CMD_sdcard () { | |||
325 | # The sdcard requires the rootfs filesystem to be built before using | 325 | # The sdcard requires the rootfs filesystem to be built before using |
326 | # it so we must make this dependency explicit. | 326 | # it so we must make this dependency explicit. |
327 | IMAGE_TYPEDEP_sdcard += "${@d.getVar('SDCARD_ROOTFS', 1).split('.')[-1]}" | 327 | IMAGE_TYPEDEP_sdcard += "${@d.getVar('SDCARD_ROOTFS', 1).split('.')[-1]}" |
328 | |||
329 | # In case we are building for i.MX23 or i.MX28 we need to have the | ||
330 | # image stream built before the sdcard generation | ||
331 | IMAGE_TYPEDEP_sdcard += " \ | ||
332 | ${@bb.utils.contains('IMAGE_FSTYPES', 'uboot.mxsboot-sdcard', 'uboot.mxsboot-sdcard', '', d)} \ | ||
333 | ${@bb.utils.contains('IMAGE_FSTYPES', 'barebox.mxsboot-sdcard', 'barebox.mxsboot-sdcard', '', d)} \ | ||
334 | " | ||