diff options
author | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2018-02-02 15:19:26 -0800 |
---|---|---|
committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2018-05-25 11:19:45 -0700 |
commit | f74dc3f37142c1efca6aabac243dfe6caafefccc (patch) | |
tree | 732ee8f6ce419d3ab45dd476afaf051f73932c5c | |
parent | 54e2729ed43f82b8cfd96395fb68e447a9b60f86 (diff) | |
download | meta-xilinx-f74dc3f37142c1efca6aabac243dfe6caafefccc.tar.gz |
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
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r-- | meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc | 4 |
1 files changed, 3 insertions, 1 deletions
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 90e0ab25..ec421810 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} | |||
20 | 20 | ||
21 | do_deploy_append_zcu102-zynqmp () { | 21 | do_deploy_append_zcu102-zynqmp () { |
22 | # deploy u-boot-spl.bin for use by runqemu/QEMU | 22 | # deploy u-boot-spl.bin for use by runqemu/QEMU |
23 | install -Dm 0644 ${B}/spl/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl.bin | 23 | if [ -e ${B}/spl/u-boot-spl.bin ];then |
24 | install -Dm 0644 ${B}/spl/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl.bin | ||
25 | fi | ||
24 | } | 26 | } |