summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2006-02-21 08:36:05 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2006-02-21 08:36:05 +0000
commit147427ca88e8bc7c43ba57aea6d089b8f0e8b1e1 (patch)
tree4a11ed2cb469531c6076e5065b698f0345bf04d3 /contrib
parentAdd osversion (diff)
downloadrtems-147427ca88e8bc7c43ba57aea6d089b8f0e8b1e1.tar.bz2
Re-add BINUTILS_*, GCC_*
Diffstat (limited to 'contrib')
-rw-r--r--contrib/crossrpms/rtems/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/crossrpms/rtems/Makefile.am b/contrib/crossrpms/rtems/Makefile.am
index d6ba5031b3..9369453298 100644
--- a/contrib/crossrpms/rtems/Makefile.am
+++ b/contrib/crossrpms/rtems/Makefile.am
@@ -24,6 +24,8 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) Makefile.am binutils-sources
cat $(BINUTILS_SUBPACKAGES) | sed \
-e "/[@]SOURCES[@]/r ./binutils-sources.add" \
-e "/[@]SOURCES[@]/d" \
+ -e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
+ -e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
> $(TARGET)-binutils.spec.in
CLEANFILES += $(TARGET)-binutils.spec.in
@@ -54,6 +56,9 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am gcc-sources.add
cat $(GCC_SUBPACKAGES) | sed \
-e "/[@]SOURCES[@]/r ./gcc-sources.add" \
-e "/[@]SOURCES[@]/d" \
+ -e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
+ -e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
+ -e "s/[@]NEWLIB_VERS[@]/$(NEWLIB_VERS)/g" \
-e "/^%package -n @rpmprefix@@tool_target@-gcc/d" \
-e "s/-n @rpmprefix@@tool_target@-gcc//" \
-e "/--with-sysroot/d" \