diff options
author | Mikko Gronoff <mikko.gronoff@qt.io> | 2017-03-15 12:43:59 +0200 |
---|---|---|
committer | Mikko Gronoff <mikko.gronoff@qt.io> | 2017-03-15 12:39:07 +0000 |
commit | 945fe0f14ec3fc1ba53c90ef6a8e89b55010dca0 (patch) | |
tree | 7dd011231c9ba724e3e7b8383dedc881919bc7f0 | |
parent | 6939b46727dd03285bce5c0a130583b4e4bf253c (diff) | |
download | meta-boot2qt-945fe0f14ec3fc1ba53c90ef6a8e89b55010dca0.tar.gz |
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 <samuli.piippo@qt.io>
-rw-r--r-- | meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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 () { | |||
50 | for scr in ${WORKDIR}/*.scr; do | 50 | for scr in ${WORKDIR}/*.scr; do |
51 | uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ | 51 | uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ |
52 | -n "update script" -d ${scr} \ | 52 | -n "update script" -d ${scr} \ |
53 | $(basename ${scr} .scr).img | 53 | ${S}/$(basename ${scr} .scr).img |
54 | done | 54 | done |
55 | } | 55 | } |
56 | 56 | ||