[PATCH 3/3] rsb: Add Xilinx QEMU

Gedare Bloom gedare at rtems.org
Tue Jul 27 19:53:41 UTC 2021


On Mon, Jul 26, 2021 at 9:30 PM Alex White <alex.white at oarcorp.com> wrote:
>
> ---
>  bare/config/devel/qemu-xilinx-1.cfg | 28 ++++++++++++++++++++++++++++
>  bare/config/devel/qemu-xilinx.bset  | 24 ++++++++++++++++++++++++
>  2 files changed, 52 insertions(+)
>  create mode 100644 bare/config/devel/qemu-xilinx-1.cfg
>  create mode 100644 bare/config/devel/qemu-xilinx.bset
>
> diff --git a/bare/config/devel/qemu-xilinx-1.cfg b/bare/config/devel/qemu-xilinx-1.cfg
> new file mode 100644
> index 0000000..a33c6ff
> --- /dev/null
> +++ b/bare/config/devel/qemu-xilinx-1.cfg
> @@ -0,0 +1,28 @@
> +#
> +# Qemu from git
> +#
> +
> +%if %{release} == %{nil}
> + %define release 1
> +%endif
> +
> +%include %{_configdir}/base.cfg
> +
> +%include %{_configdir}/bare-config.cfg
> +
> +#
> +# Stable version. Qemu is fast moving.
> +#
> +%define qemu_version xilinx-v2020.2
I suggest you tag this cfg file with the same tag as the version in
use, e.g., qemu-xilinx-v2020.2-1.cfg

> +
> +#
> +# Use released sources.
> +#
> +%source set qemu https://github.com/Xilinx/qemu/archive/refs/tags/%{qemu_version}.tar.gz
> +%hash sha512 qemu-%{qemu_version}.tar.gz \
> +        9yIbNGYBMjc3C5XFkTnaO4PxGo4stYnWckrNHAXWGQwgppjC9hPv43BUk5ypy0y+V3dcvBg8Y+edkC+Kh2S2pQ==
> +
> +#
> +# The Qemu build instructions. We use 5.x.x Release 1.
> +#
> +%include %{_configdir}/qemu-5-1.cfg
> diff --git a/bare/config/devel/qemu-xilinx.bset b/bare/config/devel/qemu-xilinx.bset
> new file mode 100644
> index 0000000..3646743
> --- /dev/null
> +++ b/bare/config/devel/qemu-xilinx.bset
> @@ -0,0 +1,24 @@
> +#
> +# Build set for QEMU
> +#
> +
> +%define release 1
> +
> +#
> +# Name of the package.
> +#
> +package: qemu-%{qemu_version}-%{_host}-%{release}
> +
> +#
> +# A magic internal path that would break if changes in the defaults.mc
> +# macro file are made.
> +#
> +%define _internal_autotools_path %{_tmppath}/sb-%{_uid}/${SB_PREFIX_CLEAN}
> +
> +devel/autotools-internal
> +devel/libiconv-1.14-1
> +devel/gettext-0.18.3.1-1
> +devel/libffi-3.0.13-1
> +devel/pixman-0.40.0-1
> +devel/glib-2.48.2-1
> +devel/qemu-xilinx-1
> --
> 2.30.2
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list