summaryrefslogtreecommitdiffstats
path: root/rtems/config/tools/rtems-gcc-4.8.1-newlib-cvs-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-gcc-4.8.1-newlib-cvs-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-gcc-4.8.1-newlib-cvs-1.cfg')
-rw-r--r--rtems/config/tools/rtems-gcc-4.8.1-newlib-cvs-1.cfg14
1 files changed, 4 insertions, 10 deletions
diff --git a/rtems/config/tools/rtems-gcc-4.8.1-newlib-cvs-1.cfg b/rtems/config/tools/rtems-gcc-4.8.1-newlib-cvs-1.cfg
index d1cca38..32c6547 100644
--- a/rtems/config/tools/rtems-gcc-4.8.1-newlib-cvs-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.8.1-newlib-cvs-1.cfg
@@ -27,30 +27,24 @@
#
# Newlib is from CVS.
#
-Source10: cvs://pserver:anoncvs@sourceware.org/cvs/src?module=newlib?src-prefix=src?date=%{newlib_version}?reset
+%source set newlib cvs://pserver:anoncvs@sourceware.org/cvs/src?module=newlib?src-prefix=src?date=%{newlib_version}?reset
#
# Sebastian's atexit patch.
#
-%define rtems_gcc_patch1 %{rtems_gcc_patches}/gcc-4.8.1-rtems4.11-20130709.diff
+%patch add gcc %{rtems_gcc_patches}/gcc-4.8.1-rtems4.11-20130709.diff
#
# Chris's patch to use the POSIX thread model for C++.
#
-%define rtems_gcc_patch2 %{rtems_gcc_patches}/gcc-rtems-thread-model-posix-1.diff
+%patch add gcc %{rtems_gcc_patches}/gcc-rtems-thread-model-posix-1.diff
#
# Joel's stack_t patch.
#
-%define rtems_gcc_patch11 %{rtems_newlib_patches}/newlib-sys-signal-20130532.diff
-%define rtems_gcc_patch11_opts -p0
+%patch add newlib -p0 %{rtems_newlib_patches}/newlib-sys-signal-20130532.diff
#
-#
-# Manage RTEMS patches
-#
-%include rtems-gcc-patches.cfg
-
# The gcc/newlib build instructions. We use 4.8 Release 1.
#
%include %{_configdir}/gcc-4.8-1.cfg