summaryrefslogtreecommitdiffstats
path: root/scripts/gcc3newlib/target-gcc.add
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gcc3newlib/target-gcc.add')
-rw-r--r--scripts/gcc3newlib/target-gcc.add30
1 files changed, 30 insertions, 0 deletions
diff --git a/scripts/gcc3newlib/target-gcc.add b/scripts/gcc3newlib/target-gcc.add
new file mode 100644
index 0000000000..313d3d9b49
--- /dev/null
+++ b/scripts/gcc3newlib/target-gcc.add
@@ -0,0 +1,30 @@
+# ==============================================================
+# @target_alias@-gcc
+# ==============================================================
+%package -n @target_alias@-gcc
+Provides: @target_alias@-gcc
+Summary: rtems gcc and newlib C Library for @target_alias@
+Group: rtems
+Requires: @target_alias@-binutils rtems-base-gcc
+
+%description -n @target_alias@-gcc
+RTEMS is an open source operating system for embedded systems.
+
+This is gcc and newlib C Library for @target_alias@.
+
+%files -n @target_alias@-gcc -f build/files.gcc
+%doc %{_prefix}/man/man1/@target_alias@-gcc.1
+%doc %{_prefix}/man/man1/@target_alias@-g++.1
+
+%{_prefix}/bin/@target_alias@-cpp@exe_ext@
+%{_prefix}/bin/@target_alias@-c++@exe_ext@
+%{_prefix}/bin/@target_alias@-g++@exe_ext@
+%{_prefix}/bin/@target_alias@-gcc@exe_ext@
+%{_prefix}/bin/@target_alias@-c++filt@exe_ext@
+# %{_prefix}/bin/@target_alias@-protoize@exe_ext@
+# %{_prefix}/bin/@target_alias@-unprotoize@exe_ext@
+
+%dir %{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/include
+
+%{_prefix}/@target_alias@
+