[meta-freescale] [PATCH 05/60] u-boot-qoriq: avoid changing building directory
ting.liu at nxp.com
ting.liu at nxp.com
Fri Jan 8 22:42:58 PST 2016
From: Ting Liu <ting.liu at nxp.com>
Signed-off-by: Ting Liu <ting.liu at nxp.com>>
---
recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb b/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb
index 56fd692..73a1fdf 100644
--- a/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb
+++ b/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb
@@ -150,10 +150,8 @@ do_deploy_append_qoriq-ppc() {
if [ -f ${S}/${board}/${UBOOT_TARGET}.bin ]; then
mkdir -p ${DEPLOYDIR}
install ${S}/${board}/${UBOOT_TARGET}.bin ${DEPLOYDIR}/${UBOOT_TARGET}-${board}-${PV}-${PR}.bin
-
- cd ${DEPLOYDIR}
- rm -f ${UBOOT_TARGET}-${board}.bin
- ln -sf ${UBOOT_TARGET}-${board}-${PV}-${PR}.bin ${UBOOT_TARGET}-${board}.bin
+ rm -f ${DEPLOYDIR}/${UBOOT_TARGET}-${board}.bin
+ ln -sf ${UBOOT_TARGET}-${board}-${PV}-${PR}.bin ${DEPLOYDIR}/${UBOOT_TARGET}-${board}.bin
fi
done
}
--
1.9.2
More information about the meta-freescale
mailing list