forked from Imagelibrary/rtems
2003-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add --enable-osversions (OS-versioned RPMS support). * binutils/Makefile.am: Add osversion support. * binutils/mkspec.in: Add osversion support. * gcc3newlib/Makefile.am: Add osversion support. * gcc3newlib/mkspec.in: Add osversion support. * gdb/Makefile.am: Add osversion support. * gdb/mkspec.in: Add osversion support. Add rpmprefix, rpmgroup.
This commit is contained in:
@@ -1,3 +1,14 @@
|
|||||||
|
2003-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* configure.ac: Add --enable-osversions (OS-versioned RPMS support).
|
||||||
|
* binutils/Makefile.am: Add osversion support.
|
||||||
|
* binutils/mkspec.in: Add osversion support.
|
||||||
|
* gcc3newlib/Makefile.am: Add osversion support.
|
||||||
|
* gcc3newlib/mkspec.in: Add osversion support.
|
||||||
|
* gdb/Makefile.am: Add osversion support.
|
||||||
|
* gdb/mkspec.in: Add osversion support.
|
||||||
|
Add rpmprefix, rpmgroup.
|
||||||
|
|
||||||
2003-09-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2003-09-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* Makefile.am, configure.ac,
|
* Makefile.am, configure.ac,
|
||||||
|
|||||||
@@ -19,61 +19,61 @@ RPM_SPECS_DATA =
|
|||||||
MKBINUTILSSPEC_DEPS = mkspec binutils.spec.in \
|
MKBINUTILSSPEC_DEPS = mkspec binutils.spec.in \
|
||||||
$(top_builddir)/setup.cache
|
$(top_builddir)/setup.cache
|
||||||
|
|
||||||
arm-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
arm-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
||||||
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache arm-rtems > $@
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache arm-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += arm-rtems-$(BINUTILSVERS).spec
|
RPM_SPECS_DATA += arm-rtems@osversion@-$(BINUTILSVERS).spec
|
||||||
|
|
||||||
c4x-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
c4x-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
||||||
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems > $@
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += c4x-rtems-$(BINUTILSVERS).spec
|
RPM_SPECS_DATA += c4x-rtems@osversion@-$(BINUTILSVERS).spec
|
||||||
|
|
||||||
h8300-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
h8300-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
||||||
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems > $@
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += h8300-rtems-$(BINUTILSVERS).spec
|
RPM_SPECS_DATA += h8300-rtems@osversion@-$(BINUTILSVERS).spec
|
||||||
|
|
||||||
hppa1.1-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
hppa1.1-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
||||||
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems > $@
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += hppa1.1-rtems-$(BINUTILSVERS).spec
|
RPM_SPECS_DATA += hppa1.1-rtems@osversion@-$(BINUTILSVERS).spec
|
||||||
|
|
||||||
i386-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
i386-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
||||||
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache i386-rtems > $@
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache i386-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += i386-rtems-$(BINUTILSVERS).spec
|
RPM_SPECS_DATA += i386-rtems@osversion@-$(BINUTILSVERS).spec
|
||||||
|
|
||||||
i960-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
i960-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
||||||
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache i960-rtems > $@
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache i960-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += i960-rtems-$(BINUTILSVERS).spec
|
RPM_SPECS_DATA += i960-rtems@osversion@-$(BINUTILSVERS).spec
|
||||||
|
|
||||||
m68k-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
m68k-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
||||||
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems > $@
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += m68k-rtems-$(BINUTILSVERS).spec
|
RPM_SPECS_DATA += m68k-rtems@osversion@-$(BINUTILSVERS).spec
|
||||||
|
|
||||||
mips64orion-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
mips64orion-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
||||||
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems > $@
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += mips64orion-rtems-$(BINUTILSVERS).spec
|
RPM_SPECS_DATA += mips64orion-rtems@osversion@-$(BINUTILSVERS).spec
|
||||||
|
|
||||||
mips-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
mips-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
||||||
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache mips-rtems > $@
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache mips-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += mips-rtems-$(BINUTILSVERS).spec
|
RPM_SPECS_DATA += mips-rtems@osversion@-$(BINUTILSVERS).spec
|
||||||
|
|
||||||
or32-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
or32-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
||||||
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache or32-rtems > $@
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache or32-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += or32-rtems-$(BINUTILSVERS).spec
|
RPM_SPECS_DATA += or32-rtems@osversion@-$(BINUTILSVERS).spec
|
||||||
|
|
||||||
powerpc-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
powerpc-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
||||||
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems > $@
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += powerpc-rtems-$(BINUTILSVERS).spec
|
RPM_SPECS_DATA += powerpc-rtems@osversion@-$(BINUTILSVERS).spec
|
||||||
|
|
||||||
sh-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
sh-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
||||||
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sh-rtems > $@
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sh-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += sh-rtems-$(BINUTILSVERS).spec
|
RPM_SPECS_DATA += sh-rtems@osversion@-$(BINUTILSVERS).spec
|
||||||
|
|
||||||
sh-rtemself-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
sh-rtemself-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
||||||
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself > $@
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself@osversion@ > $@
|
||||||
RPM_SPECS_DATA += sh-rtemself-$(BINUTILSVERS).spec
|
RPM_SPECS_DATA += sh-rtemself-$(BINUTILSVERS).spec
|
||||||
|
|
||||||
sparc-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
sparc-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
||||||
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems > $@
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += sparc-rtems-$(BINUTILSVERS).spec
|
RPM_SPECS_DATA += sparc-rtems@osversion@-$(BINUTILSVERS).spec
|
||||||
|
|
||||||
CLEANFILES += $(RPM_SPECS_DATA)
|
CLEANFILES += $(RPM_SPECS_DATA)
|
||||||
|
|
||||||
|
|||||||
@@ -59,6 +59,8 @@ sed -e "s%@Release\@%${binutils_rpm_release}%g" \
|
|||||||
-e "s%@prefix\@%@prefix@%g" \
|
-e "s%@prefix\@%@prefix@%g" \
|
||||||
-e "s,@rpmprefix\@,@rpmprefix@,g" \
|
-e "s,@rpmprefix\@,@rpmprefix@,g" \
|
||||||
-e "s%@rpmgroup\@%@rpmgroup@%g" \
|
-e "s%@rpmgroup\@%@rpmgroup@%g" \
|
||||||
|
-e "s%@rpmgroup\@%@rpmgroup@%g" \
|
||||||
|
-e "s%@osversion\@%@osversion@%g" \
|
||||||
-e "s%@binutils_version\@%${binutils_version}%g" \
|
-e "s%@binutils_version\@%${binutils_version}%g" \
|
||||||
-e "s%@binutils_patch_version\@%${binutils_patch_version}%g" \
|
-e "s%@binutils_patch_version\@%${binutils_patch_version}%g" \
|
||||||
-e "s,@PATCH1\@,${PATCH1}," \
|
-e "s,@PATCH1\@,${PATCH1}," \
|
||||||
|
|||||||
@@ -23,6 +23,14 @@ no ) rpmprefix="%{nil}";;
|
|||||||
esac],
|
esac],
|
||||||
[rpmprefix="rtems-"]RTEMS_API["-"])
|
[rpmprefix="rtems-"]RTEMS_API["-"])
|
||||||
|
|
||||||
|
AC_ARG_ENABLE([osversions],
|
||||||
|
[ --enable-osversions whether to use version numbers in os-tripples],
|
||||||
|
[case $enable_osversions in
|
||||||
|
yes ) osversion=RTEMS_API;;
|
||||||
|
* ) osversion=;;
|
||||||
|
esac],
|
||||||
|
[osversion=])
|
||||||
|
|
||||||
AC_MSG_CHECKING(for rpm SPECS directory)
|
AC_MSG_CHECKING(for rpm SPECS directory)
|
||||||
# Allow users to override RPM_SPECSdir from the environment.
|
# Allow users to override RPM_SPECSdir from the environment.
|
||||||
if test -z "$RPM_SPECSdir" ;
|
if test -z "$RPM_SPECSdir" ;
|
||||||
@@ -79,6 +87,7 @@ AC_SUBST(BSPVERS)
|
|||||||
AC_SUBST(RPM_CPU)
|
AC_SUBST(RPM_CPU)
|
||||||
AC_SUBST(rpmprefix,$rpmprefix)
|
AC_SUBST(rpmprefix,$rpmprefix)
|
||||||
AC_SUBST(rpmgroup,[Rtems/][RTEMS_API])
|
AC_SUBST(rpmgroup,[Rtems/][RTEMS_API])
|
||||||
|
AC_SUBST(osversion,$osversion)
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile
|
AC_CONFIG_FILES([Makefile
|
||||||
binutils/Makefile
|
binutils/Makefile
|
||||||
|
|||||||
@@ -28,57 +28,57 @@ MKGCCNEWLIBSPEC_DEPS = mkspec gccnewlib.spec.in \
|
|||||||
|
|
||||||
RPM_SPECS_DATA =
|
RPM_SPECS_DATA =
|
||||||
|
|
||||||
arm-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
arm-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache arm-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache arm-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += arm-rtems-$(GCC3NEWLIBVERS).spec
|
RPM_SPECS_DATA += arm-rtems@osversion@-$(GCC3NEWLIBVERS).spec
|
||||||
|
|
||||||
c4x-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
c4x-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += c4x-rtems-$(GCC3NEWLIBVERS).spec
|
RPM_SPECS_DATA += c4x-rtems@osversion@-$(GCC3NEWLIBVERS).spec
|
||||||
|
|
||||||
h8300-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
h8300-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += h8300-rtems-$(GCC3NEWLIBVERS).spec
|
RPM_SPECS_DATA += h8300-rtems@osversion@-$(GCC3NEWLIBVERS).spec
|
||||||
|
|
||||||
hppa1.1-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
hppa1.1-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += hppa1.1-rtems-$(GCC3NEWLIBVERS).spec
|
RPM_SPECS_DATA += hppa1.1-rtems@osversion@-$(GCC3NEWLIBVERS).spec
|
||||||
|
|
||||||
i386-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
i386-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache i386-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache i386-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += i386-rtems-$(GCC3NEWLIBVERS).spec
|
RPM_SPECS_DATA += i386-rtems@osversion@-$(GCC3NEWLIBVERS).spec
|
||||||
|
|
||||||
i960-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
i960-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache i960-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache i960-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += i960-rtems-$(GCC3NEWLIBVERS).spec
|
RPM_SPECS_DATA += i960-rtems@osversion@-$(GCC3NEWLIBVERS).spec
|
||||||
|
|
||||||
m68k-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
m68k-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += m68k-rtems-$(GCC3NEWLIBVERS).spec
|
RPM_SPECS_DATA += m68k-rtems@osversion@-$(GCC3NEWLIBVERS).spec
|
||||||
|
|
||||||
mips64orion-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
mips64orion-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += mips64orion-rtems-$(GCC3NEWLIBVERS).spec
|
RPM_SPECS_DATA += mips64orion-rtems@osversion@-$(GCC3NEWLIBVERS).spec
|
||||||
|
|
||||||
mips-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
mips-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache mips-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache mips-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += mips-rtems-$(GCC3NEWLIBVERS).spec
|
RPM_SPECS_DATA += mips-rtems@osversion@-$(GCC3NEWLIBVERS).spec
|
||||||
|
|
||||||
powerpc-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
powerpc-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += powerpc-rtems-$(GCC3NEWLIBVERS).spec
|
RPM_SPECS_DATA += powerpc-rtems@osversion@-$(GCC3NEWLIBVERS).spec
|
||||||
|
|
||||||
sh-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
sh-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += sh-rtems-$(GCC3NEWLIBVERS).spec
|
RPM_SPECS_DATA += sh-rtems@osversion@-$(GCC3NEWLIBVERS).spec
|
||||||
|
|
||||||
sh-rtemself-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
sh-rtemself-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself@osversion@ > $@
|
||||||
RPM_SPECS_DATA += sh-rtemself-$(GCC3NEWLIBVERS).spec
|
RPM_SPECS_DATA += sh-rtemself-$(GCC3NEWLIBVERS).spec
|
||||||
|
|
||||||
sparc-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
sparc-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += sparc-rtems-$(GCC3NEWLIBVERS).spec
|
RPM_SPECS_DATA += sparc-rtems@osversion@-$(GCC3NEWLIBVERS).spec
|
||||||
|
|
||||||
CLEANFILES += $(RPM_SPECS_DATA)
|
CLEANFILES += $(RPM_SPECS_DATA)
|
||||||
|
|
||||||
|
|||||||
@@ -71,6 +71,7 @@ sed -e "s,@PATCH1\@,${PATCH1}," \
|
|||||||
-e "s%@prefix\@%@prefix@%g" \
|
-e "s%@prefix\@%@prefix@%g" \
|
||||||
-e "s,@rpmprefix\@,@rpmprefix@,g" \
|
-e "s,@rpmprefix\@,@rpmprefix@,g" \
|
||||||
-e "s%@rpmgroup\@%@rpmgroup@%g" \
|
-e "s%@rpmgroup\@%@rpmgroup@%g" \
|
||||||
|
-e "s%@osversion\@%@osversion@%g" \
|
||||||
-e "s,@rpm_build_root\@,${rpm_build_root},g" \
|
-e "s,@rpm_build_root\@,${rpm_build_root},g" \
|
||||||
-e "s%@gcc_version\@%${gcc3_version}%g" \
|
-e "s%@gcc_version\@%${gcc3_version}%g" \
|
||||||
-e "s%@gcc_patch_version\@%${gcc3_patch_version}%g" \
|
-e "s%@gcc_patch_version\@%${gcc3_patch_version}%g" \
|
||||||
|
|||||||
@@ -23,73 +23,73 @@ MKGDBSPEC_DEPS = mkspec gdb.spec.in \
|
|||||||
|
|
||||||
RPM_SPECS_DATA =
|
RPM_SPECS_DATA =
|
||||||
|
|
||||||
arm-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
arm-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache arm-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache arm-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += arm-rtems-$(GDBVERS).spec
|
RPM_SPECS_DATA += arm-rtems@osversion@-$(GDBVERS).spec
|
||||||
|
|
||||||
# does not build with 5.2
|
# does not build with 5.2
|
||||||
# c4x-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
# c4x-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
||||||
# $(MKSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems > $@
|
# $(MKSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems@osversion@ > $@
|
||||||
# RPM_SPECS_DATA += c4x-rtems-$(GDBVERS).spec
|
# RPM_SPECS_DATA += c4x-rtems@osversion@-$(GDBVERS).spec
|
||||||
|
|
||||||
h8300-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
h8300-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += h8300-rtems-$(GDBVERS).spec
|
RPM_SPECS_DATA += h8300-rtems@osversion@-$(GDBVERS).spec
|
||||||
|
|
||||||
# does not build with 5.2
|
# does not build with 5.2
|
||||||
# hppa1.1-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
# hppa1.1-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
||||||
# $(MKSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems > $@
|
# $(MKSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems@osversion@ > $@
|
||||||
# RPM_SPECS_DATA += hppa1.1-rtems-$(GDBVERS).spec
|
# RPM_SPECS_DATA += hppa1.1-rtems@osversion@-$(GDBVERS).spec
|
||||||
|
|
||||||
RPM_SPECS_DATA += i386-rtems-$(GDBVERS).spec
|
RPM_SPECS_DATA += i386-rtems@osversion@-$(GDBVERS).spec
|
||||||
i386-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
i386-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache i386-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache i386-rtems@osversion@ > $@
|
||||||
|
|
||||||
# does not build with 5.2
|
# does not build with 5.2
|
||||||
# i386-RTEMS-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
# i386-RTEMS-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
||||||
# $(MKSPEC) -cfg $(top_builddir)/setup.cache i386-RTEMS > $@
|
# $(MKSPEC) -cfg $(top_builddir)/setup.cache i386-RTEMS > $@
|
||||||
# RPM_SPECS_DATA += i386-RTEMS-$(GDBVERS).spec
|
# RPM_SPECS_DATA += i386-RTEMS-$(GDBVERS).spec
|
||||||
|
|
||||||
i960-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
i960-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache i960-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache i960-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += i960-rtems-$(GDBVERS).spec
|
RPM_SPECS_DATA += i960-rtems@osversion@-$(GDBVERS).spec
|
||||||
|
|
||||||
m68k-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
m68k-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += m68k-rtems-$(GDBVERS).spec
|
RPM_SPECS_DATA += m68k-rtems@osversion@-$(GDBVERS).spec
|
||||||
|
|
||||||
mips64orion-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
mips64orion-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += mips64orion-rtems-$(GDBVERS).spec
|
RPM_SPECS_DATA += mips64orion-rtems@osversion@-$(GDBVERS).spec
|
||||||
|
|
||||||
mips-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
mips-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache mips-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache mips-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += mips-rtems-$(GDBVERS).spec
|
RPM_SPECS_DATA += mips-rtems@osversion@-$(GDBVERS).spec
|
||||||
|
|
||||||
mipstx39-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
mipstx39-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache mipstx39-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache mipstx39-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += mipstx39-rtems-$(GDBVERS).spec
|
RPM_SPECS_DATA += mipstx39-rtems@osversion@-$(GDBVERS).spec
|
||||||
|
|
||||||
# does not build with 5.2
|
# does not build with 5.2
|
||||||
# powerpc-RTEMS-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
# powerpc-RTEMS-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
||||||
# $(MKSPEC) -cfg $(top_builddir)/setup.cache powerpc-RTEMS > $@
|
# $(MKSPEC) -cfg $(top_builddir)/setup.cache powerpc-RTEMS > $@
|
||||||
# RPM_SPECS_DATA += powerpc-RTEMS-$(GDBVERS).spec
|
# RPM_SPECS_DATA += powerpc-RTEMS-$(GDBVERS).spec
|
||||||
|
|
||||||
powerpc-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
powerpc-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += powerpc-rtems-$(GDBVERS).spec
|
RPM_SPECS_DATA += powerpc-rtems@osversion@-$(GDBVERS).spec
|
||||||
|
|
||||||
sh-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
sh-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += sh-rtems-$(GDBVERS).spec
|
RPM_SPECS_DATA += sh-rtems@osversion@-$(GDBVERS).spec
|
||||||
|
|
||||||
sh-rtemself-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
sh-rtemself@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself@osversion@ > $@
|
||||||
RPM_SPECS_DATA += sh-rtemself-$(GDBVERS).spec
|
RPM_SPECS_DATA += sh-rtemself@osversion@-$(GDBVERS).spec
|
||||||
|
|
||||||
sparc-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
sparc-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
|
||||||
$(MKSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems > $@
|
$(MKSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += sparc-rtems-$(GDBVERS).spec
|
RPM_SPECS_DATA += sparc-rtems@osversion@-$(GDBVERS).spec
|
||||||
|
|
||||||
CLEANFILES += $(RPM_SPECS_DATA)
|
CLEANFILES += $(RPM_SPECS_DATA)
|
||||||
|
|
||||||
|
|||||||
@@ -52,6 +52,9 @@ sed -e "s%@Release\@%${gdb_rpm_release}%g" \
|
|||||||
-e "s,@rpm_build_root\@,${rpm_build_root},g" \
|
-e "s,@rpm_build_root\@,${rpm_build_root},g" \
|
||||||
-e "s%@prefix\@%@prefix@%g" \
|
-e "s%@prefix\@%@prefix@%g" \
|
||||||
-e "s%@target_alias\@%${target_alias}%g" \
|
-e "s%@target_alias\@%${target_alias}%g" \
|
||||||
|
-e "s,@rpmprefix\@,@rpmprefix@,g" \
|
||||||
|
-e "s%@rpmgroup\@%@rpmgroup@%g" \
|
||||||
|
-e "s%@osversion\@%@osversion@%g" \
|
||||||
-e "s%@gdb_version\@%${gdb_version}%g" \
|
-e "s%@gdb_version\@%${gdb_version}%g" \
|
||||||
-e "s%@gdb_patch_version\@%${gdb_patch_version}%g" \
|
-e "s%@gdb_patch_version\@%${gdb_patch_version}%g" \
|
||||||
-e "s%@extra_configure_arguments\@%${extra_configure_arguments}%g" \
|
-e "s%@extra_configure_arguments\@%${extra_configure_arguments}%g" \
|
||||||
|
|||||||
Reference in New Issue
Block a user