[PATCH RSB] microblaze: Fix FreeBSD 13 build

Alex White alex.white at oarcorp.com
Wed Oct 27 22:27:18 UTC 2021


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



More information about the devel mailing list