summaryrefslogtreecommitdiffstats
path: root/rtems/config
diff options
context:
space:
mode:
Diffstat (limited to 'rtems/config')
-rw-r--r--rtems/config/6/rtems-aarch64.bset1
-rw-r--r--rtems/config/6/rtems-arm.bset1
-rw-r--r--rtems/config/6/rtems-autotools-base.bset9
-rw-r--r--rtems/config/6/rtems-autotools-internal.bset11
-rw-r--r--rtems/config/6/rtems-autotools.bset25
-rw-r--r--rtems/config/6/rtems-default.bset23
-rw-r--r--rtems/config/6/rtems-microblaze.bset10
-rw-r--r--rtems/config/6/rtems-mips.bset2
-rw-r--r--rtems/config/6/rtems-moxie.bset1
-rw-r--r--rtems/config/6/rtems-nios2.bset1
-rw-r--r--rtems/config/6/rtems-packages.bset1
-rw-r--r--rtems/config/6/rtems-powerpc.bset1
-rw-r--r--rtems/config/6/rtems-riscv.bset1
-rw-r--r--rtems/config/6/rtems-sparc.bset1
-rw-r--r--rtems/config/6/rtems-tools.bset2
-rw-r--r--rtems/config/6/rtems-x86_64.bset5
-rw-r--r--rtems/config/7/rtems-aarch64.bset1
-rw-r--r--rtems/config/7/rtems-arm.bset1
-rw-r--r--rtems/config/7/rtems-default.bset24
-rw-r--r--rtems/config/7/rtems-m68k.bset1
-rw-r--r--rtems/config/7/rtems-moxie.bset1
-rw-r--r--rtems/config/7/rtems-nios2.bset1
-rw-r--r--rtems/config/7/rtems-powerpc.bset1
-rw-r--r--rtems/config/7/rtems-riscv.bset1
-rw-r--r--rtems/config/7/rtems-sparc.bset1
-rw-r--r--rtems/config/bsps/atsamv.bset4
-rw-r--r--rtems/config/bsps/beagleboneblack.bset4
-rw-r--r--rtems/config/bsps/erc32.bset4
-rw-r--r--rtems/config/bsps/gr712rc.bset4
-rw-r--r--rtems/config/bsps/gr740.bset4
-rw-r--r--rtems/config/bsps/imx7.bset4
-rw-r--r--rtems/config/bsps/pc.bset4
-rw-r--r--rtems/config/bsps/qoriq_e500.bset4
-rw-r--r--rtems/config/bsps/qoriq_e6500_32.bset4
-rw-r--r--rtems/config/bsps/qoriq_e6500_64.bset4
-rw-r--r--rtems/config/bsps/raspberrypi2.bset4
-rw-r--r--rtems/config/bsps/xilinx_zynq_zc702.bset4
-rw-r--r--rtems/config/bsps/xilinx_zynq_zc706.bset4
-rw-r--r--rtems/config/bsps/xilinx_zynq_zedboard.bset4
-rw-r--r--rtems/config/graphics/libjpeg-9a-1.cfg5
-rw-r--r--rtems/config/graphics/nxlib-0.47-dev-1.cfg4
-rw-r--r--rtems/config/net-mgmt/net-snmp-5.7.2.1-1.cfg8
-rw-r--r--rtems/config/net/net-services-1.cfg23
-rw-r--r--rtems/config/net/net-services.bset15
-rw-r--r--rtems/config/rtems-bsp.cfg46
-rw-r--r--rtems/config/rtems-urls.bset2
-rw-r--r--rtems/config/tools/rtems-binutils-2.37.cfg12
-rw-r--r--rtems/config/tools/rtems-binutils-2.38.cfg12
-rw-r--r--rtems/config/tools/rtems-binutils-2.39.cfg13
-rw-r--r--rtems/config/tools/rtems-binutils-2.40.cfg13
-rw-r--r--rtems/config/tools/rtems-binutils-2.41.cfg13
-rw-r--r--rtems/config/tools/rtems-binutils-head.cfg5
-rw-r--r--rtems/config/tools/rtems-default-tools.bset29
-rw-r--r--rtems/config/tools/rtems-gcc-10-newlib-head.cfg16
-rw-r--r--rtems/config/tools/rtems-gcc-10.4-newlib-e7ffbdb.cfg27
-rw-r--r--rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg31
-rw-r--r--rtems/config/tools/rtems-gcc-12-newlib-head.cfg49
-rw-r--r--rtems/config/tools/rtems-gcc-13-newlib-head.cfg22
-rw-r--r--rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg20
-rw-r--r--rtems/config/tools/rtems-gcc-head-newlib-head.cfg12
-rw-r--r--rtems/config/tools/rtems-gdb-11.2.cfg15
-rw-r--r--rtems/config/tools/rtems-gdb-12.1.cfg15
-rw-r--r--rtems/config/tools/rtems-gdb-13.1.cfg21
-rw-r--r--rtems/config/tools/rtems-gdb-13.2.cfg17
-rw-r--r--rtems/config/tools/rtems-gdb-head.cfg5
-rw-r--r--rtems/config/tools/rtems-grub-2.06.cfg8
-rw-r--r--rtems/config/tools/rtems-kernel-6.cfg8
-rw-r--r--rtems/config/tools/rtems-kernel-common.cfg305
-rw-r--r--rtems/config/tools/rtems-libbsd-6.cfg6
-rw-r--r--rtems/config/tools/rtems-mipstx39-gdb-7.5.1-1.cfg11
-rw-r--r--rtems/config/tools/rtems-mipstx39-gdb-7.6-1.cfg11
-rw-r--r--rtems/config/tools/rtems-mipstx39-gdb-7.7-1.cfg11
-rw-r--r--rtems/config/tools/rtems-mipstx39-gdb-7.9-1.cfg11
-rw-r--r--rtems/config/tools/rtems-mipstx39-gdb-8.0.1-1.cfg3
-rw-r--r--rtems/config/tools/rtems-mipstx39-gdb-head.bset7
-rw-r--r--rtems/config/tools/rtems-mipstx39-gdb-head.cfg3
-rw-r--r--rtems/config/tools/rtems-mipstx39-gdb.bset7
-rw-r--r--rtems/config/tools/rtems-net-legacy-6.cfg10
-rw-r--r--rtems/config/tools/rtems-net-services.cfg91
-rw-r--r--rtems/config/tools/rtems-tools-6.cfg5
-rw-r--r--rtems/config/tools/rtems-xilinx-binutils-2.36.cfg67
-rw-r--r--rtems/config/tools/rtems-xilinx-gcc-10-newlib-head.cfg77
82 files changed, 846 insertions, 428 deletions
diff --git a/rtems/config/6/rtems-aarch64.bset b/rtems/config/6/rtems-aarch64.bset
index e3c91af..99051eb 100644
--- a/rtems/config/6/rtems-aarch64.bset
+++ b/rtems/config/6/rtems-aarch64.bset
@@ -1,4 +1,5 @@
%define release 1
%define rtems_arch aarch64
%define with_libgomp
+%define with_newlib_tls
%include 6/rtems-default.bset
diff --git a/rtems/config/6/rtems-arm.bset b/rtems/config/6/rtems-arm.bset
index 425d66b..c4e6613 100644
--- a/rtems/config/6/rtems-arm.bset
+++ b/rtems/config/6/rtems-arm.bset
@@ -1,4 +1,5 @@
%define release 1
%define rtems_arch arm
%define with_libgomp
+%define with_newlib_tls
%include 6/rtems-default.bset
diff --git a/rtems/config/6/rtems-autotools-base.bset b/rtems/config/6/rtems-autotools-base.bset
deleted file mode 100644
index c6819c1..0000000
--- a/rtems/config/6/rtems-autotools-base.bset
+++ /dev/null
@@ -1,9 +0,0 @@
-%define release 1
-%define rtems_arch none
-
-%include 6/rtems-base.bset
-
-package: rtems-%{rtems_version}-autotools-%{_host}-%{release}
-
-tools/rtems-autoconf-2.69-1
-tools/rtems-automake-1.12.6-1
diff --git a/rtems/config/6/rtems-autotools-internal.bset b/rtems/config/6/rtems-autotools-internal.bset
deleted file mode 100644
index 19d2f19..0000000
--- a/rtems/config/6/rtems-autotools-internal.bset
+++ /dev/null
@@ -1,11 +0,0 @@
-#
-# Do not use via the command line.
-#
-
-%define _internal_autotools yes
-%define _disable_collecting yes
-%define _disable_packaging yes
-%define _disable_reporting yes
-%define _disable_installing yes
-
-%include 6/rtems-autotools-base.bset
diff --git a/rtems/config/6/rtems-autotools.bset b/rtems/config/6/rtems-autotools.bset
deleted file mode 100644
index e57d25d..0000000
--- a/rtems/config/6/rtems-autotools.bset
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Autoconf and automake are not relocatable and cannot be cross-compiled.
-# RTEMS uses autoconf and automake and building RTEMS in the RSB requires
-# bootstrapping and this requires a current autoconf and automake. The RSB
-# provides to support by:
-#
-# 1. Building and installing autoconf and automake with a prefix to a
-# temporary internal path.
-# 2. Using the temporary internal build, build and install another copy
-# using the final prefix location.
-#
-
-#
-# 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}
-
-#
-# Disable emailing reports of this building for RTEMS.
-#
-%define mail_disable
-
-6/rtems-autotools-internal
-6/rtems-autotools-base
diff --git a/rtems/config/6/rtems-default.bset b/rtems/config/6/rtems-default.bset
index 1b60066..2d51c50 100644
--- a/rtems/config/6/rtems-default.bset
+++ b/rtems/config/6/rtems-default.bset
@@ -3,17 +3,18 @@
#
%include 6/rtems-base.bset
-6/rtems-autotools
-
#
-# Build gdb first to raise the Python install error as early as possible.
-# GDB needs expat so it needs to be built before.
+# Default RTEMS build. Override on the command line to the
+# the RSB. For example to test the latest version of gcc use:
#
+# --with-rtems-gcc=tools/rtems-gcc-head-newlib-head
+#
+%defineifnot with_rtems_dtc devel/dtc-1.6.1-1
+%defineifnot with_rtems_expat devel/expat-2.5.0-1
+%defineifnot with_rtems_gmp devel/gmp-6.3.0
+%defineifnot with_rtems_gdb tools/rtems-gdb-13.2
+%defineifnot with_rtems_binutils tools/rtems-binutils-2.41
+%defineifnot with_rtems_gcc tools/rtems-gcc-13-newlib-head
+%defineifnot with_rtems_tools tools/rtems-tools-6
-devel/expat-2.1.0-1
-devel/gmp-6.1.0
-tools/rtems-gdb-10
-
-tools/rtems-binutils-2.36
-tools/rtems-gcc-10-newlib-head
-tools/rtems-tools-6
+tools/rtems-default-tools.bset
diff --git a/rtems/config/6/rtems-microblaze.bset b/rtems/config/6/rtems-microblaze.bset
index 4b12899..f17c59d 100644
--- a/rtems/config/6/rtems-microblaze.bset
+++ b/rtems/config/6/rtems-microblaze.bset
@@ -6,18 +6,14 @@
#
%include 6/rtems-base.bset
-6/rtems-autotools
-
-devel/dtc-1.6.0-1
-
#
# Build gdb first to raise the Python install error as early as possible.
# GDB needs expat so it needs to be built before.
#
-devel/expat-2.1.0-1
-devel/gmp-6.1.0
-tools/rtems-gdb-10
+devel/expat-2.5.0-1
+devel/gmp-6.2.1
+tools/rtems-gdb-13.2
tools/rtems-xilinx-binutils-2.36
tools/rtems-xilinx-gcc-10-newlib-head
diff --git a/rtems/config/6/rtems-mips.bset b/rtems/config/6/rtems-mips.bset
index 370e5ea..6289172 100644
--- a/rtems/config/6/rtems-mips.bset
+++ b/rtems/config/6/rtems-mips.bset
@@ -3,4 +3,4 @@
%define gdb-sim-options --enable-sim-hardware
%define win32-gdb-disable-sim
%include 6/rtems-default.bset
-tools/rtems-mipstx39-gdb-head
+tools/rtems-mipstx39-gdb
diff --git a/rtems/config/6/rtems-moxie.bset b/rtems/config/6/rtems-moxie.bset
index a191c5d..c86777e 100644
--- a/rtems/config/6/rtems-moxie.bset
+++ b/rtems/config/6/rtems-moxie.bset
@@ -2,5 +2,4 @@
%define rtems_arch moxie
%define win32-gdb-disable-sim
%define with_libgomp
-devel/dtc-1.6.0-1
%include 6/rtems-default.bset
diff --git a/rtems/config/6/rtems-nios2.bset b/rtems/config/6/rtems-nios2.bset
index 522eff5..d45024d 100644
--- a/rtems/config/6/rtems-nios2.bset
+++ b/rtems/config/6/rtems-nios2.bset
@@ -1,3 +1,4 @@
%define release 1
%define rtems_arch nios2
+%define with_newlib_tls
%include 6/rtems-default.bset
diff --git a/rtems/config/6/rtems-packages.bset b/rtems/config/6/rtems-packages.bset
index edc7e6b..1f9d71d 100644
--- a/rtems/config/6/rtems-packages.bset
+++ b/rtems/config/6/rtems-packages.bset
@@ -20,5 +20,4 @@ graphics/t1lib
# Networking
#
ftp/curl
-net/lwip
net/protobuf
diff --git a/rtems/config/6/rtems-powerpc.bset b/rtems/config/6/rtems-powerpc.bset
index c19327a..3309057 100644
--- a/rtems/config/6/rtems-powerpc.bset
+++ b/rtems/config/6/rtems-powerpc.bset
@@ -1,4 +1,5 @@
%define release 1
%define rtems_arch powerpc
%define with_libgomp
+%define with_newlib_tls
%include 6/rtems-default.bset
diff --git a/rtems/config/6/rtems-riscv.bset b/rtems/config/6/rtems-riscv.bset
index ad7cb5b..ec1ab3a 100644
--- a/rtems/config/6/rtems-riscv.bset
+++ b/rtems/config/6/rtems-riscv.bset
@@ -1,5 +1,6 @@
%define release 1
%define rtems_arch riscv
%define with_libgomp
+%define with_newlib_tls
%include 6/rtems-default.bset
devel/sis-2-1
diff --git a/rtems/config/6/rtems-sparc.bset b/rtems/config/6/rtems-sparc.bset
index 48d152d..809d47e 100644
--- a/rtems/config/6/rtems-sparc.bset
+++ b/rtems/config/6/rtems-sparc.bset
@@ -1,6 +1,7 @@
%define release 1
%define rtems_arch sparc
%define with_libgomp
+%define with_newlib_tls
%define gdb-disable-sim 1
%include 6/rtems-default.bset
devel/sis-2-1
diff --git a/rtems/config/6/rtems-tools.bset b/rtems/config/6/rtems-tools.bset
index d0be01a..20e2199 100644
--- a/rtems/config/6/rtems-tools.bset
+++ b/rtems/config/6/rtems-tools.bset
@@ -14,4 +14,4 @@
#
%include rtems-base.bset
-tools/rtems-tools-6-1
+tools/rtems-tools-6
diff --git a/rtems/config/6/rtems-x86_64.bset b/rtems/config/6/rtems-x86_64.bset
index dbfc9e6..088c9f5 100644
--- a/rtems/config/6/rtems-x86_64.bset
+++ b/rtems/config/6/rtems-x86_64.bset
@@ -1,4 +1,9 @@
%define release 1
%define rtems_arch x86_64
%define with_libgomp
+%define grub2_platform efi
+%define grub2_target x86_64
+
%include 6/rtems-default.bset
+
+tools/rtems-grub-2.06
diff --git a/rtems/config/7/rtems-aarch64.bset b/rtems/config/7/rtems-aarch64.bset
index fc794aa..d899dc7 100644
--- a/rtems/config/7/rtems-aarch64.bset
+++ b/rtems/config/7/rtems-aarch64.bset
@@ -1,4 +1,5 @@
%define release 1
%define rtems_arch aarch64
%define with_libgomp
+%define with_newlib_tls
%include 7/rtems-default.bset
diff --git a/rtems/config/7/rtems-arm.bset b/rtems/config/7/rtems-arm.bset
index 7518812..a9bd612 100644
--- a/rtems/config/7/rtems-arm.bset
+++ b/rtems/config/7/rtems-arm.bset
@@ -1,4 +1,5 @@
%define release 1
%define rtems_arch arm
%define with_libgomp
+%define with_newlib_tls
%include 7/rtems-default.bset
diff --git a/rtems/config/7/rtems-default.bset b/rtems/config/7/rtems-default.bset
index acb7059..3abfd78 100644
--- a/rtems/config/7/rtems-default.bset
+++ b/rtems/config/7/rtems-default.bset
@@ -1,14 +1,20 @@
+#
+# Default tools configuration.
+#
%include 7/rtems-base.bset
#
-# Build gdb first to raise the Python install error as early as possible.
-# GDB needs expat so it needs to be built before.
+# Default RTEMS build. Override on the command line to the
+# the RSB. For example to test the latest version of gcc use:
#
+# --with-rtems-gcc=tools/rtems-gcc-head-newlib-head
+#
+%defineifnot with_rtems_dtc devel/dtc-1.6.1-1
+%defineifnot with_rtems_expat devel/expat-2.5.0-1
+%defineifnot with_rtems_gmp devel/gmp-6.2.1
+%defineifnot with_rtems_gdb tools/rtems-gdb-head
+%defineifnot with_rtems_binutils tools/rtems-binutils-head
+%defineifnot with_rtems_gcc tools/rtems-gcc-head-newlib-head
+%defineifnot with_rtems_tools tools/rtems-tools-6
-devel/expat-2.1.0-1
-devel/gmp-6.1.0
-tools/rtems-gdb-head
-
-tools/rtems-binutils-head
-tools/rtems-gcc-head-newlib-head
-tools/rtems-tools-6
+tools/rtems-default-tools.bset
diff --git a/rtems/config/7/rtems-m68k.bset b/rtems/config/7/rtems-m68k.bset
index c628971..497f42a 100644
--- a/rtems/config/7/rtems-m68k.bset
+++ b/rtems/config/7/rtems-m68k.bset
@@ -1,3 +1,4 @@
%define release 1
%define rtems_arch m68k
+%define with_newlib_tls
%include 7/rtems-default.bset
diff --git a/rtems/config/7/rtems-moxie.bset b/rtems/config/7/rtems-moxie.bset
index 60fe7f4..8cd3642 100644
--- a/rtems/config/7/rtems-moxie.bset
+++ b/rtems/config/7/rtems-moxie.bset
@@ -2,5 +2,4 @@
%define rtems_arch moxie
%define win32-gdb-disable-sim
%define with_libgomp
-devel/dtc-1.6.0-1
%include 7/rtems-default.bset
diff --git a/rtems/config/7/rtems-nios2.bset b/rtems/config/7/rtems-nios2.bset
index 735497f..a56aaeb 100644
--- a/rtems/config/7/rtems-nios2.bset
+++ b/rtems/config/7/rtems-nios2.bset
@@ -1,3 +1,4 @@
%define release 1
%define rtems_arch nios2
+%define with_newlib_tls
%include 7/rtems-default.bset
diff --git a/rtems/config/7/rtems-powerpc.bset b/rtems/config/7/rtems-powerpc.bset
index 3da8841..4438550 100644
--- a/rtems/config/7/rtems-powerpc.bset
+++ b/rtems/config/7/rtems-powerpc.bset
@@ -1,4 +1,5 @@
%define release 1
%define rtems_arch powerpc
%define with_libgomp
+%define with_newlib_tls
%include 7/rtems-default.bset
diff --git a/rtems/config/7/rtems-riscv.bset b/rtems/config/7/rtems-riscv.bset
index 441203e..3f81152 100644
--- a/rtems/config/7/rtems-riscv.bset
+++ b/rtems/config/7/rtems-riscv.bset
@@ -1,4 +1,5 @@
%define release 1
%define rtems_arch riscv
%define with_libgomp
+%define with_newlib_tls
%include 7/rtems-default.bset
diff --git a/rtems/config/7/rtems-sparc.bset b/rtems/config/7/rtems-sparc.bset
index a147b8f..3c0d8f0 100644
--- a/rtems/config/7/rtems-sparc.bset
+++ b/rtems/config/7/rtems-sparc.bset
@@ -1,6 +1,7 @@
%define release 1
%define rtems_arch sparc
%define with_libgomp
+%define with_newlib_tls
%define gdb-disable-sim 1
%include 7/rtems-default.bset
devel/sis-2-1
diff --git a/rtems/config/bsps/atsamv.bset b/rtems/config/bsps/atsamv.bset
index 6b2dcf5..c26886b 100644
--- a/rtems/config/bsps/atsamv.bset
+++ b/rtems/config/bsps/atsamv.bset
@@ -1,8 +1,6 @@
%define mail_single_report 1
-%define with_rtems_bsp atsamv
-%define rtems_target arm-rtems%{rtems_version}
-%define rtems_host %{rtems_target}
+%define with_rtems_bsp arm/atsamv
6/rtems-arm
6/rtems-kernel
diff --git a/rtems/config/bsps/beagleboneblack.bset b/rtems/config/bsps/beagleboneblack.bset
index 33954d8..2518c96 100644
--- a/rtems/config/bsps/beagleboneblack.bset
+++ b/rtems/config/bsps/beagleboneblack.bset
@@ -11,9 +11,7 @@
%define mail_single_report 1
-%define with_rtems_bsp beagleboneblack
-%define rtems_target arm-rtems%{rtems_version}
-%define rtems_host %{rtems_target}
+%define with_rtems_bsp arm/beagleboneblack
6/rtems-arm
6/rtems-kernel
diff --git a/rtems/config/bsps/erc32.bset b/rtems/config/bsps/erc32.bset
index bd27833..fd937cd 100644
--- a/rtems/config/bsps/erc32.bset
+++ b/rtems/config/bsps/erc32.bset
@@ -11,9 +11,7 @@
%define mail_single_report 1
-%define with_rtems_bsp erc32
-%define rtems_target sparc-rtems%{rtems_version}
-%define rtems_host %{rtems_target}
+%define with_rtems_bsp sparc/erc32
6/rtems-sparc
6/rtems-kernel
diff --git a/rtems/config/bsps/gr712rc.bset b/rtems/config/bsps/gr712rc.bset
index e74a984..c6ae58a 100644
--- a/rtems/config/bsps/gr712rc.bset
+++ b/rtems/config/bsps/gr712rc.bset
@@ -1,8 +1,6 @@
%define mail_single_report 1
-%define with_rtems_bsp gr712rc
-%define rtems_target sparc-rtems%{rtems_version}
-%define rtems_host %{rtems_target}
+%define with_rtems_bsp sparc/gr712rc
6/rtems-sparc
6/rtems-kernel
diff --git a/rtems/config/bsps/gr740.bset b/rtems/config/bsps/gr740.bset
index 79b8ef1..7ead2bd 100644
--- a/rtems/config/bsps/gr740.bset
+++ b/rtems/config/bsps/gr740.bset
@@ -1,8 +1,6 @@
%define mail_single_report 1
-%define with_rtems_bsp gr740
-%define rtems_target sparc-rtems%{rtems_version}
-%define rtems_host %{rtems_target}
+%define with_rtems_bsp sparc/gr740
6/rtems-sparc
6/rtems-kernel
diff --git a/rtems/config/bsps/imx7.bset b/rtems/config/bsps/imx7.bset
index e49e979..8cf89cd 100644
--- a/rtems/config/bsps/imx7.bset
+++ b/rtems/config/bsps/imx7.bset
@@ -1,8 +1,6 @@
%define mail_single_report 1
-%define with_rtems_bsp imx7
-%define rtems_target arm-rtems%{rtems_version}
-%define rtems_host %{rtems_target}
+%define with_rtems_bsp arm/imx7
6/rtems-arm
6/rtems-kernel
diff --git a/rtems/config/bsps/pc.bset b/rtems/config/bsps/pc.bset
index 57212f6..e47e702 100644
--- a/rtems/config/bsps/pc.bset
+++ b/rtems/config/bsps/pc.bset
@@ -11,9 +11,7 @@
%define mail_single_report 1
-%define with_rtems_bsp pc686
-%define rtems_target i386-rtems%{rtems_version}
-%define rtems_host %{rtems_target}
+%define with_rtems_bsp i386/pc686
6/rtems-i386
6/rtems-kernel
diff --git a/rtems/config/bsps/qoriq_e500.bset b/rtems/config/bsps/qoriq_e500.bset
index 2011d75..be3a332 100644
--- a/rtems/config/bsps/qoriq_e500.bset
+++ b/rtems/config/bsps/qoriq_e500.bset
@@ -1,8 +1,6 @@
%define mail_single_report 1
-%define with_rtems_bsp qoriq_e500
-%define rtems_target powerpc-rtems%{rtems_version}
-%define rtems_host %{rtems_target}
+%define with_rtems_bsp powerpc/qoriq_e500
6/rtems-powerpc
6/rtems-kernel
diff --git a/rtems/config/bsps/qoriq_e6500_32.bset b/rtems/config/bsps/qoriq_e6500_32.bset
index 419f334..d072293 100644
--- a/rtems/config/bsps/qoriq_e6500_32.bset
+++ b/rtems/config/bsps/qoriq_e6500_32.bset
@@ -1,8 +1,6 @@
%define mail_single_report 1
-%define with_rtems_bsp qoriq_e6500_32
-%define rtems_target powerpc-rtems%{rtems_version}
-%define rtems_host %{rtems_target}
+%define with_rtems_bsp powerpc/qoriq_e6500_32
6/rtems-powerpc
6/rtems-kernel
diff --git a/rtems/config/bsps/qoriq_e6500_64.bset b/rtems/config/bsps/qoriq_e6500_64.bset
index 2d02b26..7bcd3b8 100644
--- a/rtems/config/bsps/qoriq_e6500_64.bset
+++ b/rtems/config/bsps/qoriq_e6500_64.bset
@@ -1,8 +1,6 @@
%define mail_single_report 1
-%define with_rtems_bsp qoriq_e6500_64
-%define rtems_target powerpc-rtems%{rtems_version}
-%define rtems_host %{rtems_target}
+%define with_rtems_bsp powerpc/qoriq_e6500_64
6/rtems-powerpc
6/rtems-kernel
diff --git a/rtems/config/bsps/raspberrypi2.bset b/rtems/config/bsps/raspberrypi2.bset
index 83b12ea..c1d0f35 100644
--- a/rtems/config/bsps/raspberrypi2.bset
+++ b/rtems/config/bsps/raspberrypi2.bset
@@ -11,9 +11,7 @@
%define mail_single_report 1
-%define with_rtems_bsp raspberrypi2
-%define rtems_target arm-rtems%{rtems_version}
-%define rtems_host %{rtems_target}
+%define with_rtems_bsp arm/raspberrypi2
6/rtems-arm
6/rtems-kernel
diff --git a/rtems/config/bsps/xilinx_zynq_zc702.bset b/rtems/config/bsps/xilinx_zynq_zc702.bset
index 295c841..147bb7a 100644
--- a/rtems/config/bsps/xilinx_zynq_zc702.bset
+++ b/rtems/config/bsps/xilinx_zynq_zc702.bset
@@ -11,9 +11,7 @@
%define mail_single_report 1
-%define with_rtems_bsp xilinx_zynq_zc702
-%define rtems_target arm-rtems%{rtems_version}
-%define rtems_host %{rtems_target}
+%define with_rtems_bsp arm/xilinx_zynq_zc702
6/rtems-arm
6/rtems-kernel
diff --git a/rtems/config/bsps/xilinx_zynq_zc706.bset b/rtems/config/bsps/xilinx_zynq_zc706.bset
index 8b493cf..24d2e20 100644
--- a/rtems/config/bsps/xilinx_zynq_zc706.bset
+++ b/rtems/config/bsps/xilinx_zynq_zc706.bset
@@ -11,9 +11,7 @@
%define mail_single_report 1
-%define with_rtems_bsp xilinx_zynq_zc706
-%define rtems_target arm-rtems%{rtems_version}
-%define rtems_host %{rtems_target}
+%define with_rtems_bsp arm/xilinx_zynq_zc706
6/rtems-arm
6/rtems-kernel
diff --git a/rtems/config/bsps/xilinx_zynq_zedboard.bset b/rtems/config/bsps/xilinx_zynq_zedboard.bset
index 801c6c9..60d4e75 100644
--- a/rtems/config/bsps/xilinx_zynq_zedboard.bset
+++ b/rtems/config/bsps/xilinx_zynq_zedboard.bset
@@ -11,9 +11,7 @@
%define mail_single_report 1
-%define with_rtems_bsp xilinx_zynq_zedboard
-%define rtems_target arm-rtems%{rtems_version}
-%define rtems_host %{rtems_target}
+%define with_rtems_bsp arm/xilinx_zynq_zedboard
6/rtems-arm
6/rtems-kernel
diff --git a/rtems/config/graphics/libjpeg-9a-1.cfg b/rtems/config/graphics/libjpeg-9a-1.cfg
index fef32d6..593bd31 100644
--- a/rtems/config/graphics/libjpeg-9a-1.cfg
+++ b/rtems/config/graphics/libjpeg-9a-1.cfg
@@ -1,5 +1,5 @@
#
-# NTP 4.2.6p5
+# JPEG
#
%if %{release} == %{nil}
@@ -13,7 +13,8 @@
#
%define libjpeg_version 9a
-%hash sha512 jpegsrc.v%{libjpeg_version}.tar.gz 9b21cc115e22c68bea46db462263c5c7a0d10beb192a919ecccbd801a25982b518ce44d8c301dd582ecaba1850e0e0f20e322be82b0e24ae917b9949b4f10d3b
+%hash sha512 jpegsrc.v%{libjpeg_version}.tar.gz \
+ iu2Aee2pRisVF0faGrRM5QfqfBZAxATPfrWrVWxYpHdCyj+sZwgM/6dOWUC8dc87Qej8X+j6UXYh15NiGktHrg==
#
# libjpeg Build configuration
diff --git a/rtems/config/graphics/nxlib-0.47-dev-1.cfg b/rtems/config/graphics/nxlib-0.47-dev-1.cfg
index deed54e..aec6806 100644
--- a/rtems/config/graphics/nxlib-0.47-dev-1.cfg
+++ b/rtems/config/graphics/nxlib-0.47-dev-1.cfg
@@ -11,7 +11,9 @@
#
# nxlib Version
#
-%define nxlib_version 0.47-dev
+%define nxlib_version 71d911dc3e
+%hash sha512 nxlib-%{nxlib_version}.tar.gz \
+ 6D1p1ryhBGVAqIaqz4Z71vFWZGusG1bB2F1WCy+aS9DTMCG76shIr4LajCMuM+qYrDui+ZCIYbH5ydLPQHHtig==
#
# nxlib Build configuration
diff --git a/rtems/config/net-mgmt/net-snmp-5.7.2.1-1.cfg b/rtems/config/net-mgmt/net-snmp-5.7.2.1-1.cfg
index e4fe63e..9403605 100644
--- a/rtems/config/net-mgmt/net-snmp-5.7.2.1-1.cfg
+++ b/rtems/config/net-mgmt/net-snmp-5.7.2.1-1.cfg
@@ -13,7 +13,8 @@
#
%define net_snmp_version 5.7.2.1
-%hash sha512 net-snmp-%{net_snmp_version}.tar.gz 6c4dadd145cab9572e2559ad99d6794469685086771c6d757d3667da1a061ab86746d53c28d48381c59a90d92b1812b813f3176cff156c41929177fb585299d0
+%hash sha512 net-snmp-%{net_snmp_version}.tar.gz \
+ bE2t0UXKuVcuJVmtmdZ5RGloUIZ3HG11fTZn2hoGGrhnRtU8KNSDgcWakNkrGBK4E/MXbP8VbEGSkXf7WFKZ0A==
#
# We need some special flags to build this version.
@@ -23,8 +24,9 @@
#
# Patch for RTEMS support.
#
-%patch add net-snmp %{rtems_git_tools}/net-snmp/rtems-net-snmp-5.7.2.1-20190704.patch
-#%hash sha512 rtems-net-snmp-5.7.2.1-20140623.patch 4eb987d88c6414f2e07d725c2ebb3e88a40191c7befce879cae9ef67143dc25aa88942cfc525d36cd3683476d1cc0f5882d4a730d3bb9c53be2c7a079874d7dd
+%patch add net-snmp %{rtems_devel_ticket}/4703/rtems-net-snmp-5.7.2.1-20140623.patch
+%hash sha512 rtems-net-snmp-5.7.2.1-20140623.patch \
+ TrmH2IxkFPLgfXJcLrs+iKQBkce+/Oh5yunvZxQ9wlqoiULPxSXTbNNoNHbRzA9YgtSnMNO7nFO+LHoHmHTX3Q==
#
# NetSNMP Build configuration
diff --git a/rtems/config/net/net-services-1.cfg b/rtems/config/net/net-services-1.cfg
new file mode 100644
index 0000000..393b24f
--- /dev/null
+++ b/rtems/config/net/net-services-1.cfg
@@ -0,0 +1,23 @@
+#
+# RTEMS Net Services
+#
+
+%if %{release} == %{nil}
+ %define release 1
+%endif
+
+#
+# Net Services Version
+#
+%define rtems_net_services_version 1651ac768f744725708c4328745665e1e7fa3c26
+%hash sha512 rtems-net-services-%{rtems_net_services_version}.tar.bz2 \
+ +czrODTpJF+nvMF4TFQFi3qn3k+X/N4JnxHFChrWGXAnaBQayjEkSNObhmETG3qe/ET8dhXHwJs/1A3A7e3uLA==
+
+%define rtems_waf_version 68654b4f995382765605dc16917baad4bdbf7f7c
+%hash sha512 rtems_waf-%{rtems_waf_version}.tar.bz2 \
+ NAuyFxjfSiQd6VfYZl4fJClywPrLF2fN+GjXHjq3ddceqaBrSeHZ+XpYpU3XTnk2qKICsUSTLV+CskDuWdwqvQ==
+
+#
+# Net Services Build configuration
+#
+%include %{_configdir}/tools/rtems-net-services.cfg
diff --git a/rtems/config/net/net-services.bset b/rtems/config/net/net-services.bset
new file mode 100644
index 0000000..7d90399
--- /dev/null
+++ b/rtems/config/net/net-services.bset
@@ -0,0 +1,15 @@
+#
+# Build set for RTEMS Net Services
+#
+
+%define release 1
+
+#
+# The RTEMS Package defines
+#
+%include rtems-package.bset
+
+#
+# Build Net Services
+#
+net/net-services-1
diff --git a/rtems/config/rtems-bsp.cfg b/rtems/config/rtems-bsp.cfg
index 801cd5c..4f9343a 100644
--- a/rtems/config/rtems-bsp.cfg
+++ b/rtems/config/rtems-bsp.cfg
@@ -40,28 +40,44 @@
%{pkgconfig filter-flags yes}
#
-# We need a host from the user to specifiy the RTEMS architecture and major
-# version. It can be defined in rtems_host.
+# We need a BSP from the user.
#
-%if %{defined rtems_host}
- %{triplet _host %{rtems_host}}
-%endif
-%if %{rtems_bsp_error}
- %if %{_host} == %{nil} || %{_host} == %{_build}
- %error No RTEMS host or BSP specified: --host=<arch>-rtems<ver>
+%if %{defined with_rtems_bsp_config}
+ %define rtems_bsp %(%{_sbdir}/sb/rtems-kernel-config-check \
+ -c %{with_rtems_bsp_config})
+%else
+ %ifn %{defined with_rtems_bsp}
+ %if %{rtems_bsp_error}
+ %error No RTEMS BSP specified: --with-rtems-bsp=bsp
+ %endif
+ %define with_rtems_bsp sparc/erc32
%endif
+ %define rtems_bsp %{with_rtems_bsp}
%endif
#
-# We need a BSP from the user.
+# Count the BSPs. Currently only one is supported
#
-%ifn %{defined with_rtems_bsp}
- %if %{rtems_bsp_error}
- %error No RTEMS BSP specified: --with-rtems-bsp=bsp
- %endif
- %define with_rtems_bsp sparc/erc32
+%define rtems_bsp_count %(echo %{rtems_bsp} | tr ' ' '\n' | wc -l)
+
+%if %{rtems_bsp_count} > 1
+ %error RTEMS packages do not support multiple BSP builds
+%endif
+
+#
+# Separate out the arch and bsp
+#
+%define rtems_arch %(echo %{rtems_bsp} | sed -e 's^\/.*^^g')
+%define rtems_bsp %(echo %{rtems_bsp} | sed -e 's^.*\/^^g')
+
+#
+# We need a host from the user to specifiy the RTEMS architecture and major
+# version. It can be defined in rtems_host.
+#
+%if !%{defined rtems_host}
+ %define rtems_host %{rtems_arch}-rtems%{rtems_version}
%endif
-%define rtems_bsp %{with_rtems_bsp}
+%{triplet _host %{rtems_host}}
#
# If no tools or RTEMS provided use the prefix. If staging use the staging
diff --git a/rtems/config/rtems-urls.bset b/rtems/config/rtems-urls.bset
index 91e4bad..7dfab90 100644
--- a/rtems/config/rtems-urls.bset
+++ b/rtems/config/rtems-urls.bset
@@ -6,6 +6,8 @@
# The RTEMS http git URL.
#
%define rtems_http_git https://git.rtems.org
+%define rtems_http_devel https://devel.rtems.org
+%define rtems_devel_ticket https://devel.rtems.org/raw-attachment/ticket
%define rtems_git_tools %{rtems_http_git}/rtems-tools/plain/tools/%{rtems_version}
%define rtems_autoconf_patches %{rtems_git_tools}/autoconf
%define rtems_automake_patches %{rtems_git_tools}/automake
diff --git a/rtems/config/tools/rtems-binutils-2.37.cfg b/rtems/config/tools/rtems-binutils-2.37.cfg
new file mode 100644
index 0000000..8cbe738
--- /dev/null
+++ b/rtems/config/tools/rtems-binutils-2.37.cfg
@@ -0,0 +1,12 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define binutils_version 2.37
+#%define binutils_external 1
+
+%hash sha512 binutils-%{binutils_version}.tar.bz2 s/UYRpf3fpTJXUj2h53iFOteF6pu+OlvZVMNFX5RWxri8pDphFPk/xJkYlIPoPY4UrbhyPuzl+0uQZhDNrx4xg==
+
+%define with_deterministic_archives 1
+%define with_64_bit_bfd 1
+
+%include %{_configdir}/binutils-2-1.cfg
diff --git a/rtems/config/tools/rtems-binutils-2.38.cfg b/rtems/config/tools/rtems-binutils-2.38.cfg
new file mode 100644
index 0000000..feac42f
--- /dev/null
+++ b/rtems/config/tools/rtems-binutils-2.38.cfg
@@ -0,0 +1,12 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define binutils_version 2.38
+#%define binutils_external 1
+
+%hash sha512 binutils-%{binutils_version}.tar.bz2 7690b4158bd6587a85c6b98903980b9ac6f16b47f7fd1e60986b0a70388bedcfdc05d75597aa49c81fec1609ce24bed6c26583f76fd2471a9d63394fd9798afc
+
+%define with_deterministic_archives 1
+%define with_64_bit_bfd 1
+
+%include %{_configdir}/binutils-2-1.cfg
diff --git a/rtems/config/tools/rtems-binutils-2.39.cfg b/rtems/config/tools/rtems-binutils-2.39.cfg
new file mode 100644
index 0000000..fd3d8d6
--- /dev/null
+++ b/rtems/config/tools/rtems-binutils-2.39.cfg
@@ -0,0 +1,13 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define binutils_version 2.39
+#%define binutils_external 1
+
+%hash sha512 binutils-%{binutils_version}.tar.bz2 \
+ +qWS3Uj8cVkBrXBKyW29NLF5LFHnfHqSo4eWSwcAcDx0vgfeRcxHUZRcjAZ0Noxz3Be7xWPR0s0jW169jG5++w==
+
+%define with_deterministic_archives 1
+%define with_64_bit_bfd 1
+
+%include %{_configdir}/binutils-2-1.cfg
diff --git a/rtems/config/tools/rtems-binutils-2.40.cfg b/rtems/config/tools/rtems-binutils-2.40.cfg
new file mode 100644
index 0000000..87f634b
--- /dev/null
+++ b/rtems/config/tools/rtems-binutils-2.40.cfg
@@ -0,0 +1,13 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define binutils_version 2.40
+#%define binutils_external 1
+
+%hash sha512 binutils-%{binutils_version}.tar.bz2 \
+ MCVjYpRRhDKcmUcw9g2EkyklR+Dl3l9J1XSQ2NmxoKGDk79/cJNLpQYe4gAexMv18gbTEN+VEqf7NiWjYuNY+Q==
+
+%define with_deterministic_archives 1
+%define with_64_bit_bfd 1
+
+%include %{_configdir}/binutils-2-1.cfg
diff --git a/rtems/config/tools/rtems-binutils-2.41.cfg b/rtems/config/tools/rtems-binutils-2.41.cfg
new file mode 100644
index 0000000..6995946
--- /dev/null
+++ b/rtems/config/tools/rtems-binutils-2.41.cfg
@@ -0,0 +1,13 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define binutils_version 2.41
+#%define binutils_external 1
+
+%hash sha512 binutils-%{binutils_version}.tar.bz2 \
+ jEMDFFJi6EWY2CjhpkZd2/Wo/3V+/j/ZgZSIVPMrMRr+WxVL45ZuUNhc9dJSF1ZMH1GdGXFlqsjoLvytyeHkfA==
+
+%define with_deterministic_archives 1
+%define with_64_bit_bfd 1
+
+%include %{_configdir}/binutils-2-1.cfg
diff --git a/rtems/config/tools/rtems-binutils-head.cfg b/rtems/config/tools/rtems-binutils-head.cfg
index 46abb68..3516d2c 100644
--- a/rtems/config/tools/rtems-binutils-head.cfg
+++ b/rtems/config/tools/rtems-binutils-head.cfg
@@ -1,11 +1,12 @@
%include %{_configdir}/checks.cfg
%include %{_configdir}/base.cfg
-%define binutils_version 3b2bef8
+%define binutils_version eb42bb1
%define binutils_external 1
%define binutils_expand_name sourceware-mirror-binutils-gdb-%{binutils_version}
%source set binutils --rsb-file=%{binutils_expand_name}.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/%{binutils_version}
-%hash sha512 %{binutils_expand_name}.tar.gz b50bf8c83e7fb3e9654ff232df42b44b312488caa3b6ab0f53e2041e632b0f0235007866d0f191b7462a153c1c9b85a822e0ddd9c8d8a78c13e51177d9390e74
+%hash sha512 %{binutils_expand_name}.tar.gz \
+ qDuLOqwQ/kQX30hIu5UVDqMuKjnpoKTEZ4xo85lrzq6VtnCd6nwdO5t9szbhJc4P1UWww9rRNMcqj7d2BKeNqg==
%define with_deterministic_archives 1
%define with_64_bit_bfd 1
diff --git a/rtems/config/tools/rtems-default-tools.bset b/rtems/config/tools/rtems-default-tools.bset
new file mode 100644
index 0000000..35c9235
--- /dev/null
+++ b/rtems/config/tools/rtems-default-tools.bset
@@ -0,0 +1,29 @@
+#
+# Default tools build
+#
+
+# GCC requires a GNU sed so build an internal version if one is not
+# available
+#
+%define _internal_gsed_path %{_tmpinternal}
+%defineifnot with_rtems_gsed textproc/gsed-internal
+
+# GNU tools need texinfo for makeinfo to build documentation
+%define _internal_texinfo_path %{_tmpinternal}
+%defineifnot with_rtems_texinfo print/texinfo-internal
+
+#
+# Build gdb first to raise the Python install error as early as
+# possible.
+#
+# GCC and GDB need GMP.
+#
+%{with_rtems_dtc}
+%{with_rtems_expat}
+%{with_rtems_gmp}
+%{with_rtems_gsed}
+%{with_rtems_texinfo}
+%{with_rtems_gdb}
+%{with_rtems_binutils}
+%{with_rtems_gcc}
+%{with_rtems_tools}
diff --git a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
index 399710c..1627dac 100644
--- a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
@@ -1,26 +1,28 @@
%include %{_configdir}/checks.cfg
%include %{_configdir}/base.cfg
-%define gcc_version 348fb9d
+%define gcc_version d04fe55
%define gcc_external 1
%define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
%source set gcc --rsb-file=%{gcc_expand_name}.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
-%hash sha512 %{gcc_expand_name}.tar.gz 207eedc02ce5426e9b553d72117653a58ceb3f59b3c9413569ee31a4956ee2597e9562cff862c2be88ec0466739c6599f372760d2ad8c1340bb1d2e0ef714a89
+%hash sha512 %{gcc_expand_name}.tar.gz \
+ Q6zRH0E9Z2g7vWiUbmySp1zk4BnRAZQH6hPys1gQLh0dDF4V5T/usDuvL8vVFhphzEB1QXGf0Okr8Uy1FL/ioA==
-%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4196/0001-Back-port-v5-of-__gcov_info_to_gcda-to-GCC-10.patch
-%hash sha512 0001-Back-port-v5-of--gcov-info-to-gcda-to-GCC-10.patch 155dcd7b7d2c13a8739b6ce8283e580ac707bad91d02a8fe8b519c483047283fd21d78a0c1f84b8a9b0975988517e7af5b488c359b7de2077b5d8733cc35002e
+%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4196/0001-Back-port-v8-of-gcov-improvements-to-GCC-10.patch
+%hash sha512 0001-Back-port-v8-of-gcov-improvements-to-GCC-10.patch c2d1faed68aa0f60bef917365545cc4cc899df428a5d08f178417c06def4fd3cd3a749c1871c8a22552022c29dfae4a3d21161e2b01291e458ea8d670f01887e
%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4215/0001-nios2-Remove-custom-instruction-warnings.patch
%hash sha512 0001-nios2-Remove-custom-instruction-warnings.patch afd8a5e6bdcc5b75d5fbbf558bdf56ccac400521a6eec9d88cc95f6be67c481f2dbf8faa0f6ddc1e4ac7c56a84938714d80e46e9cf80ec4b8fcd739986449881
-%define newlib_version 9069cb9
+%define newlib_version 176b19f
%define newlib_external 1
%define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version}
%source set newlib --rsb-file=newlib-%{newlib_version}.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/%{newlib_version}
-%hash sha512 newlib-%{newlib_version}.tar.gz r/FkML8n7cTUGaWik8RqdCXuoxfT9N26aWXw404TkQOFiHnCXBT8P1kxGhCEptOpNqaIRsgamvWx5RPowpXqqg==
+%hash sha512 newlib-%{newlib_version}.tar.gz \
+ ZUzGjXI3ZJ6GrxMXggg+jIO0nyi+edKoilckRxtujsOiwhOyITahIqcOHhZiX5nd4E4UX9p3BSDima/Fd0Gr0w==
%define with_threads 1
%define with_plugin 0
%define with_iconv 1
-%include %{_configdir}/gcc-9.cfg
+%include %{_configdir}/gcc-10.cfg
diff --git a/rtems/config/tools/rtems-gcc-10.4-newlib-e7ffbdb.cfg b/rtems/config/tools/rtems-gcc-10.4-newlib-e7ffbdb.cfg
new file mode 100644
index 0000000..4d6c592
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-10.4-newlib-e7ffbdb.cfg
@@ -0,0 +1,27 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gcc_version 10.4.0
+%source set gcc https://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.xz
+%hash sha512 gcc-%{gcc_version}.tar.xz 440c08ca746da450d9a1b35e8fd2305cb27e7e6987cd9d0f7d375f3b1fc9e4b0bd7acb3cd7bf795e72fcbead59cdef5b6c152862f5d35cd9fbfe6902101ce648
+
+%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4196/0001-Back-port-v8-of-gcov-improvements-to-GCC-10.patch
+%hash sha512 0001-Back-port-v8-of-gcov-improvements-to-GCC-10.patch c2d1faed68aa0f60bef917365545cc4cc899df428a5d08f178417c06def4fd3cd3a749c1871c8a22552022c29dfae4a3d21161e2b01291e458ea8d670f01887e
+
+%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4215/0001-nios2-Remove-custom-instruction-warnings.patch
+%hash sha512 0001-nios2-Remove-custom-instruction-warnings.patch afd8a5e6bdcc5b75d5fbbf558bdf56ccac400521a6eec9d88cc95f6be67c481f2dbf8faa0f6ddc1e4ac7c56a84938714d80e46e9cf80ec4b8fcd739986449881
+
+%patch add newlib -p1 https://devel.rtems.org/raw-attachment/ticket/4510/0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch
+%hash sha512 0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch 7ca237eabfd5b382713186e1fc290dfc999a353315795ecb8dd0d22fcd1ab7f5bf31f4329954adab91ad04c100dcac0e86d406fdbce8f82cf9dc23842c88caf6
+
+%define newlib_version e7ffbdb
+%define newlib_external 1
+%define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version}
+%source set newlib --rsb-file=newlib-%{newlib_version}.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/%{newlib_version}
+%hash sha512 newlib-%{newlib_version}.tar.gz 11ad5b95aa3d9eb8475104de944e47810b5447d52d3a531187b62d12aa8b28c96cc6f1c5c4f9ddc85231a602de533cc531b430aecb3059098a06db81332a0b53
+
+%define with_threads 1
+%define with_plugin 0
+%define with_iconv 1
+
+%include %{_configdir}/gcc-10.cfg
diff --git a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
new file mode 100644
index 0000000..315f70b
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
@@ -0,0 +1,31 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gcc_version 10.4.0
+%source set gcc https://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.xz
+%hash sha512 gcc-%{gcc_version}.tar.xz 440c08ca746da450d9a1b35e8fd2305cb27e7e6987cd9d0f7d375f3b1fc9e4b0bd7acb3cd7bf795e72fcbead59cdef5b6c152862f5d35cd9fbfe6902101ce648
+
+%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4196/0001-Back-port-v8-of-gcov-improvements-to-GCC-10.patch
+%hash sha512 0001-Back-port-v8-of-gcov-improvements-to-GCC-10.patch c2d1faed68aa0f60bef917365545cc4cc899df428a5d08f178417c06def4fd3cd3a749c1871c8a22552022c29dfae4a3d21161e2b01291e458ea8d670f01887e
+
+%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4560/gcc-10-RTEMS-Use-local-exec-TLS-model-by-default.patch
+%hash sha512 gcc-10-RTEMS-Use-local-exec-TLS-model-by-default.patch 6f74431d0862de65d93c01a09db05593b9f45607ffaa5bca2477a4d538cdde25de72875821db89001612e8b68c65af32ea6c6f6feb77658b98d311f3383c39a1
+
+%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4668/gcc-10-RTEMS-Enable-some-features-in-libstdc.patch
+%hash sha512 gcc-10-RTEMS-Enable-some-features-in-libstdc.patch a8186e3a0eb2b850b048242a6990db35feb4549dac089ebf90b06aef9f72839da74b97b41f4aefb2a76e9ca0c3c2baeb22b89ada0b6600f00162b31e50ccad57
+
+%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4215/0001-nios2-Remove-custom-instruction-warnings.patch
+%hash sha512 0001-nios2-Remove-custom-instruction-warnings.patch afd8a5e6bdcc5b75d5fbbf558bdf56ccac400521a6eec9d88cc95f6be67c481f2dbf8faa0f6ddc1e4ac7c56a84938714d80e46e9cf80ec4b8fcd739986449881
+
+%define newlib_version 176b19f
+%define newlib_external 1
+%define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version}
+%source set newlib --rsb-file=newlib-%{newlib_version}.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/%{newlib_version}
+%hash sha512 newlib-%{newlib_version}.tar.gz \
+ ZUzGjXI3ZJ6GrxMXggg+jIO0nyi+edKoilckRxtujsOiwhOyITahIqcOHhZiX5nd4E4UX9p3BSDima/Fd0Gr0w==
+
+%define with_threads 1
+%define with_plugin 0
+%define with_iconv 1
+
+%include %{_configdir}/gcc-10.cfg
diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
new file mode 100644
index 0000000..4387486
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
@@ -0,0 +1,49 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gcc_version a285310
+%define gcc_external 1
+%define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
+%source set gcc --rsb-file=%{gcc_expand_name}.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
+%hash sha512 %{gcc_expand_name}.tar.gz \
+ sYxUkDJD7qaCzXndAljnAQMbmssg7AY97cBAMjwqDSC6vxseGSzvO8LGMW46ASM6Zq2frKj8XVj27GnPmwSIXQ==
+
+%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4196/0001-Back-port-v1-of-gcov-tool-merge-stream-to-GCC-12.patch
+%hash sha512 0001-Back-port-v1-of-gcov-tool-merge-stream-to-GCC-12.patch \
+ QT8UN0hW+L/Su5Slbxhg//j+mpNvM8lv32paDFow4s99BQJtAzjoswAVqT2AFppgI5cHa5R8gpKsW1zcIjfsTg==
+
+%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4560/gcc-12-RTEMS-Use-local-exec-TLS-model-by-default.patch
+%hash sha512 gcc-12-RTEMS-Use-local-exec-TLS-model-by-default.patch \
+ u6rhKhbCXwpX2Dib/YYMRRwYqRc+9Mf3MFUBAgwYQ6AFy/4VbVFpTLyzReMIkEC1Dumq66qABQPalh9YHTDwxA==
+
+%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4668/gcc-12-RTEMS-Enable-some-features-in-libstdc.patch
+%hash sha512 gcc-12-RTEMS-Enable-some-features-in-libstdc.patch \
+ dZehMV4QtmSlXope4a4w6wivL39Y2NYFZz8qdJwHHZFkp5c7yUcxzQ+BLIKRmae0fRjMQB/bj7oVPVvZU2qYgA==
+
+# Following patches are related to compilation on Apple M1/Darwin host platform.
+# They are here to workaround issues with ISL and MPC libraries.
+# Upstream projects were already informed so hopefully when RSB moves
+# to more modern libraries versions they may be removed from here.
+# The patches are solely for libisl 0.24 and libmpc 1.2.1
+# See #4657 for more information.
+%patch add isl -p1 https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-isl-config.patch
+%hash sha512 fix-mac-arm64-isl-config.patch \
+ wH/bYFplINGUNYUEcx5jtUAhHvaAOD8cpOxltKxDridodTT9fYGWpNvoOg7PLEKkJUxx5gnuSEp2FFc7xJmi6A==
+%patch add mpc -p1 https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-mpc-config.patch
+%hash sha512 fix-mac-arm64-mpc-config.patch \
+ KEmxHjYOqY4LTXCMZ3I60tbHusbR5GlnP0CLARHPAnhCnovDj9K3U43C1bsMxDDGRqD6fwtrEFoEgqVFX63IuQ==
+# Comment above related to #4657 and patches ends here
+
+%define newlib_version 176b19f
+%define newlib_external 1
+%define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version}
+%source set newlib --rsb-file=newlib-%{newlib_version}.tar.gz \
+ https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/%{newlib_version}
+%hash sha512 newlib-%{newlib_version}.tar.gz \
+ ZUzGjXI3ZJ6GrxMXggg+jIO0nyi+edKoilckRxtujsOiwhOyITahIqcOHhZiX5nd4E4UX9p3BSDima/Fd0Gr0w==
+
+%define with_threads 1
+%define with_plugin 0
+%define with_iconv 1
+
+%include %{_configdir}/gcc-12.cfg
diff --git a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
new file mode 100644
index 0000000..4dbbd9b
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
@@ -0,0 +1,22 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gcc_version 54a235e
+%define gcc_external 1
+%define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
+%source set gcc --rsb-file=%{gcc_expand_name}.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
+%hash sha512 %{gcc_expand_name}.tar.gz \
+ UAXjyfPP883wjLDnobDk4wmg/vAO0I4LjzzurLCKejj0FUSk0KvlkVj1CF+3XwFcdlCWRhN7z/Ls4fOunafe9w==
+
+%define newlib_version 176b19f
+%define newlib_external 1
+%define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version}
+%source set newlib --rsb-file=newlib-%{newlib_version}.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/%{newlib_version}
+%hash sha512 newlib-%{newlib_version}.tar.gz \
+ ZUzGjXI3ZJ6GrxMXggg+jIO0nyi+edKoilckRxtujsOiwhOyITahIqcOHhZiX5nd4E4UX9p3BSDima/Fd0Gr0w==
+
+%define with_threads 1
+%define with_plugin 0
+%define with_iconv 1
+
+%include %{_configdir}/gcc-13.cfg
diff --git a/rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg b/rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg
new file mode 100644
index 0000000..2fc00c3
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg
@@ -0,0 +1,20 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gcc_version 13.2.0
+%source set gcc https://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.xz
+%hash sha512 gcc-%{gcc_version}.tar.xz \
+ 2Z5IJqcNsEUERn40np+67apYcHZs2nxcq1DN6+3EvnVevKW3ieEjKjSiC+GgtgCX3pKA7+R723HHMlHjCwhiog==
+
+%define newlib_version 176b19f
+%define newlib_external 1
+%define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version}
+%source set newlib --rsb-file=newlib-%{newlib_version}.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/%{newlib_version}
+%hash sha512 newlib-%{newlib_version}.tar.gz \
+ ZUzGjXI3ZJ6GrxMXggg+jIO0nyi+edKoilckRxtujsOiwhOyITahIqcOHhZiX5nd4E4UX9p3BSDima/Fd0Gr0w==
+
+%define with_threads 1
+%define with_plugin 0
+%define with_iconv 1
+
+%include %{_configdir}/gcc-13.cfg
diff --git a/rtems/config/tools/rtems-gcc-head-newlib-head.cfg b/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
index 111d6c5..1b9c2f4 100644
--- a/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
@@ -1,20 +1,22 @@
%include %{_configdir}/checks.cfg
%include %{_configdir}/base.cfg
-%define gcc_version 40ccb47
+%define gcc_version 41aacde
%define gcc_external 1
%define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
%source set gcc --rsb-file=%{gcc_expand_name}.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
-%hash sha512 %{gcc_expand_name}.tar.gz 565db44c7427c3157f7a8c5541e1e4f849412c9967c8385738dc0fea366998be7a8f2b0b1f31d2197745b541c9d9f85cc4dfeb68632dab96c7ae7efbb500ae67
+%hash sha512 %{gcc_expand_name}.tar.gz \
+ xPwSCLLXsJfFKontgrGlU9ep/PVlP3bQOGbgRCG0mj8sD5dq2ifo5VOwGwVMRQD0VFVVOWqeykq3OVkZYlu1GA==
-%define newlib_version 9069cb9
+%define newlib_version 176b19f
%define newlib_external 1
%define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version}
%source set newlib --rsb-file=newlib-%{newlib_version}.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/%{newlib_version}
-%hash sha512 newlib-%{newlib_version}.tar.gz r/FkML8n7cTUGaWik8RqdCXuoxfT9N26aWXw404TkQOFiHnCXBT8P1kxGhCEptOpNqaIRsgamvWx5RPowpXqqg==
+%hash sha512 newlib-%{newlib_version}.tar.gz \
+ ZUzGjXI3ZJ6GrxMXggg+jIO0nyi+edKoilckRxtujsOiwhOyITahIqcOHhZiX5nd4E4UX9p3BSDima/Fd0Gr0w==
%define with_threads 1
%define with_plugin 0
%define with_iconv 1
-%include %{_configdir}/gcc-9.cfg
+%include %{_configdir}/gcc-12.cfg
diff --git a/rtems/config/tools/rtems-gdb-11.2.cfg b/rtems/config/tools/rtems-gdb-11.2.cfg
new file mode 100644
index 0000000..59dd402
--- /dev/null
+++ b/rtems/config/tools/rtems-gdb-11.2.cfg
@@ -0,0 +1,15 @@
+#
+# GDB 11.2
+#
+
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gdb_version 11.2
+%define gdb_src_ext xz
+%hash sha512 gdb-%{gdb_version}.tar.xz 07e9026423438049b11f4f784d57401ece4e940570f613bd6958b3714fe7fbc2c048470bcce3e7d7d9f93331cdf3881d30dcc964cb113a071143a02b28e5b127
+
+%patch add gdb --rsb-file=gdb-readline8.2.patch https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff_plain;h=1add37b567a7dee39d99f37b37802034c3fce9c4
+%hash sha512 gdb-readline8.2.patch E/nGalfBBfn0rl/pi1SGIuKD11x0qREZBp3ajaFbl/nGMZUIm31M/1z0FsG76K7IjvE5pPsl2JqESt+LBN9lZA==
+
+%include %{_configdir}/gdb-common-1.cfg
diff --git a/rtems/config/tools/rtems-gdb-12.1.cfg b/rtems/config/tools/rtems-gdb-12.1.cfg
new file mode 100644
index 0000000..fd5f91d
--- /dev/null
+++ b/rtems/config/tools/rtems-gdb-12.1.cfg
@@ -0,0 +1,15 @@
+#
+# GDB 12.1
+#
+
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gdb_version 12.1
+%define gdb_src_ext xz
+%hash sha512 gdb-%{gdb_version}.tar.xz QlVo0uhGchd9D7h7Gtfar93gl2SNYF4wzwZWlw9mrcaoLKLYM3XqS+WD6Wg6NA5b/fWBlmjd9mcoIAFBrlD/LQ==
+
+%patch add gdb --rsb-file=gdb-readline8.2.patch https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff_plain;h=1add37b567a7dee39d99f37b37802034c3fce9c4
+%hash sha512 gdb-readline8.2.patch E/nGalfBBfn0rl/pi1SGIuKD11x0qREZBp3ajaFbl/nGMZUIm31M/1z0FsG76K7IjvE5pPsl2JqESt+LBN9lZA==
+
+%include %{_configdir}/gdb-common-1.cfg
diff --git a/rtems/config/tools/rtems-gdb-13.1.cfg b/rtems/config/tools/rtems-gdb-13.1.cfg
new file mode 100644
index 0000000..1fd0f1c
--- /dev/null
+++ b/rtems/config/tools/rtems-gdb-13.1.cfg
@@ -0,0 +1,21 @@
+#
+# GDB 13.1
+#
+
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gdb_version 13.1
+%define gdb_src_ext xz
+%hash sha512 gdb-%{gdb_version}.tar.xz \
+ 5lBU/7wDV+7tSxfh7cXvRapzyd3zsSEGUePYWVduJ8HSeyZoAP4mMo7aWIV0VczYYy9AAM/F9j+QhUCWKQGHyg==
+
+%patch add gdb -p0 --rsb-file=gdb-13-freebsd-include.diff https://sourceware.org/bugzilla/attachment.cgi?id=14742
+%hash sha512 gdb-13-freebsd-include.diff \
+ 2oKUpRyZIwXwyKHXn5lxXte+jV853Zvg5UHLKLfmVCW4QLrLMFsnO5LvPamIqjXnqPztB8IPEY18pdw8vOYaOw==
+
+%patch add gdb -p1 --rsb-file=gdb-14067-python-config.diff https://sourceware.org/bugzilla/attachment.cgi?id=14783&format=raw
+%hash sha512 gdb-14067-python-config.diff \
+ HiCV0eQulk0W+G5uu1gCvUn5Ns6bF6RxqOO9kcSi8zpfEHOMzphlOv5cz0IDN5Q8m94na1kRVy++4z6qc43t3w==
+
+%include %{_configdir}/gdb-common-1.cfg
diff --git a/rtems/config/tools/rtems-gdb-13.2.cfg b/rtems/config/tools/rtems-gdb-13.2.cfg
new file mode 100644
index 0000000..655ffe2
--- /dev/null
+++ b/rtems/config/tools/rtems-gdb-13.2.cfg
@@ -0,0 +1,17 @@
+#
+# GDB 13.2
+#
+
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gdb_version 13.2
+%define gdb_src_ext xz
+%hash sha512 gdb-%{gdb_version}.tar.xz \
+ gYXT4Rq2Da//WGClAWV3v+fddUfvAevIZ7wkdgPYK3T/dMTylJLH0q7lcHb1K+M+KJ9Ma0FKS4cNSzAEkJ9MNA==
+
+%patch add gdb -p1 --rsb-file=gdb-14067-python-config.diff https://sourceware.org/bugzilla/attachment.cgi?id=14783&format=raw
+%hash sha512 gdb-14067-python-config.diff \
+ HiCV0eQulk0W+G5uu1gCvUn5Ns6bF6RxqOO9kcSi8zpfEHOMzphlOv5cz0IDN5Q8m94na1kRVy++4z6qc43t3w==
+
+%include %{_configdir}/gdb-common-1.cfg
diff --git a/rtems/config/tools/rtems-gdb-head.cfg b/rtems/config/tools/rtems-gdb-head.cfg
index 65171d7..17ecee8 100644
--- a/rtems/config/tools/rtems-gdb-head.cfg
+++ b/rtems/config/tools/rtems-gdb-head.cfg
@@ -1,10 +1,11 @@
%include %{_configdir}/checks.cfg
%include %{_configdir}/base.cfg
-%define gdb_version 3b2bef8
+%define gdb_version eb42bb1
%define gdb_external 1
%define gdb_expand_name sourceware-mirror-binutils-gdb-%{gdb_version}
%source set gdb --rsb-file=%{gdb_expand_name}.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/%{gdb_version}
-%hash sha512 %{gdb_expand_name}.tar.gz b50bf8c83e7fb3e9654ff232df42b44b312488caa3b6ab0f53e2041e632b0f0235007866d0f191b7462a153c1c9b85a822e0ddd9c8d8a78c13e51177d9390e74
+%hash sha512 %{gdb_expand_name}.tar.gz \
+ qDuLOqwQ/kQX30hIu5UVDqMuKjnpoKTEZ4xo85lrzq6VtnCd6nwdO5t9szbhJc4P1UWww9rRNMcqj7d2BKeNqg==
%include %{_configdir}/gdb-8-1.cfg
diff --git a/rtems/config/tools/rtems-grub-2.06.cfg b/rtems/config/tools/rtems-grub-2.06.cfg
new file mode 100644
index 0000000..977e230
--- /dev/null
+++ b/rtems/config/tools/rtems-grub-2.06.cfg
@@ -0,0 +1,8 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define grub2_version 2.06
+
+%hash sha512 grub-%{grub2_version}.tar.xz 4f11c648f3078567e53fc0c74d5026fdc6da4be27d188975e79d9a4df817ade0fe5ad2ddd694238a07edc45adfa02943d83c57767dd51548102b375e529e8efe
+
+%include %{_configdir}/grub2.cfg
diff --git a/rtems/config/tools/rtems-kernel-6.cfg b/rtems/config/tools/rtems-kernel-6.cfg
index f1d0990..9219263 100644
--- a/rtems/config/tools/rtems-kernel-6.cfg
+++ b/rtems/config/tools/rtems-kernel-6.cfg
@@ -1,11 +1,11 @@
#
-# RTEMS 5
+# RTEMS 6
#
-%define rtems_kernel_version 3ec5f20484cc4201e1d7b87844505644533b6148
-%hash sha512 rtems-kernel-%{rtems_kernel_version}.tar.bz2 \
- BjMKrf5n1YR6IpiZrY5TUEzKATPRJxA2/6m6f833DdRu+RyLxccXqA4gHRdVUqFelFNQ3o0XdG4o1naBKYfhkQ==
+%define rtems_kernel_version 1ef5fa07aa87adc9925c75060a7888f110104fa7
+%hash sha512 rtems-kernel-%{rtems_kernel_version}.tar.bz2 \
+ 5WE5sLbkU9p3atZ9PV6Dcy1TGKXZKErJ+kEfe9j6IyXohS3vc76hFIrVt8I8beDDKEogNB8HAuVsZklPv3YViA==
#
# The RTEMS build instructions.
#
diff --git a/rtems/config/tools/rtems-kernel-common.cfg b/rtems/config/tools/rtems-kernel-common.cfg
index 157c7a4..aa424d2 100644
--- a/rtems/config/tools/rtems-kernel-common.cfg
+++ b/rtems/config/tools/rtems-kernel-common.cfg
@@ -9,7 +9,7 @@
# and BSPs. Only after the source to download.
#
%if %{_dry_run} && %{defined with_download}
- %log Kenrel configuration errors ignored
+ %log Kernel configuration errors ignored
%define rtems_kernel_error 0
%else
%define rtems_kernel_error 1
@@ -19,23 +19,111 @@
%define rtems_kernel_version %{rsb_version}
%endif
-#
-# The target. It could be set in rtems_target.
-#
-%if %{defined rtems_target}
- %define _target %{rtems_target}
-%endif
-%if %{_target} == %{nil} && %{rtems_kernel_error}
- %error No RTEMS target specified: --target=<arch>-rtems<ver>.
+%if %{defined with_rtems_bsp_config}
+ #
+ # A config file can build any BSP from any architecture. No options are
+ # accepted.
+ #
+ %if %{defined with_rtems_target} || %{defined with_rtems_bsp} || \
+ %{defined with_rtems_bspopts} || %{defined enable_cxx} || \
+ %{defined with_rtems_tests} || %{defined with_rtems_smp}
+ %error Options --with-rtems-* are not valid with --with-rtems-bsp-config
+ %endif
+ %if %{defined rtems_posix} || %{defined rtems_tests} || %{defined rtems_bspopts}
+ %error Options rtems_* macros are not valid with --with-rtems-bsp-config
+ %endif
+ %define config_file %(realpath %{with_rtems_bsp_config})
+ %if %(test -f %{config_file}; echo $?) == 1
+ %error Configuration INI file not found: %{config_file}
+ %endif
+ %define rtems_bsp %(%{_sbdir}/sb/rtems-kernel-config-check -c %{with_rtems_bsp_config})
+ %define rtems_bsp_count %(echo %{rtems_bsp} | tr ' ' '\n' | wc -l)
+ %define rtems_tests %(%{_sbdir}/sb/rtems-kernel-config-check -t %{with_rtems_bsp_config})
+ # If a list the path gets too long
+ %define rtems_bsp_pkgname %(basename %{with_rtems_bsp_config} | sed -e 's/\..*//g')
+%else
+ #
+ # Backwards compatible command line or deployed build set
+ # options.
+ #
+ %define config_file config.ini
+ %if !%{defined with_rtems_bsp} && %{rtems_kernel_error}
+ %error No RTEMS BSP specified: --with-rtems-bsp=bsp
+ %endif
+ %if %{defined with_rtems_bspopts}
+ %define bspopts %{with_rtems_bspopts}
+ %endif
+ %define rtems_bsp_pkgname bsps
+ #
+ # Check the various --with/--without options we support. These are
+ # turned into the internal settings.
+ #
+ # --with-rtems-bsp : The BSP or list of BSPs
+ # --without-rtems-bsp : Not supported
+ # --with-rtems-tests : Supported, samples/yes/no
+ # --without-rtems-tests : Supported, forced to no
+ # --with-rtems-smp : Supported
+ # --without-rtems-smp : Don't care
+ # --with-rtems-legacy-network : Unsupported
+ # --without-rtems-legacy-network : Don't care
+ %if !%{defined with_rtems_bsp}
+ %error Option --without-rtems-bsp is not found.
+ %endif
+ %if %{defined without_rtems_bsp}
+ %error Option --without-rtems-bsp is not supported.
+ %endif
+ %define rtems_bsp %{with_rtems_bsp}
+ %define rtems_bsp_count %(echo %{rtems_bsp} | tr ' ' '\n' | wc -l)
+ %if %{defined with_rtems_legacy_network}
+ echo "RTEMS legacy network has been removed."
+ echo "Please review and update your configuration."
+ exit 1
+ %endif
+ %if %{defined enable_cxx}
+ echo "CXX has been removed."
+ echo "Please review and update your configuration."
+ exit 1
+ %endif
+ %if %{defined without_rtems_tests}
+ %define rtems_tests False
+ %define rtems_sample_tests False
+ %endif
+ %if %{defined with_rtems_tests}
+ %if %{with_rtems_tests} == 1
+ %define rtems_tests True
+ %define rtems_sample_tests True
+ %endif
+ %if %{with_rtems_tests} == samples
+ %define rtems_tests False
+ %define rtems_sample_tests True
+ %endif
+ %endif
+ %if %{defined with_rtems_smp}
+ %define rtems_smp 1
+ %endif
+ %if %{defined with_rtems_bspopts}
+ %if %{rtems_bsp_count} > 1
+ %error BSP options not supported with more than one BSP builds
+ %endif
+ %define rtems_bspopts %{with_rtems_bspopts}
+ %endif
+ #
+ # Default set up. Override these in a BSP if you want a
+ # specific setup.
+ #
+ %ifn %{defined rtems_posix}
+ %define rtems_posix 1
+ %endif
+ %ifn %{defined rtems_tests}
+ %define rtems_tests False
+ %define rtems_sample_tests True
+ %endif
+ %ifn %{defined rtems_bspopts}
+ %define rtems_bspopts %{nil}
+ %endif
%endif
-#
-# The BSP.
-#
-%if !%{defined with_rtems_bsp} && %{rtems_kernel_error}
- %error No RTEMS BSP specified: --with-rtems-bsp=bsp
-%endif
-%define rtems_bsp %{with_rtems_bsp}
+%define _target not-used
#
# If no tools are provided use the prefix.
@@ -52,13 +140,13 @@
#
# Define the package.
#
-package: rtems-%{rtems_version}-%{_target}-%{rtems_bsp}-%{_host}-%{release}
+package: rtems-%{rtems_version}-%{rtems_bsp_pkgname}-%{_host}-%{release}
#
# Package details.
#
-Name: %{_target}-kernel-%{rtems_bsp}-%{release}
-Summary: RTEMS v%{rtems_kernel_version} for target %{_target} BSP %{rtems_bsp}
+Name: rtems-kernel-%{rtems_bsp_pkgname}-%{release}
+Summary: RTEMS v%{rtems_kernel_version} for BSP(s) %{rtems_bsp}
Version: %{rtems_kernel_version}
Release: %{release}
URL: https://www.rtems.org/
@@ -68,23 +156,6 @@ URL: https://www.rtems.org/
%include %{_configdir}/versions.cfg
#
-# 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}
-
-#
-# Check the version of autoconf. Check autoreconf as it is used.
-#
-%if %{__autoreconf_ver} <= 2.68
- %if %{__autoreconf_bindir_ver} <= 2.68
- %if %{__autoreconf_path_ver} <= 2.68
- %error Autoconf (autoreconf) version 2.69 or higher is needed.
- %endif
- %endif
-%endif
-
-#
# If no tools provided use the prefix.
#
%ifn %{defined with_tools}
@@ -98,31 +169,13 @@ URL: https://www.rtems.org/
%define rtems_posix 0
%endif
-%if %{defined with_rtems_legacy_network}
- %define rtems_networking 1
-%endif
-
-%if %{defined with_rtems_cxx}
- %define rtems_cxx 1
-%endif
-
-%if %{defined with_rtems_bspopts}
- %define bspopts %{with_rtems_bspopts}
-%endif
-
#
# Source
#
%if %{rsb_released}
%define rtems_kernel_file rtems-%{rtems_kernel_version}.tar.xz
- %define rtems_bootstrap 0
%else
%define rtems_kernel_file rtems-kernel-%{rtems_kernel_version}.tar.bz2
- #
- # The code in git needs to be bootstrapped. Do each build because we have
- # no way to change what changes may have happened in the code.
- #
- %define rtems_bootstrap 1
%endif
%if ! %{defined rtems_kernel_version}
@@ -133,75 +186,6 @@ URL: https://www.rtems.org/
https://git.rtems.org/rtems/snapshot/rtems-%{rtems_kernel_version}.tar.bz2
#
-# Check the various --with/--without options we support. These are
-# turned into the internal settings.
-#
-# --target : The architecture
-# --with-rtems-bsp : The BSP
-# --without-rtems-bsp : Not supported
-# --with-rtems-tests : Supported, samples/yes/no
-# --without-rtems-tests : Supported, forced to no
-# --with-rtems-smp : Supported
-# --without-rtems-smp : Don't care
-# --with-rtems-legacy-network : Supported
-# --without-rtems-legacy-network : Don't care
-# --with-rtems-bspopts : Supported, quote for a list
-# --without-rtems-bspopts : Don't care
-#
-%if %{defined without_rtemsbsp}
- %error Option --without-rtemsbsp is not supported.
-%endif
-%if %{defined without_rtems_tests}
- %define with_rtems_tests no
-%endif
-%if %{defined with_rtems_tests}
- %if %{with_rtems_tests} == 1
- %define with_rtems_tests yes
- %endif
- %if %{with_rtems_tests} == yes || \
- %{with_rtems_tests} == no || \
- %{with_rtems_tests} == samples
- %define rtems_tests %{with_rtems_tests}
- %endif
-%endif
-%if %{defined with_rtems_smp}
- %define rtems_smp 1
-%endif
-%if %{defined with_rtems_legacy_network}
- %define rtems_networking 1
-%endif
-%if %{defined with_rtems_bspopts}
- %define rtems_bspopts %{with_rtems_bspopts}
-%endif
-
-#
-# If C++ defined for the tool set use it to control RTEMS's setting..
-#
-%if %{defined enable_cxx}
- %define rtems_cxx %{enable_cxx}
-%endif
-
-#
-# Default set up. Override these in a BSP if you want a
-# specific setup.
-#
-%ifn %{defined rtems_posix}
- %define rtems_posix 1
-%endif
-%ifn %{defined rtems_networking}
- %define rtems_networking 0
-%endif
-%ifn %{defined rtems_cxx}
- %define rtems_cxx 1
-%endif
-%ifn %{defined rtems_tests}
- %define rtems_tests samples
-%endif
-%ifn %{defined rtems_bspopts}
- %define rtems_bspopts %{nil}
-%endif
-
-#
# Prepare the source code.
#
%prep
@@ -209,13 +193,6 @@ URL: https://www.rtems.org/
%source setup rtems_kernel -q -c -n %{name}-%{version}
cd ${source_dir_rtems}
%patch setup rtems_kernel -p1
- %if %{rtems_bootstrap}
- %if %{defined _internal_autotools_path}
- export PATH="%{_internal_autotools_path}/bin:${PATH}"
- %endif
- ./bootstrap -c
- ./rtems-bootstrap
- %endif
cd ..
%build
@@ -225,38 +202,58 @@ URL: https://www.rtems.org/
else
build_dir="build"
fi
+
+ cd ${source_dir_rtems}
+
+ #
+ # If no user supplied configuration file create one
+ #
+ %if !%{defined with_rtems_bsp_config}
+ echo "[DEFAULT]" > %{config_file}
+ echo "RTEMS_POSIX_API = %{?rtems_posix:True}%{!?rtems_posix:False}" >> %{config_file}
+ echo "RTEMS_SMP = %{?rtems_smp:True}%{!?rtems_smp:False}" >> %{config_file}
+ echo "BUILD_TESTS = %{rtems_tests}" >> %{config_file}
+ echo "BUILD_SAMPLES = %{rtems_sample_tests}" >> %{config_file}
+ echo "" >> %{config_file}
+ for bsp in %{rtems_bsp}
+ do
+ echo "[$bsp]" >> %{config_file}
+ %if %{rtems_bsp_count} == 1 && %{defined rtems_bspopts}
+ for opt in $(echo %{rtems_bspopts} | tr ' ' '\n')
+ do
+ echo "$opt" >> %{config_file}
+ done
+ %endif
+ echo "" >> %{config_file}
+ done
+ %endif
+
mkdir -p ${build_dir}
- cd ${build_dir}
- ../${source_dir_rtems}/configure \
- --build=%{_build} --host=%{_host} \
- --target=%{_target} \
- --enable-rtemsbsp="%{rtems_bsp}" \
- %{?rtems_cxx:--enable-cxx}%{!?rtems_cxx:--disable-cxx} \
- %{?rtems_posix:--enable-posix}%{!?rtems_posix:--disable-posix} \
- %{?rtems_networking:--enable-networking}%{!?rtems_networking:--disable-networking} \
- %{?rtems_tests:--enable-tests=%{rtems_tests}} \
- %{?rtems_smp:--enable-smp} \
- --prefix=%{_prefix} --bindir=%{_bindir} \
- --exec-prefix=%{_exec_prefix} \
- --includedir=%{_includedir} --libdir=%{_libdir} \
- --mandir=%{_mandir} --infodir=%{_infodir} \
- %{rtems_bspopts}
+ ./waf configure \
+ --prefix=%{_prefix} \
+ --rtems-config=%{config_file}
+
+ ./waf %{?_smp_mflags}
- %{__make} %{?_smp_mflags} all
cd ..
%install
%{__rmdir} $SB_BUILD_ROOT
- cd ${build_dir}
- %{__make} DESTDIR=$SB_BUILD_ROOT install
+ cd ${source_dir_rtems}
+ ./waf --destdir=$SB_BUILD_ROOT install
- %if %{rtems_tests} != no
- %define rtems_test_install %{_target}/%{rtems_bsp}/tests
- mkdir -p $SB_BUILD_ROOT/%{_prefix}/%{rtems_test_install}
- find . -name \*.exe -and -not -name \*.norun.exe \
- -exec cp -v \{\} $SB_BUILD_ROOT/%{_prefix}/%{rtems_test_install}/ \;
+ echo "rtems_tests: %{rtems_tests}"
+
+ %if %{rtems_tests} != False
+ for bsp in %{rtems_bsp}
+ do
+ export bsp
+ mkdir -p $SB_BUILD_ROOT/%{_prefix}/${bsp}-rtems%{rtems_kernel_version}/tests
+ find build/$bsp -name \*.exe -and -not -name \*.norun.exe \
+ -exec sh -c 'cp -v {} $SB_BUILD_ROOT/%{_prefix}/${bsp}-rtems%{rtems_kernel_version}/tests/$(basename {})' \;
+ done
%endif
- cd ..
+ cd -
diff --git a/rtems/config/tools/rtems-libbsd-6.cfg b/rtems/config/tools/rtems-libbsd-6.cfg
index 1657096..c71ba07 100644
--- a/rtems/config/tools/rtems-libbsd-6.cfg
+++ b/rtems/config/tools/rtems-libbsd-6.cfg
@@ -3,11 +3,11 @@
#
# branch: 6-freebsd-12
-%define rtems_libbsd_version d964a6703c705cc92fd053bcefc08bb3b6baa0e2
+%define rtems_libbsd_version 388d46bb1b3080402c68ae11d14b2b36c3138952
%hash sha512 rtems-libbsd-%{rtems_libbsd_version}.tar.bz2 \
- wEy8HtzSezKJtA3Vob7wM/D5qaG3ZVTDoNkK1yeTju04ov4IfL6IXWEtrNkOFsu9LdV1OPAOKSSYyAQ13sQqvg==
+ zMyTB+Z7vJXpywhCbRCK/vz2KUbwdg1JwoQ/JPqFbicmo/W42D/fGjKFxhPrzg0mL4silqSJ4xPdfOhET5vrtw==
%define rtems_waf_version ad08908c452c6a9bbb3bf7bbbcc9fc03fe46cc7f
-%hash sha512 rtems-waf-%{rtems_waf_version}.tar.bz2 \
+%hash sha512 rtems_waf-%{rtems_waf_version}.tar.bz2 \
EyuEit0DsAR1gK9Ki1sjl416PFgFe7dcggH3H/hmdAPmMjEIIdX7TVOTDgOIK1Pt0DW6lZ9NcW7O87GZFyy8hg==
#
diff --git a/rtems/config/tools/rtems-mipstx39-gdb-7.5.1-1.cfg b/rtems/config/tools/rtems-mipstx39-gdb-7.5.1-1.cfg
deleted file mode 100644
index 3c0bed5..0000000
--- a/rtems/config/tools/rtems-mipstx39-gdb-7.5.1-1.cfg
+++ /dev/null
@@ -1,11 +0,0 @@
-#
-# MIPS STX39 GDB 7.5.1.
-#
-
-%undefine _target
-%define _target mipstx39-rtems%{rtems_version}
-
-#
-# The gdb build instructions for RTEMS 7.5.1.
-#
-%include tools/rtems-gdb-7.5.1-1.cfg
diff --git a/rtems/config/tools/rtems-mipstx39-gdb-7.6-1.cfg b/rtems/config/tools/rtems-mipstx39-gdb-7.6-1.cfg
deleted file mode 100644
index 836c0bb..0000000
--- a/rtems/config/tools/rtems-mipstx39-gdb-7.6-1.cfg
+++ /dev/null
@@ -1,11 +0,0 @@
-#
-# MIPS STX39 GDB 7.6.
-#
-
-%undefine _target
-%define _target mipstx39-rtems%{rtems_version}
-
-#
-# The gdb build instructions for RTEMS 7.6.
-#
-%include tools/rtems-gdb-7.6-1.cfg
diff --git a/rtems/config/tools/rtems-mipstx39-gdb-7.7-1.cfg b/rtems/config/tools/rtems-mipstx39-gdb-7.7-1.cfg
deleted file mode 100644
index 0e65b5e..0000000
--- a/rtems/config/tools/rtems-mipstx39-gdb-7.7-1.cfg
+++ /dev/null
@@ -1,11 +0,0 @@
-#
-# MIPS STX39 GDB 7.7.
-#
-
-%undefine _target
-%define _target mipstx39-rtems%{rtems_version}
-
-#
-# The gdb build instructions for RTEMS 7.7.
-#
-%include tools/rtems-gdb-7.7-1.cfg
diff --git a/rtems/config/tools/rtems-mipstx39-gdb-7.9-1.cfg b/rtems/config/tools/rtems-mipstx39-gdb-7.9-1.cfg
deleted file mode 100644
index 5777b5f..0000000
--- a/rtems/config/tools/rtems-mipstx39-gdb-7.9-1.cfg
+++ /dev/null
@@ -1,11 +0,0 @@
-#
-# MIPS TX39 GDB 7.9.
-#
-
-%undefine _target
-%define _target mipstx39-rtems%{rtems_version}
-
-#
-# The gdb 7.9 build instructions for RTEMS.
-#
-%include tools/rtems-gdb-7.9-1.cfg
diff --git a/rtems/config/tools/rtems-mipstx39-gdb-8.0.1-1.cfg b/rtems/config/tools/rtems-mipstx39-gdb-8.0.1-1.cfg
deleted file mode 100644
index 05b270b..0000000
--- a/rtems/config/tools/rtems-mipstx39-gdb-8.0.1-1.cfg
+++ /dev/null
@@ -1,3 +0,0 @@
-%undefine _target
-%define _target mipstx39-rtems%{rtems_version}
-%include tools/rtems-gdb-8.0.1-1.cfg
diff --git a/rtems/config/tools/rtems-mipstx39-gdb-head.bset b/rtems/config/tools/rtems-mipstx39-gdb-head.bset
new file mode 100644
index 0000000..252967c
--- /dev/null
+++ b/rtems/config/tools/rtems-mipstx39-gdb-head.bset
@@ -0,0 +1,7 @@
+%define release 1
+%define rtems_arch mips
+%define gdb-sim-options --enable-sim-hardware
+%define win32-gdb-disable-sim
+%define _target mipstx39-rtems%{rtems_version}
+devel/gmp-6.2.1
+tools//rtems-gdb-head
diff --git a/rtems/config/tools/rtems-mipstx39-gdb-head.cfg b/rtems/config/tools/rtems-mipstx39-gdb-head.cfg
deleted file mode 100644
index d90ea33..0000000
--- a/rtems/config/tools/rtems-mipstx39-gdb-head.cfg
+++ /dev/null
@@ -1,3 +0,0 @@
-%undefine _target
-%define _target mipstx39-rtems%{rtems_version}
-%include tools/rtems-gdb-head.cfg
diff --git a/rtems/config/tools/rtems-mipstx39-gdb.bset b/rtems/config/tools/rtems-mipstx39-gdb.bset
new file mode 100644
index 0000000..392e24d
--- /dev/null
+++ b/rtems/config/tools/rtems-mipstx39-gdb.bset
@@ -0,0 +1,7 @@
+%define release 1
+%define rtems_arch mips
+%define gdb-sim-options --enable-sim-hardware
+%define win32-gdb-disable-sim
+%define _target mipstx39-rtems%{rtems_version}
+devel/gmp-6.2.1
+tools/rtems-gdb-13.1
diff --git a/rtems/config/tools/rtems-net-legacy-6.cfg b/rtems/config/tools/rtems-net-legacy-6.cfg
index fbc7ab8..ffc1184 100644
--- a/rtems/config/tools/rtems-net-legacy-6.cfg
+++ b/rtems/config/tools/rtems-net-legacy-6.cfg
@@ -3,10 +3,10 @@
#
# branch: main
-%define rtems_net_version 5713f7027984012ea17cdd582e6d0258ee7aa58a
+%define rtems_net_version a1e5d91c818d0881293c3c9e7d549816d34f6c77
%hash sha512 rtems-net-legacy-%{rtems_net_version}.tar.bz2 \
- 0dwnqZP+j9b2IZ7rqiEBndVkqIsURal4L/47pSI4pe0rz48hmWa78DE0915Gf+/+nvsCMB2I/sFAMj+P6AjeeA==
-%define rtems_waf_version 1a118bbcd52138dbdc3236e64bc23fd430a064b1
-%hash sha512 rtems-waf-%{rtems_waf_version}.tar.bz2 \
- wHiMBCaJjnNd8EEnbl5A9qyGwcQ5E+BcG9Q5SwJmlbarcrQ4U6//Q2ni2XNyXtWQzzy959o6YSg8PvVjgEi0vg==
+ wM9thMsQQdhtNVBV+FnnE/YS+2r+N7rYLsmCUMs4zQIgQ/bqhg4Sk2nkgse9NBs/gXTeCzzwG3/BTH6eQIYjBg==
+%define rtems_waf_version 68654b4f995382765605dc16917baad4bdbf7f7c
+%hash sha512 rtems_waf-%{rtems_waf_version}.tar.bz2 \
+ NAuyFxjfSiQd6VfYZl4fJClywPrLF2fN+GjXHjq3ddceqaBrSeHZ+XpYpU3XTnk2qKICsUSTLV+CskDuWdwqvQ==
%include tools/rtems-net-legacy-common.cfg
diff --git a/rtems/config/tools/rtems-net-services.cfg b/rtems/config/tools/rtems-net-services.cfg
new file mode 100644
index 0000000..2acfbd8
--- /dev/null
+++ b/rtems/config/tools/rtems-net-services.cfg
@@ -0,0 +1,91 @@
+#
+# RTEMS Net Services
+#
+# This configuration file configure's, build's and install's
+# networking services libraries
+#
+
+%if %{release} == %{nil}
+%define release 1
+%endif
+
+Name: rtems-net-services-%{rtems_net_services_version}-%{_host}-%{release}
+Summary: RTEMS Net Services provides networking services for RTEMS networking
+ stacks.
+Version: %{rtems_net_services_version}
+Release: %{release}
+URL: https://git.rtems.org/rtems-net-services.git/
+
+#
+# Net services is packaged as the release version when released.
+#
+%if %{rsb_released}
+ %define rtems_net_services_version %{rsb_version}
+ %define rtems_net_services_ext xz
+ %define rtems_waf_ext xz
+%else
+ %define rtems_net_services_ext bz2
+ %define rtems_waf_ext bz2
+%endif
+
+#
+# RTEMS BSP support.
+#
+%include rtems-bsp.cfg
+
+#
+# Net services Source.
+#
+# If not a release collect and install rtems_waf as cgit snapshots to not
+# capture submodules.
+#
+# Releases package submodules in the top level tarfile.
+#
+%source set rtems_net_services --rsb-file=rtems-net-services-%{rtems_net_services_version}.tar.%{rtems_net_services_ext} \
+ https://git.rtems.org/rtems-net-services/snapshot/rtems-net-services-%{rtems_net_services_version}.tar.%{rtems_net_services_ext}
+%if !%{rsb_released}
+ %source set rtems_waf \
+ https://git.rtems.org/rtems_waf/snapshot/rtems_waf-%{rtems_waf_version}.tar.%{rtems_waf_ext}
+%endif
+
+#
+# Prepare the source code.
+#
+%prep
+ build_top=$(pwd)
+
+ source_dir_net_services="rtems-net-services-%{rtems_net_services_version}"
+ %source setup rtems_net_services -q -n rtems-net-services-%{rtems_net_services_version}
+ %if !%{rsb_released}
+ %source setup rtems_waf -q -s 1 -c -a -n rtems-net-services-%{rtems_net_services_version}/rtems_waf
+ %endif
+ cd ${build_top}
+
+#
+# Build the source code.
+#
+%build
+ build_top=$(pwd)
+
+ %{host_build_flags}
+
+ cd ${source_dir_net_services}
+
+ ./waf distclean configure \
+ --prefix=%{_prefix} \
+ %{rtems_waf_tools} \
+ %{rtems_waf_rtems} \
+ --rtems-bsp=%{rtems_bsp_arch_bsp}
+
+ ./waf build
+
+ cd ${build_top}
+
+%install
+ build_top=$(pwd)
+
+ %{__rmdir} ${SB_BUILD_ROOT}
+
+ cd ${source_dir_net_services}
+ ./waf --destdir=$SB_BUILD_ROOT%{rtems_waf_build_root_suffix} install
+ cd ${build_top}
diff --git a/rtems/config/tools/rtems-tools-6.cfg b/rtems/config/tools/rtems-tools-6.cfg
index 793e018..9a1c625 100644
--- a/rtems/config/tools/rtems-tools-6.cfg
+++ b/rtems/config/tools/rtems-tools-6.cfg
@@ -10,13 +10,14 @@
%define rtems_tools_source rtems-tools-%{rtems_tools_version}
%define rtems_tools_ext xz
%else
- %define rtems_tools_version 9d399df4ef0050e9c190b38217b0e5d27dd0be72
+%define rtems_tools_version 12971a8b858add612833a43360e7a7ba95902d3e
%define rtems_tools_ext bz2
%endif
%define rtems_tools_source rtems-tools-%{rtems_tools_version}
%source set rtems-tools https://git.rtems.org/rtems-tools/snapshot/%{rtems_tools_source}.tar.%{rtems_tools_ext}
-%hash sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 +heet6n01a41wEfxo5nFBep/SgZtg0D/aokyC8ERtpPSzfg5OcJ8+zsd7CJE3CgWqRSZbWv2+qOZGu5x+tTBmg==
+%hash sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 \
+ SpaYAsHhzHncHC0tlQOJwexUJ7i+l5yG1Vf8Twl61dAyOEYhkugjvRCtchN4GJQmzPrqjqFIdwciemveysouJA==
#
# Optionally enable/disable building the RTEMS Tools via the command line.
diff --git a/rtems/config/tools/rtems-xilinx-binutils-2.36.cfg b/rtems/config/tools/rtems-xilinx-binutils-2.36.cfg
index 625fba7..73e8380 100644
--- a/rtems/config/tools/rtems-xilinx-binutils-2.36.cfg
+++ b/rtems/config/tools/rtems-xilinx-binutils-2.36.cfg
@@ -1,40 +1,55 @@
%include tools/rtems-binutils-2.36.cfg
-%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0001-Add-wdc.ext.clear-and-wdc.ext.flush-insns.patch
-%hash sha512 0001-Add-wdc.ext.clear-and-wdc.ext.flush-insns.patch 56971b06821d7ab36b068016dde6086941121fca40d661056fe03f17507dafab075b306fe91d191c3fa0ec3617cd8649fe3023e0e5230e3fd5b4c2a648c23a94
+%define xilinx_github_url https://raw.githubusercontent.com/Xilinx/meta-xilinx
-%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0002-Add-mlittle-endian-and-mbig-endian-flags.patch
-%hash sha512 0002-Add-mlittle-endian-and-mbig-endian-flags.patch e6240d8d5eebb36b161b77348522cd59dad008017ce7579b66310719faa8bdba9d0f0466f4d81bf8c1d79ed2a3a2d777924a404da1010fc4dd866fcae2bde322
+%patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0001-Add-wdc.ext.clear-and-wdc.ext.flush-insns.patch
+%hash sha512 0001-Add-wdc.ext.clear-and-wdc.ext.flush-insns.patch \
+ 56971b06821d7ab36b068016dde6086941121fca40d661056fe03f17507dafab075b306fe91d191c3fa0ec3617cd8649fe3023e0e5230e3fd5b4c2a648c23a94
-%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0003-Disable-the-warning-message-for-eh_frame_hdr.patch
-%hash sha512 0003-Disable-the-warning-message-for-eh-frame-hdr.patch 2d90ef568bb649bc79b09ec3e745a25b5f177dc49f6b6bf7e9143685e5206bb7aee7a3fd3d013d64d82e2865e90a9cfeb7103aeb29189b1330613c562597a2fc
+%patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0002-Add-mlittle-endian-and-mbig-endian-flags.patch
+%hash sha512 0002-Add-mlittle-endian-and-mbig-endian-flags.patch \
+ e6240d8d5eebb36b161b77348522cd59dad008017ce7579b66310719faa8bdba9d0f0466f4d81bf8c1d79ed2a3a2d777924a404da1010fc4dd866fcae2bde322
-%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0004-LOCAL-Fix-relaxation-of-assembler-resolved-reference.patch
-%hash sha512 0004-LOCAL-Fix-relaxation-of-assembler-resolved-reference.patch 76780fc9e410739320f07dd2fc517631f0bb4a8484d56ed96f0f8089acf1f8958dbc4045bfe67289086a63b3374a63e8fb2e09f7e7d52579b04d1114022d7214
+%patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0003-Disable-the-warning-message-for-eh_frame_hdr.patch
+%hash sha512 0003-Disable-the-warning-message-for-eh_frame_hdr.patch \
+ 2d90ef568bb649bc79b09ec3e745a25b5f177dc49f6b6bf7e9143685e5206bb7aee7a3fd3d013d64d82e2865e90a9cfeb7103aeb29189b1330613c562597a2fc
-%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0005-upstream-change-to-garbage-collection-sweep-causes-m.patch
-%hash sha512 0005-upstream-change-to-garbage-collection-sweep-causes-m.patch 76a76edd26dc9bd72b0330791d14362933f5bbbc5bef0f9a9e6ee307958a4f6791ceabdaadae3c969ac3f4c786b13784f473fde6fe8ddcbf3370ccfc8761d7ab
+%patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0004-LOCAL-Fix-relaxation-of-assembler-resolved-reference.patch
+%hash sha512 0004-LOCAL-Fix-relaxation-of-assembler-resolved-reference.patch \
+ 76780fc9e410739320f07dd2fc517631f0bb4a8484d56ed96f0f8089acf1f8958dbc4045bfe67289086a63b3374a63e8fb2e09f7e7d52579b04d1114022d7214
-%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0006-Fix-bug-in-TLSTPREL-Relocation.patch
-%hash sha512 0006-Fix-bug-in-TLSTPREL-Relocation.patch deed94f04fa91e993043f3e2f5e7c865555a7ffce83e959980daebc255247ba51d991d6289e682fa4dff1758f085e661f5c2888b078dcaf2e790873c96520928
+%patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0005-upstream-change-to-garbage-collection-sweep-causes-m.patch
+%hash sha512 0005-upstream-change-to-garbage-collection-sweep-causes-m.patch \
+ 76a76edd26dc9bd72b0330791d14362933f5bbbc5bef0f9a9e6ee307958a4f6791ceabdaadae3c969ac3f4c786b13784f473fde6fe8ddcbf3370ccfc8761d7ab
-%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0007-Added-Address-extension-instructions.patch
-%hash sha512 0007-Added-Address-extension-instructions.patch 8fb1c588eeae2356001d2d79e06c0a6dcd37be6411c11856b064973860139d1b87d490133fd98b5d70bea24f275bdbd5114e11a41141c0be05f23317b187e705
+%patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0006-Fix-bug-in-TLSTPREL-Relocation.patch
+%hash sha512 0006-Fix-bug-in-TLSTPREL-Relocation.patch \
+ deed94f04fa91e993043f3e2f5e7c865555a7ffce83e959980daebc255247ba51d991d6289e682fa4dff1758f085e661f5c2888b078dcaf2e790873c96520928
-%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0008-fixing-the-MAX_OPCODES-to-correct-value.patch
-%hash sha512 0008-fixing-the-MAX-OPCODES-to-correct-value.patch e8227eb42b87de038430ddf79bf9f7e58deee0ed263ce521512b0568456f36aab16f9cdcdb2af2b7d0e5330aab0d73479a91480731e86370d63af708d641f903
+%patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0007-Added-Address-extension-instructions.patch
+%hash sha512 0007-Added-Address-extension-instructions.patch \
+ 8fb1c588eeae2356001d2d79e06c0a6dcd37be6411c11856b064973860139d1b87d490133fd98b5d70bea24f275bdbd5114e11a41141c0be05f23317b187e705
-%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0009-Add-new-bit-field-instructions.patch
-%hash sha512 0009-Add-new-bit-field-instructions.patch c1bcc51762b66706b286ffd50f3d55dcb99cdc43d2312e0af16b1c1444fe57cf1351d55267438cdd8c755d197646d9726873338b9f892ceb27810f324533e01c
+%patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0008-fixing-the-MAX_OPCODES-to-correct-value.patch
+%hash sha512 0008-fixing-the-MAX_OPCODES-to-correct-value.patch \
+ e8227eb42b87de038430ddf79bf9f7e58deee0ed263ce521512b0568456f36aab16f9cdcdb2af2b7d0e5330aab0d73479a91480731e86370d63af708d641f903
-%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0010-fixing-the-imm-bug.patch
-%hash sha512 0010-fixing-the-imm-bug.patch 15ae27cae58d375e74468bede264450b944c698e9e67fda41ba8044826695b7790f1b5b28d9484e016b49accaebfc9002e7a724854147ab2986deafb9557694c
+%patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0009-Add-new-bit-field-instructions.patch
+%hash sha512 0009-Add-new-bit-field-instructions.patch \
+ c1bcc51762b66706b286ffd50f3d55dcb99cdc43d2312e0af16b1c1444fe57cf1351d55267438cdd8c755d197646d9726873338b9f892ceb27810f324533e01c
-%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0011-Patch-Microblaze-fixed-bug-in-GCC-so-that-It-will-su.patch
-%hash sha512 0011-Patch-Microblaze-fixed-bug-in-GCC-so-that-It-will-su.patch 3d4c21f650c18771f202d9e9b858a4f93ee1848328eaa4b55c62f4cff86e45aa62d94b323c60ba759160d086800ae039f62236c041fede5347a91ef3467a03cc
+%patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0010-fixing-the-imm-bug.patch
+%hash sha512 0010-fixing-the-imm-bug.patch \
+ 15ae27cae58d375e74468bede264450b944c698e9e67fda41ba8044826695b7790f1b5b28d9484e016b49accaebfc9002e7a724854147ab2986deafb9557694c
-%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0012-fixing-the-constant-range-check-issue.patch
-%hash sha512 0012-fixing-the-constant-range-check-issue.patch e3100a06f4a5a816dbde2af496ed0a8fbb37e94a7188fef58c9fe78212de75ddf28d45b38bd605f58157925b1f56ef137ab5f89accb6bb478b4144647416c20a
+%patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0011-Patch-Microblaze-fixed-bug-in-GCC-so-that-It-will-su.patch
+%hash sha512 0011-Patch-Microblaze-fixed-bug-in-GCC-so-that-It-will-su.patch \
+ 3d4c21f650c18771f202d9e9b858a4f93ee1848328eaa4b55c62f4cff86e45aa62d94b323c60ba759160d086800ae039f62236c041fede5347a91ef3467a03cc
-%patch add binutils -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0013-Patch-Microblaze-Compiler-will-give-error-messages-i.patch
-%hash sha512 0013-Patch-Microblaze-Compiler-will-give-error-messages-i.patch 7d52717cdd4680434935018edbf5b20b0a545494d33b54735238aefeb340476b7b04d40372f4c664f7cfdf346217bcbf70d1484cdcc7ffaabe74961d4be784a6
+%patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0012-fixing-the-constant-range-check-issue.patch
+%hash sha512 0012-fixing-the-constant-range-check-issue.patch \
+ e3100a06f4a5a816dbde2af496ed0a8fbb37e94a7188fef58c9fe78212de75ddf28d45b38bd605f58157925b1f56ef137ab5f89accb6bb478b4144647416c20a
+
+%patch add binutils -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/binutils/binutils/0013-Patch-Microblaze-Compiler-will-give-error-messages-i.patch
+%hash sha512 0013-Patch-Microblaze-Compiler-will-give-error-messages-i.patch \
+ 7d52717cdd4680434935018edbf5b20b0a545494d33b54735238aefeb340476b7b04d40372f4c664f7cfdf346217bcbf70d1484cdcc7ffaabe74961d4be784a6
diff --git a/rtems/config/tools/rtems-xilinx-gcc-10-newlib-head.cfg b/rtems/config/tools/rtems-xilinx-gcc-10-newlib-head.cfg
index a83fe46..53d243b 100644
--- a/rtems/config/tools/rtems-xilinx-gcc-10-newlib-head.cfg
+++ b/rtems/config/tools/rtems-xilinx-gcc-10-newlib-head.cfg
@@ -1,46 +1,67 @@
%include tools/rtems-gcc-10-newlib-head.cfg
-%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0001-LOCAL-Testsuite-builtins-tests-require-fpic.patch
-%hash sha512 0001-LOCAL-Testsuite-builtins-tests-require-fpic.patch 5373e2a7ea6561263224e8da55318425eee7c91d633c45680183141093c2ea31aa7e7ee11a7ba3bd580a7edb405a162bc8904f48a354b154383fc938036a09c2
+%define xilinx_github_url https://raw.githubusercontent.com/Xilinx/meta-xilinx
-%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0002-LOCAL-Quick-fail-g-.dg-opt-memcpy1.C.patch
-%hash sha512 0002-LOCAL-Quick-fail-g-.dg-opt-memcpy1.C.patch 4bf9df22fe7be735deb2ee4353933eadf13fbee1f23254d4c870d8c99749e76eb8010cacb6143fad71c11b72063a774bd7ed050f61f7e75afe4cc3e945b83441
+%patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0001-LOCAL-Testsuite-builtins-tests-require-fpic.patch
+%hash sha512 0001-LOCAL-Testsuite-builtins-tests-require-fpic.patch \
+ 5373e2a7ea6561263224e8da55318425eee7c91d633c45680183141093c2ea31aa7e7ee11a7ba3bd580a7edb405a162bc8904f48a354b154383fc938036a09c2
-%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0003-LOCAL-For-dejagnu-static-testing-on-qemu-suppress-wa.patch
-%hash sha512 0003-LOCAL-For-dejagnu-static-testing-on-qemu-suppress-wa.patch f8b8ae98a02d1aca64e3f91dad62977e006800b5b24112927fcd02a07fe40947f2209625b3b564cffb77dc6ab6e3db072cf93b26e925fed689b8d34b3cc612bf
+%patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0002-LOCAL-Quick-fail-g-.dg-opt-memcpy1.C.patch
+%hash sha512 0002-LOCAL-Quick-fail-g-.dg-opt-memcpy1.C.patch \
+ 4bf9df22fe7be735deb2ee4353933eadf13fbee1f23254d4c870d8c99749e76eb8010cacb6143fad71c11b72063a774bd7ed050f61f7e75afe4cc3e945b83441
-%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0004-Patch-testsuite-Add-MicroBlaze-to-target-supports-fo.patch
-%hash sha512 0004-Patch-testsuite-Add-MicroBlaze-to-target-supports-fo.patch f7823ba440cb3288fa372c690ffb878269915ee75be2693414338817e3bd8e9fd52545df4012b95c736d0a2fcca927bead86d5d9e70952af10b696299e3b2a4f
+%patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0003-LOCAL-For-dejagnu-static-testing-on-qemu-suppress-wa.patch
+%hash sha512 0003-LOCAL-For-dejagnu-static-testing-on-qemu-suppress-wa.patch \
+ f8b8ae98a02d1aca64e3f91dad62977e006800b5b24112927fcd02a07fe40947f2209625b3b564cffb77dc6ab6e3db072cf93b26e925fed689b8d34b3cc612bf
-%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0005-Patch-testsuite-Update-MicroBlaze-strings-test.patch
-%hash sha512 0005-Patch-testsuite-Update-MicroBlaze-strings-test.patch 1d63269e9bf6eb92e6a18a371d8c89c5a7d8735f1483d798a1e486e38d98e9b72fb95515374e8f241ddfa43e6eb90ffb876b1f066fcd3fc230d1370c34db778a
+%patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0004-Patch-testsuite-Add-MicroBlaze-to-target-supports-fo.patch
+%hash sha512 0004-Patch-testsuite-Add-MicroBlaze-to-target-supports-fo.patch \
+ f7823ba440cb3288fa372c690ffb878269915ee75be2693414338817e3bd8e9fd52545df4012b95c736d0a2fcca927bead86d5d9e70952af10b696299e3b2a4f
-%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0006-Patch-testsuite-Allow-MicroBlaze-.weakext-pattern-in.patch
-%hash sha512 0006-Patch-testsuite-Allow-MicroBlaze-.weakext-pattern-in.patch bf858501c97890035b05692c028c5f6fb66f1554cff59249e6af3e9882ab9a87d47e3696aa2e7a175bb1bf5dd38ba328e42474922706b5db93d2d5daaac7b620
+%patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0005-Patch-testsuite-Update-MicroBlaze-strings-test.patch
+%hash sha512 0005-Patch-testsuite-Update-MicroBlaze-strings-test.patch \
+ 1d63269e9bf6eb92e6a18a371d8c89c5a7d8735f1483d798a1e486e38d98e9b72fb95515374e8f241ddfa43e6eb90ffb876b1f066fcd3fc230d1370c34db778a
-%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0007-Patch-testsuite-Add-MicroBlaze-to-check_profiling_av.patch
-%hash sha512 0007-Patch-testsuite-Add-MicroBlaze-to-check-profiling-av.patch 5d86cdf759dcf7261ec3d3665fe488a76d1dac47040fa55a9ddd5d7764d6de6ef4848467f3e41aab1ba774d7c59eb1649f7882bd9ef3bfcae84c71fcaba64d81
+%patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0006-Patch-testsuite-Allow-MicroBlaze-.weakext-pattern-in.patch
+%hash sha512 0006-Patch-testsuite-Allow-MicroBlaze-.weakext-pattern-in.patch \
+ bf858501c97890035b05692c028c5f6fb66f1554cff59249e6af3e9882ab9a87d47e3696aa2e7a175bb1bf5dd38ba328e42474922706b5db93d2d5daaac7b620
-%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0008-Patch-microblaze-Fix-atomic-side-effects.patch
-%hash sha512 0008-Patch-microblaze-Fix-atomic-side-effects.patch 422a48b95dbc4370ae2a07e90a42b7a5eca1757f5396d8c660f134629fed2cc694e2409e5d5cc835d69526a7c5316c94345acfc193faaa6b1caeab45f726bf7f
+%patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0007-Patch-testsuite-Add-MicroBlaze-to-check_profiling_av.patch
+%hash sha512 0007-Patch-testsuite-Add-MicroBlaze-to-check_profiling_av.patch \
+ 5d86cdf759dcf7261ec3d3665fe488a76d1dac47040fa55a9ddd5d7764d6de6ef4848467f3e41aab1ba774d7c59eb1649f7882bd9ef3bfcae84c71fcaba64d81
-%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0009-Patch-microblaze-Fix-atomic-boolean-return-value.patch
-%hash sha512 0009-Patch-microblaze-Fix-atomic-boolean-return-value.patch 4c0b452cead51332c2987150009e7c41e4609d0ecc9cb2cecc15cc84a5861787a44adc60ecf27d8314af7d164e87a49a370c398298801043a1499f12f720084d
+%patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0008-Patch-microblaze-Fix-atomic-side-effects.patch
+%hash sha512 0008-Patch-microblaze-Fix-atomic-side-effects.patch \
+ 422a48b95dbc4370ae2a07e90a42b7a5eca1757f5396d8c660f134629fed2cc694e2409e5d5cc835d69526a7c5316c94345acfc193faaa6b1caeab45f726bf7f
-%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0010-Patch-microblaze-Fix-the-Microblaze-crash-with-msmal.patch
-%hash sha512 0010-Patch-microblaze-Fix-the-Microblaze-crash-with-msmal.patch 5a0a0bbc9bcb16b97893f681b18900d37c572deb97eebd9849a06e481db77c37df9d2f67f9614ba02163bf7fde2be10fb7f3b43070e1728da27d52f5a0967bc2
+%patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0009-Patch-microblaze-Fix-atomic-boolean-return-value.patch
+%hash sha512 0009-Patch-microblaze-Fix-atomic-boolean-return-value.patch \
+ 4c0b452cead51332c2987150009e7c41e4609d0ecc9cb2cecc15cc84a5861787a44adc60ecf27d8314af7d164e87a49a370c398298801043a1499f12f720084d
-%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0011-Patch-microblaze-Added-ashrsi3_with_size_opt.patch
-%hash sha512 0011-Patch-microblaze-Added-ashrsi3-with-size-opt.patch 104f0f80138f277ad8869a7a0261c647ee933bd053f4ce8f7f12675145ecabb1bf3015d16968534910e98cf518377beb9939721cd01de677d2c8f5bc3957373d
+%patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0010-Patch-microblaze-Fix-the-Microblaze-crash-with-msmal.patch
+%hash sha512 0010-Patch-microblaze-Fix-the-Microblaze-crash-with-msmal.patch \
+ 5a0a0bbc9bcb16b97893f681b18900d37c572deb97eebd9849a06e481db77c37df9d2f67f9614ba02163bf7fde2be10fb7f3b43070e1728da27d52f5a0967bc2
-%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0012-Patch-microblaze-Use-bralid-for-profiler-calls.patch
-%hash sha512 0012-Patch-microblaze-Use-bralid-for-profiler-calls.patch ad05cd7b91db89596394d538fd97833e374ae98b666e25ce5d379f16abe23acca106957404316d43e153375dde699fec8f385d1a6c54174f29649eb4d63604cd
+%patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0011-Patch-microblaze-Added-ashrsi3_with_size_opt.patch
+%hash sha512 0011-Patch-microblaze-Added-ashrsi3_with_size_opt.patch \
+ 104f0f80138f277ad8869a7a0261c647ee933bd053f4ce8f7f12675145ecabb1bf3015d16968534910e98cf518377beb9939721cd01de677d2c8f5bc3957373d
-%patch add gcc -p1 https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0013-Patch-microblaze-Removed-moddi3-routinue.patch
-%hash sha512 0013-Patch-microblaze-Removed-moddi3-routinue.patch 07cde4e4f5b7bfb8cd5c89c865cc4e4c36b943b5b24035df4b18c6e9b30b9513089344105d0c05a31f2c4606ab1034c5dcc3541d6792893027ad5e3dbfb04429
+%patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0012-Patch-microblaze-Use-bralid-for-profiler-calls.patch
+%hash sha512 0012-Patch-microblaze-Use-bralid-for-profiler-calls.patch \
+ ad05cd7b91db89596394d538fd97833e374ae98b666e25ce5d379f16abe23acca106957404316d43e153375dde699fec8f385d1a6c54174f29649eb4d63604cd
+
+%patch add gcc -p1 %{xilinx_github_url}/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0013-Patch-microblaze-Removed-moddi3-routinue.patch
+%hash sha512 0013-Patch-microblaze-Removed-moddi3-routinue.patch \
+ 07cde4e4f5b7bfb8cd5c89c865cc4e4c36b943b5b24035df4b18c6e9b30b9513089344105d0c05a31f2c4606ab1034c5dcc3541d6792893027ad5e3dbfb04429
%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4481/0001-gcc-config-aarch64-rtems.h-Define-__USE_INIT_FINI__.patch
-%hash sha512 0001-gcc-config-aarch64-rtems.h-Define---USE-INIT-FINI--.patch 84253c3c180fbfc6b640ffda72e8574f95661bdf3132503acc3f1b73a8f78aeb0508c06dbb32d1c8363ff083765194eeff14e46445946969c51a4498d2b3a0e7
+%hash sha512 0001-gcc-config-aarch64-rtems.h-Define-__USE_INIT_FINI__.patch \
+ 84253c3c180fbfc6b640ffda72e8574f95661bdf3132503acc3f1b73a8f78aeb0508c06dbb32d1c8363ff083765194eeff14e46445946969c51a4498d2b3a0e7
%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4481/0002-config-microblaze-crti.S-Add-single-underscore-init-.patch
-%hash sha512 0002-config-microblaze-crti.S-Add-single-underscore-init-.patch bf1ec7eff0dd51d154dd0507edb085458c90a000f5a3ccefb1064147cf8fdafe0111d2094372e164976f2193c289bff9ea63dcad43555c90893272a494b7e779
+%hash sha512 0002-config-microblaze-crti.S-Add-single-underscore-init-.patch \
+ bf1ec7eff0dd51d154dd0507edb085458c90a000f5a3ccefb1064147cf8fdafe0111d2094372e164976f2193c289bff9ea63dcad43555c90893272a494b7e779
+
+%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4589/0001-microblaze-Define-__ELF__-for-RTEMS-target.patch
+%hash sha512 0001-microblaze-Define-__ELF__-for-RTEMS-target.patch \
+ 39c0666c2e5c560447f00ed913cd07261e9c0db05b0cc549400667013ccf1d4140c0bd7b012d60dd628235bf7ae27564460a45e969e9cff75d14ed94bfd82632