diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-02-16 17:22:17 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-02-16 17:22:17 +0000 |
commit | ebc03f555d7e9460f4d7bc123011b3860f1219cd (patch) | |
tree | b86935aaa0ec0554a2388f33e93d5188cfd12f91 | |
parent | Eliminate %binutils_target (diff) | |
download | rtems-ebc03f555d7e9460f4d7bc123011b3860f1219cd.tar.bz2 |
Propagate rpmprefix
-rw-r--r-- | contrib/crossrpms/cygwin/Makefile.am | 4 | ||||
-rw-r--r-- | contrib/crossrpms/freebsd5.2/Makefile.am | 4 | ||||
-rw-r--r-- | contrib/crossrpms/freebsd6.0/Makefile.am | 4 | ||||
-rw-r--r-- | contrib/crossrpms/mingw32/Makefile.am | 8 | ||||
-rw-r--r-- | contrib/crossrpms/rtems/Makefile.am | 4 | ||||
-rw-r--r-- | contrib/crossrpms/solaris2.7/Makefile.am | 4 |
6 files changed, 14 insertions, 14 deletions
diff --git a/contrib/crossrpms/cygwin/Makefile.am b/contrib/crossrpms/cygwin/Makefile.am index 0629d26cd6..f57e298d17 100644 --- a/contrib/crossrpms/cygwin/Makefile.am +++ b/contrib/crossrpms/cygwin/Makefile.am @@ -36,7 +36,7 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) binutils-sources.add -e "/[@]SOURCES[@]/r ./binutils-sources.add" \ -e "/[@]SOURCES[@]/d" \ -e '/^%define _prefix.*$$/d' \ - -e "s,[@]rpmprefix[@],,g" \ + -e "s,[@]rpmprefix[@],$(rpmprefix),g" \ -e "s,rtems[@]osversion[@],rtems,g" \ > $(TARGET)-binutils.spec.in CLEANFILES += $(TARGET)-binutils.spec.in @@ -72,7 +72,7 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) gcc-sources.add -e '/^%define _prefix.*$$/d' \ -e "s,[@]tool_target[@]-libc,@tool_target@-sys-root,g" \ -e "s,[=<][ ]*%{newlib_version}-%{release},," \ - -e "s,[@]rpmprefix[@],,g" \ + -e "s,[@]rpmprefix[@],$(rpmprefix),g" \ -e "s,rtems[@]osversion[@],rtems,g" \ > $(TARGET)-gcc.spec.in CLEANFILES += $(TARGET)-gcc.spec.in diff --git a/contrib/crossrpms/freebsd5.2/Makefile.am b/contrib/crossrpms/freebsd5.2/Makefile.am index 59952872a0..0e78021ae5 100644 --- a/contrib/crossrpms/freebsd5.2/Makefile.am +++ b/contrib/crossrpms/freebsd5.2/Makefile.am @@ -36,7 +36,7 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) binutils-sources.add -e "/[@]SOURCES[@]/r ./binutils-sources.add" \ -e "/[@]SOURCES[@]/d" \ -e '/^%define _prefix.*$$/d' \ - -e "s,[@]rpmprefix[@],,g" \ + -e "s,[@]rpmprefix[@],$(rpmprefix),g" \ -e "s,rtems[@]osversion[@],rtems,g" \ > $(TARGET)-binutils.spec.in CLEANFILES += $(TARGET)-binutils.spec.in @@ -70,7 +70,7 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) gcc-sources.add -e "/[@]SOURCES[@]/r ./gcc-sources.add" \ -e "/[@]SOURCES[@]/d" \ -e '/^%define _prefix.*$$/d' \ - -e "s,[@]rpmprefix[@],,g" \ + -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},," \ diff --git a/contrib/crossrpms/freebsd6.0/Makefile.am b/contrib/crossrpms/freebsd6.0/Makefile.am index ab33488edf..094bc51cda 100644 --- a/contrib/crossrpms/freebsd6.0/Makefile.am +++ b/contrib/crossrpms/freebsd6.0/Makefile.am @@ -36,7 +36,7 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) binutils-sources.add -e "/[@]SOURCES[@]/r ./binutils-sources.add" \ -e "/[@]SOURCES[@]/d" \ -e '/^%define _prefix.*$$/d' \ - -e "s,[@]rpmprefix[@],,g" \ + -e "s,[@]rpmprefix[@],$(rpmprefix),g" \ -e "s,rtems[@]osversion[@],rtems,g" \ > $(TARGET)-binutils.spec.in CLEANFILES += $(TARGET)-binutils.spec.in @@ -70,7 +70,7 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) gcc-sources.add -e "/[@]SOURCES[@]/r ./gcc-sources.add" \ -e "/[@]SOURCES[@]/d" \ -e '/^%define _prefix.*$$/d' \ - -e "s,[@]rpmprefix[@],,g" \ + -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},," \ diff --git a/contrib/crossrpms/mingw32/Makefile.am b/contrib/crossrpms/mingw32/Makefile.am index ecc138bdbb..00beb594e9 100644 --- a/contrib/crossrpms/mingw32/Makefile.am +++ b/contrib/crossrpms/mingw32/Makefile.am @@ -17,7 +17,7 @@ LIBS_SUBPACKAGES += target-libs.add $(TARGET)-libs.spec.in: $(LIBS_SUBPACKAGES) cat $(LIBS_SUBPACKAGES) | sed \ -e '/^%define _prefix.*$$/d' \ - -e "s,[@]rpmprefix[@],,g" \ + -e "s,[@]rpmprefix[@],$(rpmprefix),g" \ > $(TARGET)-libs.spec.in CLEANFILES += $(TARGET)-libs.spec.in @@ -42,7 +42,7 @@ W32API_SUBPACKAGES += target-w32api.add $(TARGET)-w32api.spec.in: $(W32API_SUBPACKAGES) cat $(W32API_SUBPACKAGES) | sed \ -e '/^%define _prefix.*$$/d' \ - -e "s,[@]rpmprefix[@],,g" \ + -e "s,[@]rpmprefix[@],$(rpmprefix),g" \ > $(TARGET)-w32api.spec.in CLEANFILES += $(TARGET)-w32api.spec.in @@ -71,7 +71,7 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) binutils-sources.add -e "/[@]SOURCES[@]/r ./binutils-sources.add" \ -e "/[@]SOURCES[@]/d" \ -e '/^%define _prefix.*$$/d' \ - -e "s,[@]rpmprefix[@],,g" \ + -e "s,[@]rpmprefix[@],$(rpmprefix),g" \ -e "s,rtems[@]osversion[@],rtems,g" \ > $(TARGET)-binutils.spec.in CLEANFILES += $(TARGET)-binutils.spec.in @@ -105,7 +105,7 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) gcc-sources.add -e "/[@]SOURCES[@]/r ./gcc-sources.add" \ -e "/[@]SOURCES[@]/d" \ -e '/^%define _prefix.*$$/d' \ - -e "s,[@]rpmprefix[@],,g" \ + -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},," \ diff --git a/contrib/crossrpms/rtems/Makefile.am b/contrib/crossrpms/rtems/Makefile.am index 881e125ff1..d25b025e94 100644 --- a/contrib/crossrpms/rtems/Makefile.am +++ b/contrib/crossrpms/rtems/Makefile.am @@ -21,7 +21,7 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) binutils-sources.add -e "/[@]SOURCES[@]/r ./binutils-sources.add" \ -e "/[@]SOURCES[@]/d" \ -e '/^%define _prefix.*$$/d' \ - -e "s,[@]rpmprefix[@],,g" \ + -e "s,[@]rpmprefix[@],$(rpmprefix),g" \ -e "s,rtems[@]osversion[@],rtems,g" \ > $(TARGET)-binutils.spec.in CLEANFILES += $(TARGET)-binutils.spec.in @@ -55,7 +55,7 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) gcc-sources.add -e "/[@]SOURCES[@]/r ./gcc-sources.add" \ -e "/[@]SOURCES[@]/d" \ -e '/^%define _prefix.*$$/d' \ - -e "s,[@]rpmprefix[@],,g" \ + -e "s,[@]rpmprefix[@],$(rpmprefix),g" \ -e "s,rtems[@]osversion[@],rtems,g" \ -e "/^%package -n @tool_target@-gcc/d" \ -e 's,^%define build_newlib.*$$,%define build_newlib 1,' \ diff --git a/contrib/crossrpms/solaris2.7/Makefile.am b/contrib/crossrpms/solaris2.7/Makefile.am index d010b96f3f..be38a749bb 100644 --- a/contrib/crossrpms/solaris2.7/Makefile.am +++ b/contrib/crossrpms/solaris2.7/Makefile.am @@ -36,7 +36,7 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) binutils-sources.add -e "/[@]SOURCES[@]/r ./binutils-sources.add" \ -e "/[@]SOURCES[@]/d" \ -e '/^%define _prefix.*$$/d' \ - -e "s,[@]rpmprefix[@],,g" \ + -e "s,[@]rpmprefix[@],$(rpmprefix),g" \ -e "s,rtems[@]osversion[@],rtems,g" \ > $(TARGET)-binutils.spec.in CLEANFILES += $(TARGET)-binutils.spec.in @@ -70,7 +70,7 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) gcc-sources.add -e "/[@]SOURCES[@]/r ./gcc-sources.add" \ -e "/[@]SOURCES[@]/d" \ -e '/^%define _prefix.*$$/d' \ - -e "s,[@]rpmprefix[@],,g" \ + -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},," \ |