[meta-xilinx] [PATCH 1/5] qemu-devicetrees: Deploying of MULTI_ARCH device trees
Alistair Francis
alistair23 at gmail.com
Wed May 24 14:17:52 PDT 2017
On Wed, May 24, 2017 at 8:47 AM, Nathan Rossi <nathan at nathanrossi.com> wrote:
> Deploy the MULTI_ARCH specific device trees for use with QEMU.
>
> Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
Reviewed-by: Alistair Francis <alistair.francis at xilinx.com>
Thanks,
Alistair
> ---
> recipes-devtools/qemu/qemu-devicetrees_2017.1.bb | 15 +++++++--------
> 1 file 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 dc38f75dc9..df9c2c8c7d 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() {
> }
>
> do_deploy() {
> + # single-arch dtbs
> for DTS_FILE in ${S}/LATEST/SINGLE_ARCH/*.dtb; do
> - if [ ! -f ${DTS_FILE} ]; then
> - bbwarn "${DTS_FILE} is not available!"
> - continue
> - fi
> - 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
> + install -Dm 0644 $DTS_FILE ${DEPLOYDIR}/qemu-hw-devicetrees/$(basename $DTS_FILE .dtb).dtb
> + done
> +
> + # multi-arch dtbs
> + for DTS_FILE in ${S}/LATEST/MULTI_ARCH/*.dtb; do
> + install -Dm 0644 $DTS_FILE ${DEPLOYDIR}/qemu-hw-devicetrees/multiarch/$(basename $DTS_FILE .dtb).dtb
> done
> }
>
> --
> 2.11.0
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
More information about the meta-xilinx
mailing list