The basename '-s' argument is not universially supported on all
platforms. Remove the argument to allow all platforms to build the
device trees.

Signed-off-by: Alistair Francis <[email protected]>
Signed-off-by: Manjukumar Matha <[email protected]>
---
 recipes-devtools/qemu/qemu-devicetrees_2016.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-devtools/qemu/qemu-devicetrees_2016.4.bb 
b/recipes-devtools/qemu/qemu-devicetrees_2016.4.bb
index 485ae5d..c51751e 100644
--- a/recipes-devtools/qemu/qemu-devicetrees_2016.4.bb
+++ b/recipes-devtools/qemu/qemu-devicetrees_2016.4.bb
@@ -23,7 +23,7 @@ do_deploy() {
                        bbwarn "${DTS_FILE} is not available!"
                        continue
                fi
-               DTS_NAME=`basename -s .dtb ${DTS_FILE}`
+               DTS_NAME=`basename ${DTS_FILE} .dtb`
                install -d ${DEPLOYDIR}
                install -d ${DEPLOYDIR}/qemu-hw-devicetrees
                install -m 0644 ${S}/LATEST/SINGLE_ARCH/${DTS_NAME}.dtb 
${DEPLOYDIR}/qemu-hw-devicetrees/${DTS_NAME}.dtb
-- 
2.7.4

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

Reply via email to