Skip to content

Commit 05f7b4a

Browse files
committed
u-boot-qoriq:Fix do_deploy failure as build path updated in uboot-sign.bbclass
As Poky master introduces the u-boot build path refinition: - Now the unique build path is changes from ${B}/${config} ro ${B}/${config}-${type}. - It impacts the u-boot-nodtb.bin/DTB deployment. Poky commit: u-boot: Make sure the build dir is unique for each UBOOT_CONFIG 91f50b7c55968b0857818cf05c03488cd19452d4 Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
1 parent f5960ce commit 05f7b4a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ do_deploy:append:lx2162a () {
103103
if [ $j -eq $i ]
104104
then
105105
if [ "tfa-verified-boot" = "${type}" ];then
106-
install -m 644 ${B}/${config}/u-boot.dtb ${DEPLOYDIR}/u-boot.dtb
106+
builddir="${config}-${type}"
107+
install -m 644 ${B}/${builddir/u-boot.dtb ${DEPLOYDIR}/u-boot.dtb
107108
fi
108109
fi
109110
done
@@ -123,8 +124,9 @@ do_deploy:append:ls102xa () {
123124
if [ $j -eq $i ]
124125
then
125126
if expr "$type" : sdcard;then
126-
install -m 644 ${B}/${config}/u-boot-dtb.bin ${DEPLOYDIR}/u-boot-dtb.${UBOOT_SUFFIX}-${type}
127-
install -m 644 ${B}/${config}/spl/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl.${UBOOT_SUFFIX}-${type}
127+
builddir="${config}-${type}"
128+
install -m 644 ${B}/${builddir}/u-boot-dtb.bin ${DEPLOYDIR}/u-boot-dtb.${UBOOT_SUFFIX}-${type}
129+
install -m 644 ${B}/${builddir}/spl/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl.${UBOOT_SUFFIX}-${type}
128130
fi
129131
fi
130132
done

0 commit comments

Comments
 (0)