diff options
Diffstat (limited to 'classes')
| -rw-r--r-- | classes/image_types_fsl.bbclass | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass index 5e50f4766..c49c51b7a 100644 --- a/classes/image_types_fsl.bbclass +++ b/classes/image_types_fsl.bbclass | |||
| @@ -11,15 +11,23 @@ MXSBOOT_NAND_ARGS ?= "" | |||
| 11 | # U-Boot mxsboot generation for uSD | 11 | # U-Boot mxsboot generation for uSD |
| 12 | do_image_uboot_mxsboot_sdcard[depends] += "u-boot-mxsboot-native:do_populate_sysroot \ | 12 | do_image_uboot_mxsboot_sdcard[depends] += "u-boot-mxsboot-native:do_populate_sysroot \ |
| 13 | u-boot:do_deploy" | 13 | u-boot:do_deploy" |
| 14 | IMAGE_CMD_uboot-mxsboot-sdcard = "mxsboot sd ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \ | 14 | IMAGE_CMD_uboot-mxsboot-sdcard() { |
| 15 | ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot-mxsboot-sdcard" | 15 | mxsboot sd ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \ |
| 16 | ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot-mxsboot-sdcard | ||
| 17 | ln -sf ${IMAGE_NAME}.rootfs.uboot-mxsboot-sdcard \ | ||
| 18 | ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs.uboot-mxsboot-sdcard | ||
| 19 | } | ||
| 16 | 20 | ||
| 17 | # U-Boot mxsboot generation for NAND | 21 | # U-Boot mxsboot generation for NAND |
| 18 | do_image_uboot_mxsboot_nand[depends] += "u-boot-mxsboot-native:do_populate_sysroot \ | 22 | do_image_uboot_mxsboot_nand[depends] += "u-boot-mxsboot-native:do_populate_sysroot \ |
| 19 | u-boot:do_deploy" | 23 | u-boot:do_deploy" |
| 20 | IMAGE_CMD_uboot-mxsboot-nand = "mxsboot ${MXSBOOT_NAND_ARGS} nand \ | 24 | IMAGE_CMD_uboot-mxsboot-nand() { |
| 21 | ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \ | 25 | mxsboot ${MXSBOOT_NAND_ARGS} nand \ |
| 22 | ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot-mxsboot-nand" | 26 | ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \ |
| 27 | ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot-mxsboot-nand | ||
| 28 | ln -sf ${IMAGE_NAME}.rootfs.uboot-mxsboot-nand \ | ||
| 29 | ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs.uboot-mxsboot-nand | ||
| 30 | } | ||
| 23 | 31 | ||
| 24 | # In case we are building for i.MX23 or i.MX28 we need to have the | 32 | # In case we are building for i.MX23 or i.MX28 we need to have the |
| 25 | # image stream built before the wic generation | 33 | # image stream built before the wic generation |
