Changeset f8f365a6 in rtems


Ignore:
Timestamp:
Sep 4, 2003, 1:35:27 PM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
1ceb844
Parents:
b81db49
Message:

2003-09-04 Ralf Corsepius <corsepiu@…>

  • 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.
Location:
scripts
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • scripts/ChangeLog

    rb81db49 rf8f365a6  
     12003-09-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * configure.ac: Add --enable-osversions (OS-versioned RPMS support).
     4        * binutils/Makefile.am: Add osversion support.
     5        * binutils/mkspec.in: Add osversion support.
     6        * gcc3newlib/Makefile.am: Add osversion support.
     7        * gcc3newlib/mkspec.in: Add osversion support.
     8        * gdb/Makefile.am: Add osversion support.
     9        * gdb/mkspec.in: Add osversion support.
     10        Add rpmprefix, rpmgroup.
     11
    1122003-09-02      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    213
  • scripts/binutils/Makefile.am

    rb81db49 rf8f365a6  
    2020    $(top_builddir)/setup.cache
    2121
    22 arm-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    23         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache arm-rtems > $@
    24 RPM_SPECS_DATA += arm-rtems-$(BINUTILSVERS).spec
     22arm-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
     23        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache arm-rtems@osversion@ > $@
     24RPM_SPECS_DATA += arm-rtems@osversion@-$(BINUTILSVERS).spec
    2525
    26 c4x-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    27         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems > $@
    28 RPM_SPECS_DATA += c4x-rtems-$(BINUTILSVERS).spec
     26c4x-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
     27        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems@osversion@ > $@
     28RPM_SPECS_DATA += c4x-rtems@osversion@-$(BINUTILSVERS).spec
    2929
    30 h8300-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    31         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems > $@
    32 RPM_SPECS_DATA += h8300-rtems-$(BINUTILSVERS).spec
     30h8300-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
     31        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems@osversion@ > $@
     32RPM_SPECS_DATA += h8300-rtems@osversion@-$(BINUTILSVERS).spec
    3333
    34 hppa1.1-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    35         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems > $@
    36 RPM_SPECS_DATA += hppa1.1-rtems-$(BINUTILSVERS).spec
     34hppa1.1-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
     35        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems@osversion@ > $@
     36RPM_SPECS_DATA += hppa1.1-rtems@osversion@-$(BINUTILSVERS).spec
    3737
    38 i386-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    39         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache i386-rtems > $@
    40 RPM_SPECS_DATA += i386-rtems-$(BINUTILSVERS).spec
     38i386-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
     39        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache i386-rtems@osversion@ > $@
     40RPM_SPECS_DATA += i386-rtems@osversion@-$(BINUTILSVERS).spec
    4141
    42 i960-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    43         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache i960-rtems > $@
    44 RPM_SPECS_DATA += i960-rtems-$(BINUTILSVERS).spec
     42i960-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
     43        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache i960-rtems@osversion@ > $@
     44RPM_SPECS_DATA += i960-rtems@osversion@-$(BINUTILSVERS).spec
    4545
    46 m68k-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    47         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems > $@
    48 RPM_SPECS_DATA += m68k-rtems-$(BINUTILSVERS).spec
     46m68k-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
     47        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems@osversion@ > $@
     48RPM_SPECS_DATA += m68k-rtems@osversion@-$(BINUTILSVERS).spec
    4949
    50 mips64orion-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    51         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems > $@
    52 RPM_SPECS_DATA += mips64orion-rtems-$(BINUTILSVERS).spec
     50mips64orion-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
     51        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems@osversion@ > $@
     52RPM_SPECS_DATA += mips64orion-rtems@osversion@-$(BINUTILSVERS).spec
    5353
    54 mips-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    55         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache mips-rtems > $@
    56 RPM_SPECS_DATA += mips-rtems-$(BINUTILSVERS).spec
     54mips-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
     55        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache mips-rtems@osversion@ > $@
     56RPM_SPECS_DATA += mips-rtems@osversion@-$(BINUTILSVERS).spec
    5757
    58 or32-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    59         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache or32-rtems > $@
    60 RPM_SPECS_DATA += or32-rtems-$(BINUTILSVERS).spec
     58or32-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
     59        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache or32-rtems@osversion@ > $@
     60RPM_SPECS_DATA += or32-rtems@osversion@-$(BINUTILSVERS).spec
    6161
    62 powerpc-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    63         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems > $@
    64 RPM_SPECS_DATA += powerpc-rtems-$(BINUTILSVERS).spec
     62powerpc-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
     63        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems@osversion@ > $@
     64RPM_SPECS_DATA += powerpc-rtems@osversion@-$(BINUTILSVERS).spec
    6565
    66 sh-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    67         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sh-rtems > $@
    68 RPM_SPECS_DATA += sh-rtems-$(BINUTILSVERS).spec
     66sh-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
     67        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sh-rtems@osversion@ > $@
     68RPM_SPECS_DATA += sh-rtems@osversion@-$(BINUTILSVERS).spec
    6969
    7070sh-rtemself-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    71         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself > $@
     71        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself@osversion@ > $@
    7272RPM_SPECS_DATA += sh-rtemself-$(BINUTILSVERS).spec
    7373
    74 sparc-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    75         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems > $@
    76 RPM_SPECS_DATA += sparc-rtems-$(BINUTILSVERS).spec
     74sparc-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
     75        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems@osversion@ > $@
     76RPM_SPECS_DATA += sparc-rtems@osversion@-$(BINUTILSVERS).spec
    7777
    7878CLEANFILES += $(RPM_SPECS_DATA)
  • scripts/binutils/mkspec.in

    rb81db49 rf8f365a6  
    6060    -e "s,@rpmprefix\@,@rpmprefix@,g" \
    6161    -e "s%@rpmgroup\@%@rpmgroup@%g" \
     62    -e "s%@rpmgroup\@%@rpmgroup@%g" \
     63    -e "s%@osversion\@%@osversion@%g" \
    6264    -e "s%@binutils_version\@%${binutils_version}%g" \
    6365    -e "s%@binutils_patch_version\@%${binutils_patch_version}%g" \
  • scripts/configure.ac

    rb81db49 rf8f365a6  
    2323esac],
    2424[rpmprefix="rtems-"]RTEMS_API["-"])
     25
     26AC_ARG_ENABLE([osversions],
     27[  --enable-osversions       whether to use version numbers in os-tripples],
     28[case $enable_osversions in
     29yes ) osversion=RTEMS_API;;
     30* ) osversion=;;
     31esac],
     32[osversion=])
    2533
    2634AC_MSG_CHECKING(for rpm SPECS directory)
     
    8088AC_SUBST(rpmprefix,$rpmprefix)
    8189AC_SUBST(rpmgroup,[Rtems/][RTEMS_API])
     90AC_SUBST(osversion,$osversion)
    8291
    8392AC_CONFIG_FILES([Makefile
  • scripts/gcc3newlib/Makefile.am

    rb81db49 rf8f365a6  
    2929RPM_SPECS_DATA =
    3030
    31 arm-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    32         $(MKSPEC) -cfg $(top_builddir)/setup.cache arm-rtems > $@
    33 RPM_SPECS_DATA += arm-rtems-$(GCC3NEWLIBVERS).spec
     31arm-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
     32        $(MKSPEC) -cfg $(top_builddir)/setup.cache arm-rtems@osversion@ > $@
     33RPM_SPECS_DATA += arm-rtems@osversion@-$(GCC3NEWLIBVERS).spec
    3434
    35 c4x-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    36         $(MKSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems > $@
    37 RPM_SPECS_DATA += c4x-rtems-$(GCC3NEWLIBVERS).spec
     35c4x-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
     36        $(MKSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems@osversion@ > $@
     37RPM_SPECS_DATA += c4x-rtems@osversion@-$(GCC3NEWLIBVERS).spec
    3838
    39 h8300-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    40         $(MKSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems > $@
    41 RPM_SPECS_DATA += h8300-rtems-$(GCC3NEWLIBVERS).spec
     39h8300-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
     40        $(MKSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems@osversion@ > $@
     41RPM_SPECS_DATA += h8300-rtems@osversion@-$(GCC3NEWLIBVERS).spec
    4242
    43 hppa1.1-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    44         $(MKSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems > $@
    45 RPM_SPECS_DATA += hppa1.1-rtems-$(GCC3NEWLIBVERS).spec
     43hppa1.1-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
     44        $(MKSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems@osversion@ > $@
     45RPM_SPECS_DATA += hppa1.1-rtems@osversion@-$(GCC3NEWLIBVERS).spec
    4646
    47 i386-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    48         $(MKSPEC) -cfg $(top_builddir)/setup.cache i386-rtems > $@
    49 RPM_SPECS_DATA += i386-rtems-$(GCC3NEWLIBVERS).spec
     47i386-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
     48        $(MKSPEC) -cfg $(top_builddir)/setup.cache i386-rtems@osversion@ > $@
     49RPM_SPECS_DATA += i386-rtems@osversion@-$(GCC3NEWLIBVERS).spec
    5050
    51 i960-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    52         $(MKSPEC) -cfg $(top_builddir)/setup.cache i960-rtems > $@
    53 RPM_SPECS_DATA += i960-rtems-$(GCC3NEWLIBVERS).spec
     51i960-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
     52        $(MKSPEC) -cfg $(top_builddir)/setup.cache i960-rtems@osversion@ > $@
     53RPM_SPECS_DATA += i960-rtems@osversion@-$(GCC3NEWLIBVERS).spec
    5454
    55 m68k-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    56         $(MKSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems > $@
    57 RPM_SPECS_DATA += m68k-rtems-$(GCC3NEWLIBVERS).spec
     55m68k-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
     56        $(MKSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems@osversion@ > $@
     57RPM_SPECS_DATA += m68k-rtems@osversion@-$(GCC3NEWLIBVERS).spec
    5858
    59 mips64orion-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    60         $(MKSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems > $@
    61 RPM_SPECS_DATA += mips64orion-rtems-$(GCC3NEWLIBVERS).spec
     59mips64orion-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
     60        $(MKSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems@osversion@ > $@
     61RPM_SPECS_DATA += mips64orion-rtems@osversion@-$(GCC3NEWLIBVERS).spec
    6262
    63 mips-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    64         $(MKSPEC) -cfg $(top_builddir)/setup.cache mips-rtems > $@
    65 RPM_SPECS_DATA += mips-rtems-$(GCC3NEWLIBVERS).spec
     63mips-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
     64        $(MKSPEC) -cfg $(top_builddir)/setup.cache mips-rtems@osversion@ > $@
     65RPM_SPECS_DATA += mips-rtems@osversion@-$(GCC3NEWLIBVERS).spec
    6666
    67 powerpc-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    68         $(MKSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems > $@
    69 RPM_SPECS_DATA += powerpc-rtems-$(GCC3NEWLIBVERS).spec
     67powerpc-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
     68        $(MKSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems@osversion@ > $@
     69RPM_SPECS_DATA += powerpc-rtems@osversion@-$(GCC3NEWLIBVERS).spec
    7070
    71 sh-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    72         $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtems > $@
    73 RPM_SPECS_DATA += sh-rtems-$(GCC3NEWLIBVERS).spec
     71sh-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
     72        $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtems@osversion@ > $@
     73RPM_SPECS_DATA += sh-rtems@osversion@-$(GCC3NEWLIBVERS).spec
    7474
    7575sh-rtemself-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    76         $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself > $@
     76        $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself@osversion@ > $@
    7777RPM_SPECS_DATA += sh-rtemself-$(GCC3NEWLIBVERS).spec
    7878
    79 sparc-rtems-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    80         $(MKSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems > $@
    81 RPM_SPECS_DATA += sparc-rtems-$(GCC3NEWLIBVERS).spec
     79sparc-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
     80        $(MKSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems@osversion@ > $@
     81RPM_SPECS_DATA += sparc-rtems@osversion@-$(GCC3NEWLIBVERS).spec
    8282
    8383CLEANFILES += $(RPM_SPECS_DATA)
  • scripts/gcc3newlib/mkspec.in

    rb81db49 rf8f365a6  
    7272    -e "s,@rpmprefix\@,@rpmprefix@,g" \
    7373    -e "s%@rpmgroup\@%@rpmgroup@%g" \
     74    -e "s%@osversion\@%@osversion@%g" \
    7475    -e "s,@rpm_build_root\@,${rpm_build_root},g" \
    7576    -e "s%@gcc_version\@%${gcc3_version}%g" \
  • scripts/gdb/Makefile.am

    rb81db49 rf8f365a6  
    2424RPM_SPECS_DATA =
    2525
    26 arm-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    27         $(MKSPEC) -cfg $(top_builddir)/setup.cache arm-rtems > $@
    28 RPM_SPECS_DATA += arm-rtems-$(GDBVERS).spec
     26arm-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     27        $(MKSPEC) -cfg $(top_builddir)/setup.cache arm-rtems@osversion@ > $@
     28RPM_SPECS_DATA += arm-rtems@osversion@-$(GDBVERS).spec
    2929
    3030# does not build with 5.2
    31 # c4x-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    32 #       $(MKSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems > $@
    33 # RPM_SPECS_DATA += c4x-rtems-$(GDBVERS).spec
     31# c4x-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     32#       $(MKSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems@osversion@ > $@
     33# RPM_SPECS_DATA += c4x-rtems@osversion@-$(GDBVERS).spec
    3434
    35 h8300-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    36         $(MKSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems > $@
    37 RPM_SPECS_DATA += h8300-rtems-$(GDBVERS).spec
     35h8300-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     36        $(MKSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems@osversion@ > $@
     37RPM_SPECS_DATA += h8300-rtems@osversion@-$(GDBVERS).spec
    3838
    3939# does not build with 5.2
    40 # hppa1.1-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    41 #       $(MKSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems > $@
    42 # RPM_SPECS_DATA += hppa1.1-rtems-$(GDBVERS).spec
     40# hppa1.1-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     41#       $(MKSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems@osversion@ > $@
     42# RPM_SPECS_DATA += hppa1.1-rtems@osversion@-$(GDBVERS).spec
    4343
    44 RPM_SPECS_DATA += i386-rtems-$(GDBVERS).spec
    45 i386-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    46         $(MKSPEC) -cfg $(top_builddir)/setup.cache i386-rtems > $@
     44RPM_SPECS_DATA += i386-rtems@osversion@-$(GDBVERS).spec
     45i386-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     46        $(MKSPEC) -cfg $(top_builddir)/setup.cache i386-rtems@osversion@ > $@
    4747
    4848# does not build with 5.2
     
    5151# RPM_SPECS_DATA += i386-RTEMS-$(GDBVERS).spec
    5252
    53 i960-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    54         $(MKSPEC) -cfg $(top_builddir)/setup.cache i960-rtems > $@
    55 RPM_SPECS_DATA += i960-rtems-$(GDBVERS).spec
     53i960-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     54        $(MKSPEC) -cfg $(top_builddir)/setup.cache i960-rtems@osversion@ > $@
     55RPM_SPECS_DATA += i960-rtems@osversion@-$(GDBVERS).spec
    5656
    57 m68k-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    58         $(MKSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems > $@
    59 RPM_SPECS_DATA += m68k-rtems-$(GDBVERS).spec
     57m68k-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     58        $(MKSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems@osversion@ > $@
     59RPM_SPECS_DATA += m68k-rtems@osversion@-$(GDBVERS).spec
    6060
    61 mips64orion-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    62         $(MKSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems > $@
    63 RPM_SPECS_DATA += mips64orion-rtems-$(GDBVERS).spec
     61mips64orion-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     62        $(MKSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems@osversion@ > $@
     63RPM_SPECS_DATA += mips64orion-rtems@osversion@-$(GDBVERS).spec
    6464
    65 mips-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    66         $(MKSPEC) -cfg $(top_builddir)/setup.cache mips-rtems > $@
    67 RPM_SPECS_DATA += mips-rtems-$(GDBVERS).spec
     65mips-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     66        $(MKSPEC) -cfg $(top_builddir)/setup.cache mips-rtems@osversion@ > $@
     67RPM_SPECS_DATA += mips-rtems@osversion@-$(GDBVERS).spec
    6868
    69 mipstx39-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    70         $(MKSPEC) -cfg $(top_builddir)/setup.cache mipstx39-rtems > $@
    71 RPM_SPECS_DATA += mipstx39-rtems-$(GDBVERS).spec
     69mipstx39-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     70        $(MKSPEC) -cfg $(top_builddir)/setup.cache mipstx39-rtems@osversion@ > $@
     71RPM_SPECS_DATA += mipstx39-rtems@osversion@-$(GDBVERS).spec
    7272
    7373# does not build with 5.2
     
    7676# RPM_SPECS_DATA += powerpc-RTEMS-$(GDBVERS).spec
    7777
    78 powerpc-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    79         $(MKSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems > $@
    80 RPM_SPECS_DATA += powerpc-rtems-$(GDBVERS).spec
     78powerpc-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     79        $(MKSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems@osversion@ > $@
     80RPM_SPECS_DATA += powerpc-rtems@osversion@-$(GDBVERS).spec
    8181
    82 sh-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    83         $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtems > $@
    84 RPM_SPECS_DATA += sh-rtems-$(GDBVERS).spec
     82sh-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     83        $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtems@osversion@ > $@
     84RPM_SPECS_DATA += sh-rtems@osversion@-$(GDBVERS).spec
    8585
    86 sh-rtemself-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    87         $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself > $@
    88 RPM_SPECS_DATA += sh-rtemself-$(GDBVERS).spec
     86sh-rtemself@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     87        $(MKSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself@osversion@ > $@
     88RPM_SPECS_DATA += sh-rtemself@osversion@-$(GDBVERS).spec
    8989
    90 sparc-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    91         $(MKSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems > $@
    92 RPM_SPECS_DATA += sparc-rtems-$(GDBVERS).spec
     90sparc-rtems@osversion@-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     91        $(MKSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems@osversion@ > $@
     92RPM_SPECS_DATA += sparc-rtems@osversion@-$(GDBVERS).spec
    9393
    9494CLEANFILES += $(RPM_SPECS_DATA)
  • scripts/gdb/mkspec.in

    rb81db49 rf8f365a6  
    5353    -e "s%@prefix\@%@prefix@%g" \
    5454    -e "s%@target_alias\@%${target_alias}%g" \
     55    -e "s,@rpmprefix\@,@rpmprefix@,g" \
     56    -e "s%@rpmgroup\@%@rpmgroup@%g" \
     57    -e "s%@osversion\@%@osversion@%g" \
    5558    -e "s%@gdb_version\@%${gdb_version}%g" \
    5659    -e "s%@gdb_patch_version\@%${gdb_patch_version}%g" \
Note: See TracChangeset for help on using the changeset viewer.