From 81198ba799c0232b737e2d521cbb3d1f6ebcd325 Mon Sep 17 00:00:00 2001 From: Khang Nguyen Date: Mon, 3 Dec 2018 20:10:17 +0700 Subject: rcar-gen3: u-boot: Drop SoC name in srec files This commit updates do_deploy function to drop the SoC name when deploying srec files, the purpose is to keep the legacy name of U-Boot build results. Signed-off-by: Khang Nguyen Signed-off-by: Takamitsu Honda --- meta-rcar-gen3/recipes-bsp/u-boot/u-boot_2018.09.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-rcar-gen3/recipes-bsp') diff --git a/meta-rcar-gen3/recipes-bsp/u-boot/u-boot_2018.09.bb b/meta-rcar-gen3/recipes-bsp/u-boot/u-boot_2018.09.bb index 50ba275..654b5ef 100644 --- a/meta-rcar-gen3/recipes-bsp/u-boot/u-boot_2018.09.bb +++ b/meta-rcar-gen3/recipes-bsp/u-boot/u-boot_2018.09.bb @@ -24,6 +24,7 @@ do_deploy_append() { j=$(expr $j + 1); if [ $j -eq $i ] then + type=${type#*_} install -m 644 ${B}/${config}/${UBOOT_SREC} ${DEPLOYDIR}/u-boot-elf-${type}-${PV}-${PR}.${UBOOT_SREC_SUFFIX} cd ${DEPLOYDIR} ln -sf u-boot-elf-${type}-${PV}-${PR}.${UBOOT_SREC_SUFFIX} u-boot-elf-${type}.${UBOOT_SREC_SUFFIX} -- cgit 1.2.3-korg