diff options
author | Andrey Zhizhikin <andrey.z@gmail.com> | 2021-10-21 10:01:01 +0000 |
---|---|---|
committer | Andrey Zhizhikin <andrey.z@gmail.com> | 2021-10-22 19:15:38 +0000 |
commit | c59f817b0d1ee70ef224405ff8acd31e0743ed91 (patch) | |
tree | 0693c8aa58204d24b3344dd5b52f9515ca21a5a2 /recipes-bsp/imx-mkimage/imx-boot_1.0.bb | |
parent | f0092d11699caf95f43aa8acfb2ba7d166608859 (diff) | |
download | meta-freescale-c59f817b0d1ee70ef224405ff8acd31e0743ed91.tar.gz |
imx-mkimage: use mkimage tool from sysroot
mkimage tool is provided as a part of sysroot and should not be used as
a local copy, since it contains runtime dependencies which local copy
does not account for.
Drop the local copy on mkimage, introduce the patch that fixes mkimage
invocations in build system.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Diffstat (limited to 'recipes-bsp/imx-mkimage/imx-boot_1.0.bb')
-rw-r--r-- | recipes-bsp/imx-mkimage/imx-boot_1.0.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb index 1425c5a3..f8ebb730 100644 --- a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb +++ b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb | |||
@@ -84,7 +84,6 @@ compile_mx8m() { | |||
84 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${UBOOT_DTB_NAME} ${BOOT_STAGING} | 84 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${UBOOT_DTB_NAME} ${BOOT_STAGING} |
85 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${UBOOT_CONFIG} \ | 85 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${UBOOT_CONFIG} \ |
86 | ${BOOT_STAGING}/u-boot-nodtb.bin | 86 | ${BOOT_STAGING}/u-boot-nodtb.bin |
87 | cp ${STAGING_DIR_NATIVE}/${bindir}/mkimage ${BOOT_STAGING}/mkimage_uboot | ||
88 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${ATF_MACHINE_NAME} ${BOOT_STAGING}/bl31.bin | 87 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${ATF_MACHINE_NAME} ${BOOT_STAGING}/bl31.bin |
89 | cp ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME} ${BOOT_STAGING}/u-boot.bin | 88 | cp ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME} ${BOOT_STAGING}/u-boot.bin |
90 | } | 89 | } |
@@ -151,7 +150,6 @@ deploy_mx8m() { | |||
151 | install -m 0644 ${BOOT_STAGING}/signed_hdmi_imx8m.bin ${DEPLOYDIR}/${BOOT_TOOLS} | 150 | install -m 0644 ${BOOT_STAGING}/signed_hdmi_imx8m.bin ${DEPLOYDIR}/${BOOT_TOOLS} |
152 | install -m 0755 ${BOOT_STAGING}/${TOOLS_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} | 151 | install -m 0755 ${BOOT_STAGING}/${TOOLS_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} |
153 | install -m 0755 ${BOOT_STAGING}/mkimage_fit_atf.sh ${DEPLOYDIR}/${BOOT_TOOLS} | 152 | install -m 0755 ${BOOT_STAGING}/mkimage_fit_atf.sh ${DEPLOYDIR}/${BOOT_TOOLS} |
154 | install -m 0755 ${BOOT_STAGING}/mkimage_uboot ${DEPLOYDIR}/${BOOT_TOOLS} | ||
155 | } | 153 | } |
156 | deploy_mx8() { | 154 | deploy_mx8() { |
157 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} | 155 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} |
@@ -173,7 +171,7 @@ deploy_mx8x() { | |||
173 | } | 171 | } |
174 | do_deploy() { | 172 | do_deploy() { |
175 | deploy_${SOC_FAMILY} | 173 | deploy_${SOC_FAMILY} |
176 | # copy the tool mkimage to deploy path and sc fw, dcd and uboot | 174 | # copy the sc fw, dcd and uboot to deploy path |
177 | install -m 0644 ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} | 175 | install -m 0644 ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} |
178 | 176 | ||
179 | # copy tee.bin to deploy path | 177 | # copy tee.bin to deploy path |