[meta-xilinx] [PATCH 1/4] qemu-devicetrees: Change the basename arguments

Alistair Francis alistair.francis at xilinx.com
Thu Jan 26 13:23:47 PST 2017


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 <alistair.francis at xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
---
 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




More information about the meta-xilinx mailing list