From 945fe0f14ec3fc1ba53c90ef6a8e89b55010dca0 Mon Sep 17 00:00:00 2001 From: Mikko Gronoff Date: Wed, 15 Mar 2017 12:43:59 +0200 Subject: u-boot-script-toradex: fix uboot image deployment do_mkimage() method outputs resulting images to current directory. In poky 2.1 -> 2.2 the behavior differs a bit so that before running do_mkimage() the directory is not changed to WORKDIR, thus creating images to build dir root. Following do_deploy() tries to look for the images in wrong place. Add full path to do_mkimage() output so that do_deploy() executes correctly. Change-Id: I81659d83a519c765538536ad8c38586aa6c6c5ce Reviewed-by: Samuli Piippo --- meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-fsl-extras') diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb index b5d96b6..ac70843 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb +++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb @@ -50,7 +50,7 @@ do_mkimage () { for scr in ${WORKDIR}/*.scr; do uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ -n "update script" -d ${scr} \ - $(basename ${scr} .scr).img + ${S}/$(basename ${scr} .scr).img done } -- cgit v1.2.3-54-g00ecf