diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2017-05-30 21:30:25 +1000 |
---|---|---|
committer | Nathan Rossi <nathan@nathanrossi.com> | 2017-06-03 16:55:31 +1000 |
commit | 522ff8b83f7e25fd21f01b970d61386699d5152b (patch) | |
tree | b1d88162ecea6b1de52219913376b345a6915f0d /recipes-devtools | |
parent | b9339b852c4876265d3b194cf29094012ecf2d90 (diff) | |
download | meta-xilinx-522ff8b83f7e25fd21f01b970d61386699d5152b.tar.gz |
qemu-devicetrees: Deploying of MULTI_ARCH device trees
Deploy the MULTI_ARCH specific device trees for use with QEMU.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Tested-by: Alistair Francis <alistair.francis@xilinx.com>
Diffstat (limited to 'recipes-devtools')
-rw-r--r-- | recipes-devtools/qemu/qemu-devicetrees_2017.1.bb | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/recipes-devtools/qemu/qemu-devicetrees_2017.1.bb b/recipes-devtools/qemu/qemu-devicetrees_2017.1.bb index dc38f75d..df9c2c8c 100644 --- a/recipes-devtools/qemu/qemu-devicetrees_2017.1.bb +++ b/recipes-devtools/qemu/qemu-devicetrees_2017.1.bb | |||
@@ -18,15 +18,14 @@ do_install() { | |||
18 | } | 18 | } |
19 | 19 | ||
20 | do_deploy() { | 20 | do_deploy() { |
21 | # single-arch dtbs | ||
21 | for DTS_FILE in ${S}/LATEST/SINGLE_ARCH/*.dtb; do | 22 | for DTS_FILE in ${S}/LATEST/SINGLE_ARCH/*.dtb; do |
22 | if [ ! -f ${DTS_FILE} ]; then | 23 | install -Dm 0644 $DTS_FILE ${DEPLOYDIR}/qemu-hw-devicetrees/$(basename $DTS_FILE .dtb).dtb |
23 | bbwarn "${DTS_FILE} is not available!" | 24 | done |
24 | continue | 25 | |
25 | fi | 26 | # multi-arch dtbs |
26 | DTS_NAME=`basename ${DTS_FILE} .dtb` | 27 | for DTS_FILE in ${S}/LATEST/MULTI_ARCH/*.dtb; do |
27 | install -d ${DEPLOYDIR} | 28 | install -Dm 0644 $DTS_FILE ${DEPLOYDIR}/qemu-hw-devicetrees/multiarch/$(basename $DTS_FILE .dtb).dtb |
28 | install -d ${DEPLOYDIR}/qemu-hw-devicetrees | ||
29 | install -m 0644 ${S}/LATEST/SINGLE_ARCH/${DTS_NAME}.dtb ${DEPLOYDIR}/qemu-hw-devicetrees/${DTS_NAME}.dtb | ||
30 | done | 29 | done |
31 | } | 30 | } |
32 | 31 | ||