summaryrefslogtreecommitdiffstats
path: root/rtems/config/tools/rtems-gdb-7.7-1.cfg
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-05-13 23:26:09 +1000
committerChris Johns <chrisj@rtems.org>2014-05-13 23:26:09 +1000
commit9a15c40e1b2ac56a678e79519e1e78160009af92 (patch)
tree308f3f407a06c4073612b813d4d40ed0c5c5c60e /rtems/config/tools/rtems-gdb-7.7-1.cfg
parent4.11/rtems-lm32: Use gcc-4.9.0 and fix gdb simulator build on Windows. (diff)
downloadrtems-source-builder-9a15c40e1b2ac56a678e79519e1e78160009af92.tar.bz2
sb: Implement %source and %patch to manage source and patches.
Remove the numbered source and patches and automatically manage sources and patches. This removes the overhead in maintaining large collections of patches.
Diffstat (limited to 'rtems/config/tools/rtems-gdb-7.7-1.cfg')
-rw-r--r--rtems/config/tools/rtems-gdb-7.7-1.cfg12
1 files changed, 3 insertions, 9 deletions
diff --git a/rtems/config/tools/rtems-gdb-7.7-1.cfg b/rtems/config/tools/rtems-gdb-7.7-1.cfg
index d1f59cc..3a89680 100644
--- a/rtems/config/tools/rtems-gdb-7.7-1.cfg
+++ b/rtems/config/tools/rtems-gdb-7.7-1.cfg
@@ -8,19 +8,13 @@
%define gdb_version 7.7
#
-# RTEMS Build Set patches.
-#
-%include rtems-gdb-patches.cfg
-
-#
# Clean up the sim-arange inline code so it builds.
#
-%define patch1 %{rtems_gdb_patches}/gdb-sim-arange-inline.diff
-%define patch2 %{rtems_gdb_patches}/gdb-sim-cgen-inline.diff
+%patch add gdb %{rtems_gdb_patches}/gdb-sim-arange-inline.diff
+%patch add gdb %{rtems_gdb_patches}/gdb-sim-cgen-inline.diff
%if %{_build_os} == freebsd
-%define patch5 %{rtems_gdb_patches}/patch-gdb-python-python-config.py
-%define patch5_opts -p0
+ %patch add gdb -p0 %{rtems_gdb_patches}/patch-gdb-python-python-config.py
%endif
#