From: Ting Liu <[email protected]>

Signed-off-by: Ting Liu <[email protected]>>
---
 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

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to