[PATCH RSB] microblaze: Fix FreeBSD 13 build

Joel Sherrill joel at rtems.org
Wed Oct 27 22:35:45 UTC 2021


Can you fix the same thing on the other architectures that include dtc? I
think the MIPS and moxie need it at least.

Also make sure to the RTEMS 7 configurations get the same change.

And.. there is a base/ bset for dtc which needs bumping.

Bet you didn't expect this much fun feedback. :)

--joel

On Wed, Oct 27, 2021, 5:27 PM Alex White <alex.white at oarcorp.com> wrote:

> This bumps the dtc version included in the MicroBlaze toolchain from
> 1.6.0 to 1.6.1. Building 1.6.0 on FreeBSD 13 was unsuccessful, but 1.6.1
> appears to build fine.
> ---
>  bare/config/devel/dtc-1.6.1-1.cfg    | 18 ++++++++++++++++++
>  rtems/config/6/rtems-microblaze.bset |  2 +-
>  2 files changed, 19 insertions(+), 1 deletion(-)
>  create mode 100644 bare/config/devel/dtc-1.6.1-1.cfg
>
> diff --git a/bare/config/devel/dtc-1.6.1-1.cfg
> b/bare/config/devel/dtc-1.6.1-1.cfg
> new file mode 100644
> index 0000000..54aed09
> --- /dev/null
> +++ b/bare/config/devel/dtc-1.6.1-1.cfg
> @@ -0,0 +1,18 @@
> +#
> +# DTC (Device Tree Compiler) 1.6.1
> +#
> +
> +%if %{release} == %{nil}
> +%define release 1
> +%endif
> +
> +%include %{_configdir}/base.cfg
> +
> +%define dtc_version 1.6.1
> +
> +%hash sha256 dtc-%{dtc_version}.tar.gz
> 38a6257f2c23cb9dfa1781ac4ad122d8358e1a22d33b2da0eb492c190644a376
> +
> +#
> +# The DTC build instructions. We use 1.x.x Release 1.
> +#
> +%include %{_configdir}/dtc-1-1.cfg
> diff --git a/rtems/config/6/rtems-microblaze.bset
> b/rtems/config/6/rtems-microblaze.bset
> index 3eb7a89..050a217 100644
> --- a/rtems/config/6/rtems-microblaze.bset
> +++ b/rtems/config/6/rtems-microblaze.bset
> @@ -6,7 +6,7 @@
>  #
>  %include 6/rtems-base.bset
>
> -devel/dtc-1.6.0-1
> +devel/dtc-1.6.1-1
>
>  #
>  # Build gdb first to raise the Python install error as early as possible.
> --
> 2.27.0
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>


More information about the devel mailing list