summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/cygwin
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2006-02-18 06:53:57 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2006-02-18 06:53:57 +0000
commit9d07966e4dff8f3c555560ae128380ffa5a3a717 (patch)
treeeb95ac706ff0a1c48c4218996e7b44daeaaf2788 /contrib/crossrpms/cygwin
parentSed out %package -n @rpmprefix@@tool_target@-gcc from *gcc.spec (diff)
downloadrtems-9d07966e4dff8f3c555560ae128380ffa5a3a717.tar.bz2
Misc. sed magic.
Diffstat (limited to 'contrib/crossrpms/cygwin')
-rw-r--r--contrib/crossrpms/cygwin/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/crossrpms/cygwin/Makefile.am b/contrib/crossrpms/cygwin/Makefile.am
index 03c2927e5c..5ae7c6d0c8 100644
--- a/contrib/crossrpms/cygwin/Makefile.am
+++ b/contrib/crossrpms/cygwin/Makefile.am
@@ -81,10 +81,13 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am gcc-sources.add
-e "/[@]SOURCES[@]/r ./gcc-sources.add" \
-e "/[@]SOURCES[@]/d" \
-e "s,[@]_prefix[@],$(prefix),g" \
- -e "s,[@]tool_target[@]-libc,@tool_target@-sys-root,g" \
- -e "s,[=<][ ]*%{newlib_version}-%{release},," \
-e "s,[@]rpmprefix[@],$(rpmprefix),g" \
-e "s,rtems[@]osversion[@],rtems,g" \
+ -e "s,[@]tool_target[@]-libc,@tool_target@-sys-root,g" \
+ -e "s,[=<][ ]*%{newlib_version}-%{release},," \
+ -e "/^%package -n @rpmprefix@@tool_target@-gcc/d" \
+ -e "s/-n @rpmprefix@@tool_target@-gcc//" \
+ -e 's,^%define build_newlib.*$$,%define build_newlib 0,' \
> $(TARGET)-gcc.spec.in
CLEANFILES += $(TARGET)-gcc.spec.in