From: Ting Liu Date: Sat, 9 Jan 2016 06:42:58 +0000 (+0800) Subject: u-boot-qoriq: avoid changing building directory X-Git-Tag: 2.1~163 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=23a8c143c4a9f1d3cb24a479e9c5e0aefd093fc4;p=meta-freescale.git u-boot-qoriq: avoid changing building directory Signed-off-by: Ting Liu > Signed-off-by: Otavio Salvador --- 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 56fd692f..73a1fdf1 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 }