summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/gcc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-11 21:37:40 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-11 21:37:40 +0000
commit6d7e83670f3de5289b99e4cd4e7c3f443532fdaf (patch)
treef81f79df2cdb96bced2cae496711df038277697a /contrib/crossrpms/gcc
parentadded missing config file brs5l.cfg (diff)
downloadrtems-6d7e83670f3de5289b99e4cd4e7c3f443532fdaf.tar.bz2
2006-08-11 Joel Sherrill <joel@oarcorp.com>
* configure.ac, gcc/build.add, gcc/target-gcc.add: Add bfin target prior to merge. Add ability to disable libssp and libstdcxx-pch which apparently are required to build the Blackfin port. * patches/binutils-2.17-rtems-bfin-20060810.diff, patches/gcc-4.1.1-bfinrtems-20060810a.diff, patches/gdb-6.5-bfinrtems-20060810a.diff, patches/newlib-1.14.0-bfinrtems-20060810a.diff, rtems4.7/bfin/.cvsignore, rtems4.7/bfin/Makefile.am, rtems4.7/bfin/binutils-sources.add, rtems4.7/bfin/gcc-sources.add, rtems4.7/bfin/gdb-sources.add: New files.
Diffstat (limited to 'contrib/crossrpms/gcc')
-rw-r--r--contrib/crossrpms/gcc/build.add6
-rw-r--r--contrib/crossrpms/gcc/target-gcc.add2
2 files changed, 8 insertions, 0 deletions
diff --git a/contrib/crossrpms/gcc/build.add b/contrib/crossrpms/gcc/build.add
index 80e65bd547..6693c5ba66 100644
--- a/contrib/crossrpms/gcc/build.add
+++ b/contrib/crossrpms/gcc/build.add
@@ -25,6 +25,12 @@
%if %build_libgcj
optargs="--enable-libgcj"
%endif
+%if %disable_libssp
+ optargs="$optargs --disable-libssp"
+%endif
+%if %disable_libstcxx_pch
+ optargs="$optargs --disable-libstdcxx-pch"
+%endif
%if "%{_prefix}" != "/usr"
export PATH="%{_bindir}:${PATH}"
%endif
diff --git a/contrib/crossrpms/gcc/target-gcc.add b/contrib/crossrpms/gcc/target-gcc.add
index 4ccadd1e46..fda95f3464 100644
--- a/contrib/crossrpms/gcc/target-gcc.add
+++ b/contrib/crossrpms/gcc/target-gcc.add
@@ -37,8 +37,10 @@ GNU cc compiler for @tool_target@.
%dir %{gcclib}/@tool_target@/%{gcc_version}/include
%if "%{gcc_version}" > "4.0.3"
+%if "@tool_target@" != "bfin-rtems4.7"
%dir %{gcclib}/@tool_target@/%{gcc_version}/include/ssp
%endif
+%endif
%dir %{gccexec}
%dir %{gccexec}/@tool_target@