From 81ccf41bc061093dea5c8dabc320011a10454bda Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Sat, 7 Feb 2015 10:43:31 +1100 Subject: Update all 4.11 archs to newlib-2.2.0-1 and gdb-7.8.2 where possible. Remove the extra gdb-7.8.1.cfg and added support to allow GDB tar compression to be version defined. GDB has changed it default to .xz. --- rtems/config/tools/rtems-gdb-7.8.1-1.cfg | 4 ++-- rtems/config/tools/rtems-gdb-7.8.2-1.cfg | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 rtems/config/tools/rtems-gdb-7.8.2-1.cfg (limited to 'rtems/config/tools') diff --git a/rtems/config/tools/rtems-gdb-7.8.1-1.cfg b/rtems/config/tools/rtems-gdb-7.8.1-1.cfg index 297650d..c4bc19f 100644 --- a/rtems/config/tools/rtems-gdb-7.8.1-1.cfg +++ b/rtems/config/tools/rtems-gdb-7.8.1-1.cfg @@ -7,7 +7,7 @@ %define gdb_version 7.8.1 -%hash md5 gdb-%{gdb_version}.tar.gz 997492cc3475c96f35ecc8775248c9b1 +#%hash md5 gdb-%{gdb_version}.tar.bz2 997492cc3475c96f35ecc8775248c9b1 # # Clean up the sim-arange inline code so it builds. @@ -25,4 +25,4 @@ # # The gdb build instructions. We use 7.xx Release 1. # -%include %{_configdir}/gdb-7.8.1-1.cfg +%include %{_configdir}/gdb-7-1.cfg diff --git a/rtems/config/tools/rtems-gdb-7.8.2-1.cfg b/rtems/config/tools/rtems-gdb-7.8.2-1.cfg new file mode 100644 index 0000000..1008a29 --- /dev/null +++ b/rtems/config/tools/rtems-gdb-7.8.2-1.cfg @@ -0,0 +1,29 @@ +# +# GDB 7.8.2 +# + +%include %{_configdir}/checks.cfg +%include %{_configdir}/base.cfg + +%define gdb_version 7.8.2 +%define gdb_src_ext xz + +#%hash md5 gdb-%{gdb_version}.tar.xz 997492cc3475c96f35ecc8775248c9b1 + +# +# Clean up the sim-arange inline code so it builds. +# +%patch add gdb %{rtems_gdb_patches}/gdb-sim-arange-inline.diff +%hash md5 gdb-sim-arange-inline.diff 11bb2936ea29afeaa023077191fd4705 +%patch add gdb %{rtems_gdb_patches}/gdb-sim-cgen-inline.diff +%hash md5 gdb-sim-cgen-inline.diff e6f7d6d7295cdba99f51aab514ea9778 + +%if %{_build_os} == freebsd + %patch add gdb -p0 %{rtems_gdb_patches}/patch-gdb-python-python-config.py + %hash md5 patch-gdb-python-python-config.py c0260fcca4c1a5509635049c0094eee3 +%endif + +# +# The gdb build instructions. We use 7.xx Release 1. +# +%include %{_configdir}/gdb-7-1.cfg -- cgit v1.2.3