From 276cfa58f59acbae92aa29c2f54c4437bcef7cd3 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Tue, 31 Mar 2015 12:13:26 +0200 Subject: [PATCH] u-boot: add native mkimage dependence The SD card images support added a dependence to mkimage native tool. Otherwise the build may fail with: mkimage: not found Signed-off-by: Javier Viguera --- meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2009.08.bb | 4 ++-- meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2013.01.bb | 2 +- meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2013.04.bb | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2009.08.bb b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2009.08.bb index ef84b8c95..a5eac82db 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2009.08.bb +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2009.08.bb @@ -13,12 +13,12 @@ SRC_URI_append_mxs = " file://boot-sd.txt" S = "${WORKDIR}/git" -DEPENDS_mxs += "elftosb-native imx-bootlets-dey" +DEPENDS_mxs += "elftosb-native imx-bootlets-dey u-boot-mkimage-native" EXTRA_OEMAKE += 'HOSTSTRIP=true' EXTRA_OEMAKE_append_mxs = ' BOOTLETS_DIR=${STAGING_DIR_TARGET}/boot' -do_deploy_append() { +do_deploy_append_mxs() { mkimage -T script -n bootscript -C none -d ${WORKDIR}/boot-sd.txt ${DEPLOYDIR}/boot-sd.scr } diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2013.01.bb b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2013.01.bb index 881dcaf63..9af632cba 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2013.01.bb +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2013.01.bb @@ -13,7 +13,7 @@ SRC_URI += "file://boot-sd.txt" S = "${WORKDIR}/git" -DEPENDS_ccardimx28 += "elftosb-native" +DEPENDS += "elftosb-native u-boot-mkimage-native" do_compile_prepend() { ${S}/tools/setlocalversion --save-scmversion ${S} diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2013.04.bb b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2013.04.bb index ffb435aff..377d13542 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2013.04.bb +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2013.04.bb @@ -13,6 +13,8 @@ SRC_URI += "file://boot-sd.txt" S = "${WORKDIR}/git" +DEPENDS += "u-boot-mkimage-native" + do_compile_prepend() { ${S}/tools/setlocalversion --save-scmversion ${S} }