diff options
author | Chris Johns <chrisj@rtems.org> | 2013-02-08 10:06:16 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2013-02-08 10:06:16 +1100 |
commit | 6a2003e687760c82898bf479181efc3756092b79 (patch) | |
tree | ec2ff0eab7ecb151a39ce4cb1b55a0263500b7a8 | |
parent | Binutils 2.23.1. (diff) | |
download | rtems-source-builder-6a2003e687760c82898bf479181efc3756092b79.tar.bz2 |
Add support to turn on the "obsolete" arm-rtems4.11 target.
This indicate a bug in the gcc patches that should be making
arm-rtems4.11 the standard EABI tools for RTEMS.
-rw-r--r-- | rtems/config/rtems-gcc-4.7.2-newlib-1.20.0-1.cfg | 9 | ||||
-rw-r--r-- | source-builder/config/gcc-4.7-1.cfg | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/rtems/config/rtems-gcc-4.7.2-newlib-1.20.0-1.cfg b/rtems/config/rtems-gcc-4.7.2-newlib-1.20.0-1.cfg index cb1dcf6..59d7ec8 100644 --- a/rtems/config/rtems-gcc-4.7.2-newlib-1.20.0-1.cfg +++ b/rtems/config/rtems-gcc-4.7.2-newlib-1.20.0-1.cfg @@ -36,6 +36,15 @@ %endif # +# If arm-rtems4.11 add --enable-obsolete. +# +%if %{_target} == arm-rtems4.11 +%define enable_obsolete 1 +%else +%define enable_obsolete 0 +%endif + +# # The RTEMS 4.11 patches # Patch0: gcc-4.7.2-rtems4.11-20121026.diff diff --git a/source-builder/config/gcc-4.7-1.cfg b/source-builder/config/gcc-4.7-1.cfg index 30b3d5e..519e2c8 100644 --- a/source-builder/config/gcc-4.7-1.cfg +++ b/source-builder/config/gcc-4.7-1.cfg @@ -148,6 +148,9 @@ Source22: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2 %{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \ --enable-newlib-io-c99-formats \ %{?with_iconv:--enable-newlib-iconv} \ +%if %{enable_obsolete} + --enable-obsolete \ +%endif --enable-languages="$languages" %if "%_host" != "%_build" |