[OE-core] [PATCH v3] u-boot.inc: fix rename image error
Otavio Salvador
otavio at ossystems.com.br
Mon Mar 9 16:29:30 UTC 2015
On Mon, Mar 9, 2015 at 4:24 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>
I think we have a serious issue here:
+ echo mx6qsabresd_config
+ cut -d_ -f2
+ [ config = sd ]
+ echo mx6qsabresd_sata_config
+ cut -d_ -f2
+ [ sata = sd ]
+ echo mx6qsabresd_config
+ cut -d_ -f2
+ [ config = sata ]
+ echo mx6qsabresd_sata_config
+ cut -d_ -f2
+ [ sata = sata ]
+ oe_runmake O=mx6qsabresd_sata_config mx6qsabresd_sata_config
+ oe_runmake_call O=mx6qsabresd_sata_config mx6qsabresd_sata_config
This is wrong. It shouldn't expect a pattern in the UBOOT_MACHINE
value. Instead it should match the UBOOT_CONFIG for it and done.
--
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