[OE-core] [PATCH v4] u-boot.inc: fix rename image error

Otavio Salvador otavio at ossystems.com.br
Tue Mar 24 02:25:05 UTC 2015


Hello Chunrong,

On Wed, Mar 11, 2015 at 6:40 AM, Chunrong Guo <B40290 at freescale.com> wrote:
>   Resolve mismatch between U-Boot configs and uboot image name.
>   The ${S}/${config}/u-boot-${type}.${UBOOT_SUFFIX} may alway be false
>   and repeat compile or install so we need to check if ${type} match ${config} .
>
> Signed-off-by: Chunrong Guo <B40290 at freescale.com>

First I'd like to apologize for the delay in testing it. Thanks for
your patience. I got some free time (waiting between builds) and
decided to check this ...

So build is working fine .. however we missed the version in the file.
This is unfortunate because if you end building two versions in a roll
in same deploy directory you cannot refer the old one, for example:

otavio at centrium ~/src/ossystems/yocto/build % ls
tmp/deploy/images/imx6qsabresd/u-boot* -l
lrwxrwxrwx 1 otavio otavio     18 Mar 23 23:17
tmp/deploy/images/imx6qsabresd/u-boot.imx -> u-boot-mfgtool.imx*
lrwxrwxrwx 1 otavio otavio     18 Mar 23 23:17
tmp/deploy/images/imx6qsabresd/u-boot-imx6qsabresd.imx ->
u-boot-mfgtool.imx*
-rwxr-xr-x 2 otavio otavio 379904 Mar 23 23:17
tmp/deploy/images/imx6qsabresd/u-boot-mfgtool.imx*
-rwxr-xr-x 2 otavio otavio 379904 Mar 23 23:17
tmp/deploy/images/imx6qsabresd/u-boot-sd.imx*

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list