Re: [meta-xilinx] [meta-xilinx-bsp][PATCH] u-boot-xlnx.inc: Deploy u-boot-spl.bin only if present
Applied Thanks, Manju > -Original Message- > From: Manjukumar Matha [mailto:manjukumar.harthikote-ma...@xilinx.com] > Sent: Friday, February 02, 2018 5:15 PM > To: meta-xilinx@yoctoproject.org > Cc: Manjukumar Harthikote Matha <manju...@xilinx.com> > Subject: [meta-xilinx-bsp][PATCH] u-boot-xlnx.inc: Deploy u-boot-spl.bin only > if > present > > There are instances when SPL can be completely disabled, in such cases > do_deploy will error out complaining u-boot-spl.bin not found. This patch > fixes the > issue by deploying u-boot-spl.bin only if it is present > > Signed-off-by: Manjukumar Matha <manjukumar.harthikote-ma...@xilinx.com> > --- > meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc b/meta-xilinx- > bsp/recipes-bsp/u-boot/u-boot-xlnx.inc > index f9f2a00..95051f5 100644 > --- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc > +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc > @@ -20,5 +20,7 @@ FILESEXTRAPATHS_prepend := "${@'${THISDIR}/u-boot- > xlnx/${XILINX_RELEASE_VERSION} > > do_deploy_append_zcu102-zynqmp () { > # deploy u-boot-spl.bin for use by runqemu/QEMU > - install -Dm 0644 ${B}/spl/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl.bin > + if [ -e ${B}/spl/u-boot-spl.bin ];then > + install -Dm 0644 ${B}/spl/u-boot-spl.bin ${DEPLOYDIR}/u-boot- > spl.bin > + fi > } > -- > 2.7.4 -- ___ meta-xilinx mailing list meta-xilinx@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-xilinx
[meta-xilinx] [meta-xilinx-bsp][PATCH] u-boot-xlnx.inc: Deploy u-boot-spl.bin only if present
There are instances when SPL can be completely disabled, in such cases do_deploy will error out complaining u-boot-spl.bin not found. This patch fixes the issue by deploying u-boot-spl.bin only if it is present Signed-off-by: Manjukumar Matha--- meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc index f9f2a00..95051f5 100644 --- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc @@ -20,5 +20,7 @@ FILESEXTRAPATHS_prepend := "${@'${THISDIR}/u-boot-xlnx/${XILINX_RELEASE_VERSION} do_deploy_append_zcu102-zynqmp () { # deploy u-boot-spl.bin for use by runqemu/QEMU - install -Dm 0644 ${B}/spl/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl.bin + if [ -e ${B}/spl/u-boot-spl.bin ];then + install -Dm 0644 ${B}/spl/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl.bin + fi } -- 2.7.4 This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately. -- ___ meta-xilinx mailing list meta-xilinx@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-xilinx