@@ -52,19 +52,20 @@ do_resolve_and_populate_binaries() {
5252 for config in ${UBOOT_MACHINE} ; do
5353 i = $(expr $i + 1 );
5454 for type in ${UBOOT_CONFIG} ; do
55+ builddir = "${config} -${type} "
5556 j = $(expr $j + 1 );
5657 if [ $j -eq $i ]; then
5758 for firmware in ${IMX_BOOT_CONTAINER_FIRMWARE} ; do
58- bbnote "Copy firmware: ${firmware} from ${DEPLOY_DIR_IMAGE} -> ${B} /${config } /"
59- cp ${DEPLOY_DIR_IMAGE} /${firmware} ${B} /${config } /
59+ bbnote "Copy firmware: ${firmware} from ${DEPLOY_DIR_IMAGE} -> ${B} /${builddir } /"
60+ cp ${DEPLOY_DIR_IMAGE} /${firmware} ${B} /${builddir } /
6061 done
6162 if [ -n "${ATF_MACHINE_NAME} " ]; then
62- cp ${DEPLOY_DIR_IMAGE} /${ATF_MACHINE_NAME} ${B} /${config } /bl31 . bin
63+ cp ${DEPLOY_DIR_IMAGE} /${ATF_MACHINE_NAME} ${B} /${builddir } /bl31 . bin
6364 else
6465 bberror "ATF binary is undefined, result binary would be unusable!"
6566 fi
6667 if [ "${@ bb . utils . contains ('MACHINE_FEATURES' , 'optee' , '1' , '0' , d )}" = "1" ] ; then
67- cp ${DEPLOY_DIR_IMAGE} /${OPTEE_BOOT_IMAGE} ${B} /${config } /
68+ cp ${DEPLOY_DIR_IMAGE} /${OPTEE_BOOT_IMAGE} ${B} /${builddir } /
6869 fi
6970 fi
7071 done
@@ -90,10 +91,11 @@ do_deploy:append() {
9091 for config in ${UBOOT_MACHINE} ; do
9192 i = $(expr $i + 1 );
9293 for type in ${UBOOT_CONFIG} ; do
94+ builddir = "${config} -${type} "
9395 j = $(expr $j + 1 );
9496 if [ $j -eq $i ]
9597 then
96- install -m 0644 ${B} /${config } /flash . bin ${DEPLOYDIR} /flash . bin -${MACHINE} -${type}
98+ install -m 0644 ${B} /${builddir } /flash . bin ${DEPLOYDIR} /flash . bin -${MACHINE} -${type}
9799 # When there's more than one word in UBOOT_CONFIG,
98100 # the first UBOOT_CONFIG listed will be the imx-boot binary
99101 if [ ! -f "${DEPLOYDIR} /imx-boot" ]; then
0 commit comments