summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2017-06-07 15:04:32 +1000
committerChris Johns <chrisj@rtems.org>2017-06-14 11:22:50 +1000
commitd57380a21b96a4f0d7c9a1f0b488c0fdc47c4de6 (patch)
treeab806d5daea638e3d49adb8456a7af3e97bae446
parentsb: Fix long path support in the copy_tree and removeall path support. (diff)
downloadrtems-source-builder-d57380a21b96a4f0d7c9a1f0b488c0fdc47c4de6.tar.bz2
4.11/lm32: Fix building on Windows.
This patch fixes building the LM32 GDB on Windows. Closes #3030.
-rw-r--r--rtems/config/4.11/rtems-lm32.bset5
-rw-r--r--rtems/config/tools/rtems-gdb-7.9-1.cfg7
2 files changed, 2 insertions, 10 deletions
diff --git a/rtems/config/4.11/rtems-lm32.bset b/rtems/config/4.11/rtems-lm32.bset
index 7530faa..6814268 100644
--- a/rtems/config/4.11/rtems-lm32.bset
+++ b/rtems/config/4.11/rtems-lm32.bset
@@ -14,9 +14,8 @@
#
# Fix the simulator UART interface.
#
-%patch add gdb %{rtems_gdb_patches}/lm32/gdb-7.9-lm32uart.diff
-%hash md5 gdb-7.9-lm32uart.diff eb9476a92bea7a20812ac129013b6ae3
-
+%patch add gdb https://devel.rtems.org/raw-attachment/ticket/3030/gdb-7.9-lm32uart-2.diff
+%hash sha256 gdb-7.9-lm32uart-2.diff 7a266c1800829dcb5e493073ef98ad7d7f38a69715b93154dfaaffd34073dff3
#
# Tools configuration.
diff --git a/rtems/config/tools/rtems-gdb-7.9-1.cfg b/rtems/config/tools/rtems-gdb-7.9-1.cfg
index 9850bf7..87db312 100644
--- a/rtems/config/tools/rtems-gdb-7.9-1.cfg
+++ b/rtems/config/tools/rtems-gdb-7.9-1.cfg
@@ -17,13 +17,6 @@
%patch add gdb %{rtems_gdb_patches}/gdb-sim-cgen-inline.diff
%hash md5 gdb-sim-cgen-inline.diff e6f7d6d7295cdba99f51aab514ea9778
-#
-# Fix building on Windows. Download the patches from GDB git repo.
-#
-#%define sourceware_binutils_gdb http://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=patch
-#%patch add gdb %{sourceware_binutils_gdb};h=63413d85873c450fa4ed2494f21fb1a65bdaf554
-#%patch add gdb %{sourceware_binutils_gdb};h=03b7960334677d33ee7410f2c819f78820c32024
-
%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