Changeset 0610a988 in rtems


Ignore:
Timestamp:
Jan 26, 2000, 8:50:23 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
318f591
Parents:
64ab2e9
Message:

First attempt at debugging.

Location:
scripts-ada
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • scripts-ada/Makefile.am

    r64ab2e9 r0610a988  
    11AUTOMAKE_OPTIONS = foreign
    22
    3 SUBDIRS = . binutils gnatnewlib gdb rtems
     3SUBDIRS = . binutils gnatnewlib gdb
    44
    55noinst_SCRIPTS = \
  • scripts-ada/binutils/Makefile.am

    r64ab2e9 r0610a988  
    88$(top_builddir)/mkbinutilspec binutils.spec.in $(top_builddir)/setup.cache
    99
    10 hppa1.1-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    11         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache -o . hppa1.1-rtems
    12 
    13 i386-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    14         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems
    15 
    16 i960-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    17         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache -o . i960-rtems
    18 
    19 m68k-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    20         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems
    21 
    22 m68k-rtemself-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    23         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtemself
    24 
    25 mips64orion-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    26         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache -o . mips64orion-rtems
    27 
    28 powerpc-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    29         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems
    30 
    31 sh-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    32         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems
    33 
    34 sh-rtemself-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    35         $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtemself
    36 
    3710sparc-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    3811        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems
     
    4215
    4316RPM_SPECS_DATA = \
    44 hppa1.1-rtems-$(BINUTILSVERS).spec \
    45 i386-rtems-$(BINUTILSVERS).spec \
    46 i960-rtems-$(BINUTILSVERS).spec \
    47 m68k-rtems-$(BINUTILSVERS).spec \
    48 m68k-rtemself-$(BINUTILSVERS).spec \
    49 mips64orion-rtems-$(BINUTILSVERS).spec \
    50 powerpc-rtems-$(BINUTILSVERS).spec \
    51 sh-rtems-$(BINUTILSVERS).spec \
    52 sh-rtemself-$(BINUTILSVERS).spec \
    5317sparc-rtems-$(BINUTILSVERS).spec
    5418
  • scripts-ada/binutils/binutils.spec.in

    r64ab2e9 r0610a988  
    99Vendor:       OAR Corporation
    1010Distribution: Linux
    11 Name:         @target_alias@-binutils-collection
     11Name:         @target_alias@-gnat-binutils-collection
    1212Summary:      binutils for target @target_alias@
    1313Group:        rtems
     
    1515Copyright:    1999 OARCorp
    1616
    17 Provides:     rtems-base-binutils @target_alias@-binutils
     17Provides:     rtems-base-gnat-binutils @target_alias@-gnat-binutils
    1818
    1919Autoreqprov:    on
     
    4343This is binutils sources with patches for RTEMS.
    4444
    45 %package -n rtems-base-binutils
     45%package -n rtems-base-gnat-binutils
    4646Summary:      base package for rtems binutils
    4747Group: rtems
    4848
    49 %description -n rtems-base-binutils
     49%description -n rtems-base-gnat-binutils
    5050
    5151RTEMS is an open source operating system for embedded systems.
     
    5353This is the base for binutils regardless of target CPU.
    5454
    55 %package -n @target_alias@-binutils
     55%package -n @target_alias@-gnat-binutils
    5656Summary:      rtems binutils for @target_alias@
    5757Group: rtems
    58 Requires: rtems-base-binutils
     58Requires: rtems-base-gnat-binutils
    5959
    60 %description -n @target_alias@-binutils
     60%description -n @target_alias@-gnat-binutils
    6161
    6262RTEMS is an open source operating system for embedded systems.
     
    7070
    7171%prep
    72 # untar the sources inside @target_alias@-binutils
    73 %setup -c -n @target_alias@-binutils -a 0
     72# untar the sources inside @target_alias@-gnat-binutils
     73%setup -c -n @target_alias@-gnat-binutils -a 0
    7474
    7575%patch0 -p0
     
    7979  cd build
    8080  ../binutils-@binutils_version@/configure --target=@target_alias@ \
    81     --verbose --prefix=/opt/rtems
     81    --verbose --prefix=/opt/gnatrtems
    8282
    8383  make all
     
    8686%install
    8787  cd build
    88   make prefix=$RPM_BUILD_ROOT/opt/rtems install
    89   make prefix=$RPM_BUILD_ROOT/opt/rtems install-info
     88  make prefix=$RPM_BUILD_ROOT/opt/gnatrtems install
     89  make prefix=$RPM_BUILD_ROOT/opt/gnatrtems install-info
    9090# A bug in binutils: binutils does not install share/locale
    9191# however it uses it
    9292  ../binutils-@binutils_version@/mkinstalldirs \
    93     $RPM_BUILD_ROOT/opt/rtems/share/locale
     93    $RPM_BUILD_ROOT/opt/gnatrtems/share/locale
    9494
    9595# gzip info files
    96   gzip -f $RPM_BUILD_ROOT/opt/rtems/info/*.info 2>/dev/null
    97   gzip -f $RPM_BUILD_ROOT/opt/rtems/info/*.info-? 2>/dev/null
     96  gzip -f $RPM_BUILD_ROOT/opt/gnatrtems/info/*.info 2>/dev/null
     97  gzip -f $RPM_BUILD_ROOT/opt/gnatrtems/info/*.info-? 2>/dev/null
    9898
    99   if test -f $RPM_BUILD_ROOT/opt/rtems/info/configure.info.gz;
     99  if test -f $RPM_BUILD_ROOT/opt/gnatrtems/info/configure.info.gz;
    100100  then
    101101# These are only present in binutils >= 2.9.5
    102     find $RPM_BUILD_ROOT/opt/rtems/info -name 'configure.*' | \
     102    find $RPM_BUILD_ROOT/opt/gnatrtems/info -name 'configure.*' | \
    103103      sed -e "s,^$RPM_BUILD_ROOT,,g" > ../files
    104104  else
     
    126126  fi
    127127
    128 %files -n rtems-base-binutils -f files
    129 %dir /opt/rtems/info
    130 %doc /opt/rtems/info/dir
    131 %doc /opt/rtems/info/as.info.gz
    132 %doc /opt/rtems/info/as.info-?.gz
    133 %doc /opt/rtems/info/bfd.info.gz
    134 %doc /opt/rtems/info/bfd.info-?.gz
    135 %doc /opt/rtems/info/binutils.info.gz
    136 %doc /opt/rtems/info/binutils.info-?.gz
    137 %doc /opt/rtems/info/ld.info.gz
    138 %doc /opt/rtems/info/ld.info-?.gz
    139 %doc /opt/rtems/info/gasp.info.gz
    140 %doc /opt/rtems/info/standards.info.gz
     128%files -n rtems-base-gnat-binutils -f files
     129%dir /opt/gnatrtems/info
     130%doc /opt/gnatrtems/info/dir
     131%doc /opt/gnatrtems/info/as.info.gz
     132%doc /opt/gnatrtems/info/as.info-?.gz
     133%doc /opt/gnatrtems/info/bfd.info.gz
     134%doc /opt/gnatrtems/info/bfd.info-?.gz
     135%doc /opt/gnatrtems/info/binutils.info.gz
     136%doc /opt/gnatrtems/info/binutils.info-?.gz
     137%doc /opt/gnatrtems/info/ld.info.gz
     138%doc /opt/gnatrtems/info/ld.info-?.gz
     139%doc /opt/gnatrtems/info/gasp.info.gz
     140%doc /opt/gnatrtems/info/standards.info.gz
    141141
    142 %dir /opt/rtems/man
    143 %dir /opt/rtems/man/man1
     142%dir /opt/gnatrtems/man
     143%dir /opt/gnatrtems/man/man1
    144144
    145 %dir /opt/rtems/include
    146 /opt/rtems/include/bfd.h
    147 /opt/rtems/include/ansidecl.h
    148 /opt/rtems/include/bfdlink.h
     145%dir /opt/gnatrtems/include
     146/opt/gnatrtems/include/bfd.h
     147/opt/gnatrtems/include/ansidecl.h
     148/opt/gnatrtems/include/bfdlink.h
    149149
    150 %dir /opt/rtems/lib
    151 /opt/rtems/lib/libbfd*
    152 /opt/rtems/lib/libiberty*
    153 /opt/rtems/lib/libopcodes*
     150%dir /opt/gnatrtems/lib
     151/opt/gnatrtems/lib/libbfd*
     152/opt/gnatrtems/lib/libiberty*
     153/opt/gnatrtems/lib/libopcodes*
    154154
    155 %dir /opt/rtems/share
    156 %dir /opt/rtems/share/locale
     155%dir /opt/gnatrtems/share
     156%dir /opt/gnatrtems/share/locale
    157157
    158 %files -n @target_alias@-binutils
    159 %doc /opt/rtems/man/man1/@target_alias@-*.1
     158%files -n @target_alias@-gnat-binutils
     159%doc /opt/gnatrtems/man/man1/@target_alias@-*.1
    160160
    161 %dir /opt/rtems/bin
    162 /opt/rtems/bin/@target_alias@-addr2line@exe_ext@
    163 /opt/rtems/bin/@target_alias@-ar@exe_ext@
    164 /opt/rtems/bin/@target_alias@-as@exe_ext@
    165 /opt/rtems/bin/@target_alias@-c++filt@exe_ext@
    166 /opt/rtems/bin/@target_alias@-gasp@exe_ext@
    167 /opt/rtems/bin/@target_alias@-ld@exe_ext@
    168 /opt/rtems/bin/@target_alias@-nm@exe_ext@
    169 /opt/rtems/bin/@target_alias@-objcopy@exe_ext@
    170 /opt/rtems/bin/@target_alias@-objdump@exe_ext@
    171 /opt/rtems/bin/@target_alias@-ranlib@exe_ext@
    172 /opt/rtems/bin/@target_alias@-readelf@exe_ext@
    173 /opt/rtems/bin/@target_alias@-size@exe_ext@
    174 /opt/rtems/bin/@target_alias@-strings@exe_ext@
    175 /opt/rtems/bin/@target_alias@-strip@exe_ext@
     161%dir /opt/gnatrtems/bin
     162/opt/gnatrtems/bin/@target_alias@-addr2line@exe_ext@
     163/opt/gnatrtems/bin/@target_alias@-ar@exe_ext@
     164/opt/gnatrtems/bin/@target_alias@-as@exe_ext@
     165/opt/gnatrtems/bin/@target_alias@-c++filt@exe_ext@
     166/opt/gnatrtems/bin/@target_alias@-gasp@exe_ext@
     167/opt/gnatrtems/bin/@target_alias@-ld@exe_ext@
     168/opt/gnatrtems/bin/@target_alias@-nm@exe_ext@
     169/opt/gnatrtems/bin/@target_alias@-objcopy@exe_ext@
     170/opt/gnatrtems/bin/@target_alias@-objdump@exe_ext@
     171/opt/gnatrtems/bin/@target_alias@-ranlib@exe_ext@
     172/opt/gnatrtems/bin/@target_alias@-readelf@exe_ext@
     173/opt/gnatrtems/bin/@target_alias@-size@exe_ext@
     174/opt/gnatrtems/bin/@target_alias@-strings@exe_ext@
     175/opt/gnatrtems/bin/@target_alias@-strip@exe_ext@
    176176
    177 %dir /opt/rtems/@target_alias@
    178 %dir /opt/rtems/@target_alias@/bin
    179 /opt/rtems/@target_alias@/bin/ar@exe_ext@
    180 /opt/rtems/@target_alias@/bin/as@exe_ext@
    181 /opt/rtems/@target_alias@/bin/ld@exe_ext@
    182 /opt/rtems/@target_alias@/bin/nm@exe_ext@
    183 /opt/rtems/@target_alias@/bin/ranlib@exe_ext@
    184 /opt/rtems/@target_alias@/bin/strip@exe_ext@
     177%dir /opt/gnatrtems/@target_alias@
     178%dir /opt/gnatrtems/@target_alias@/bin
     179/opt/gnatrtems/@target_alias@/bin/ar@exe_ext@
     180/opt/gnatrtems/@target_alias@/bin/as@exe_ext@
     181/opt/gnatrtems/@target_alias@/bin/ld@exe_ext@
     182/opt/gnatrtems/@target_alias@/bin/nm@exe_ext@
     183/opt/gnatrtems/@target_alias@/bin/ranlib@exe_ext@
     184/opt/gnatrtems/@target_alias@/bin/strip@exe_ext@
    185185
    186 %dir /opt/rtems/@target_alias@/lib
    187 /opt/rtems/@target_alias@/lib/ldscripts
     186%dir /opt/gnatrtems/@target_alias@/lib
     187/opt/gnatrtems/@target_alias@/lib/ldscripts
  • scripts-ada/buildall.in

    r64ab2e9 r0610a988  
    123123    fi
    124124    ${ECHO} rm -rf ${dst}/../BUILD/${target}-binutils*
    125     ${ECHO} rm -rf ${buildroot}/opt/rtems
     125    ${ECHO} rm -rf ${buildroot}/opt/gnatrtems
    126126  else
    127127    echo Skipping binutils for ${target}
     
    152152    fi
    153153    ${ECHO} rm -rf ${dst}/../BUILD/${target}-gcc*
    154     ${ECHO} rm -rf ${buildroot}/opt/rtems
     154    ${ECHO} rm -rf ${buildroot}/opt/gnatrtems
    155155
    156156    echo uninstalling binutils for ${target}
    157157    if [ ${testing} = no ] ; then
    158158      rpm -e `rpm -qa | grep rtems`
    159       rm -rf /opt/rtems/*
     159      rm -rf /opt/gnatrtems/*
    160160    fi
    161161  else
     
    176176    fi
    177177    ${ECHO} rm -rf ${dst}/../BUILD/${target}-gdb*
    178     ${ECHO} rm -rf ${buildroot}/opt/rtems
     178    ${ECHO} rm -rf ${buildroot}/opt/gnatrtems
    179179  else
    180180    echo Skipping gdb for ${target}
  • scripts-ada/gdb/Makefile.am

    r64ab2e9 r0610a988  
    55MKGDBSPEC_DEPS = \
    66$(top_builddir)/mkgdbspec gdb.spec.in $(top_builddir)/setup.cache
    7 
    8 hppa1.1-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    9         $(MKGDBSPEC) -cfg $(top_builddir)/setup.cache -o . hppa1.1-rtems
    10 
    11 i386-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    12         $(MKGDBSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems
    13 
    14 i960-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    15         $(MKGDBSPEC) -cfg $(top_builddir)/setup.cache -o . i960-rtems
    16 
    17 m68k-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    18         $(MKGDBSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems
    19 
    20 m68k-rtemself-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    21         $(MKGDBSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtemself
    22 
    23 mips64orion-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    24         $(MKGDBSPEC) -cfg $(top_builddir)/setup.cache -o . mips64orion-rtems
    25 
    26 powerpc-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    27         $(MKGDBSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems
    28 
    29 sh-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    30         $(MKGDBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems
    31 
    32 sh-rtemself-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
    33         $(MKGDBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtemself
    347
    358sparc-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     
    4013
    4114RPM_SPECS_DATA = \
    42 hppa1.1-rtems-$(GDBVERS).spec \
    43 i386-rtems-$(GDBVERS).spec \
    44 i960-rtems-$(GDBVERS).spec \
    45 m68k-rtems-$(GDBVERS).spec \
    46 m68k-rtemself-$(GDBVERS).spec \
    47 mips64orion-rtems-$(GDBVERS).spec \
    48 powerpc-rtems-$(GDBVERS).spec \
    49 sh-rtems-$(GDBVERS).spec \
    50 sh-rtemself-$(GDBVERS).spec \
    5115sparc-rtems-$(GDBVERS).spec
    5216
  • scripts-ada/gdb/gdb.spec.in

    r64ab2e9 r0610a988  
    1111Vendor:       OAR Corporation
    1212Distribution: Linux
    13 Name:         @target_alias@-gdb-collection
     13Name:         @target_alias@-gnat-gdb-collection
    1414Release:      @Release@
    1515Copyright:    1999 OARCorp
    1616Group:        rtems
    17 Provides:     rtems-base-gdb @target_alias@-gdb
     17Provides:     rtems-base-gnat-gdb @target_alias@-gnat-gdb
    1818
    1919Autoreqprov:  on
     
    4343This is the GNU gdb for RTEMS targetting @target_alias@.
    4444
    45 %package -n rtems-base-gdb
     45%package -n rtems-base-gnat-gdb
    4646Summary:      base package for rtems gdb
    4747Group: rtems
    4848
    49 %description -n rtems-base-gdb
     49%description -n rtems-base-gnat-gdb
    5050
    5151RTEMS is an open source operating system for embedded systems.
     
    5353This is the base for gdb regardless of target CPU.
    5454
    55 %package -n @target_alias@-gdb
     55%package -n @target_alias@-gnat-gdb
    5656Summary:      rtems gdb for @target_alias@
    5757Group: rtems
    58 Requires: rtems-base-gdb
     58Requires: rtems-base-gnat-gdb
    5959
    60 %description -n @target_alias@-gdb
     60%description -n @target_alias@-gnat-gdb
    6161
    6262RTEMS is an open source operating system for embedded systems.
     
    7272%prep
    7373echo RPM_BUILD_ROOT=${RPM_BUILD_ROOT}
    74 # untar the sources inside @target_alias@-gdb
    75 %setup -c -n @target_alias@-gdb -a 0
     74# untar the sources inside @target_alias@-gnat-gdb
     75%setup -c -n @target_alias@-gnat-gdb -a 0
    7676
    7777%patch0 -p0
     
    8181  cd build
    8282  ../gdb-@gdb_version@/configure --target=@target_alias@ \
    83     --verbose --prefix=/opt/rtems @extra_configure_arguments@
     83    --verbose --prefix=/opt/gnatrtems @extra_configure_arguments@
    8484
    8585  make all
     
    8888%install
    8989  cd build
    90   make prefix=$RPM_BUILD_ROOT/opt/rtems install
    91   make prefix=$RPM_BUILD_ROOT/opt/rtems install-info
     90  make prefix=$RPM_BUILD_ROOT/opt/gnatrtems install
     91  make prefix=$RPM_BUILD_ROOT/opt/gnatrtems install-info
    9292
    9393  # gzip info files
    94   gzip -f $RPM_BUILD_ROOT/opt/rtems/info/*.info 2>/dev/null
    95   gzip -f $RPM_BUILD_ROOT/opt/rtems/info/*.info-? 2>/dev/null
    96   gzip -f $RPM_BUILD_ROOT/opt/rtems/info/*.info-?? 2>/dev/null
     94  gzip -f $RPM_BUILD_ROOT/opt/gnatrtems/info/*.info 2>/dev/null
     95  gzip -f $RPM_BUILD_ROOT/opt/gnatrtems/info/*.info-? 2>/dev/null
     96  gzip -f $RPM_BUILD_ROOT/opt/gnatrtems/info/*.info-?? 2>/dev/null
    9797
    9898%post
     
    116116  fi
    117117
    118 %files -n rtems-base-gdb
     118%files -n rtems-base-gnat-gdb
    119119
    120 %dir /opt/rtems/info
    121 %doc /opt/rtems/info/gdb.info*
    122 %doc /opt/rtems/info/mmalloc.info*
    123 %doc /opt/rtems/info/readline.info*
     120%dir /opt/gnatrtems/info
     121%doc /opt/gnatrtems/info/gdb.info*
     122%doc /opt/gnatrtems/info/mmalloc.info*
     123%doc /opt/gnatrtems/info/readline.info*
    124124
    125 %dir /opt/rtems/man
    126 %dir /opt/rtems/man/man1
     125%dir /opt/gnatrtems/man
     126%dir /opt/gnatrtems/man/man1
    127127
    128 %dir /opt/rtems/include
     128%dir /opt/gnatrtems/include
    129129# We install libbfd from binutils
    130 # /opt/rtems/include/bfd.h
    131 # /opt/rtems/include/bfdlink.h
     130# /opt/gnatrtems/include/bfd.h
     131# /opt/gnatrtems/include/bfdlink.h
    132132
    133 %dir /opt/rtems/lib
     133%dir /opt/gnatrtems/lib
    134134# We install libbfd from binutils
    135 # /opt/rtems/lib/libbfd*
     135# /opt/gnatrtems/lib/libbfd*
    136136# We use libiberty from gcc
    137 # /opt/rtems/lib/libiberty*
     137# /opt/gnatrtems/lib/libiberty*
    138138
    139 %files -n @target_alias@-gdb
    140 %doc /opt/rtems/man/man1/@target_alias@-gdb.1
     139%files -n @target_alias@-gnat-gdb
     140%doc /opt/gnatrtems/man/man1/@target_alias@-gnat-gdb.1
    141141
    142 %dir /opt/rtems/bin
    143 /opt/rtems/bin/@target_alias@-gdb@exe_ext@
     142%dir /opt/gnatrtems/bin
     143/opt/gnatrtems/bin/@target_alias@-gdb@exe_ext@
    144144
  • scripts-ada/gnatnewlib/Makefile.am

    r64ab2e9 r0610a988  
    88  $(top_builddir)/mkgnatnewlibspec gnatnewlib.spec.in $(top_builddir)/setup.cache
    99
    10 hppa1.1-rtems-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
    11         $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . hppa1.1-rtems
    12 
    13 i386-rtems-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
    14         $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems
    15 
    16 i960-rtems-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
    17         $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . i960-rtems
    18 
    19 m68k-rtems-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
    20         $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems
    21 
    22 m68k-rtemself-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
    23         $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtemself
    24 
    25 mips64orion-rtems-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
    26         $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . mips64orion-rtems
    27 
    28 powerpc-rtems-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
    29         $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems
    30 
    31 sh-rtems-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
    32         $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems
    33 
    34 sh-rtemself-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
    35         $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtemself
    36 
    3710sparc-rtems-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
    3811        $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems
     
    4215
    4316RPM_SPECS_DATA = \
    44 hppa1.1-rtems-$(GNATNEWLIBVERS).spec \
    45 i386-rtems-$(GNATNEWLIBVERS).spec \
    46 i960-rtems-$(GNATNEWLIBVERS).spec \
    47 m68k-rtems-$(GNATNEWLIBVERS).spec \
    48 m68k-rtemself-$(GNATNEWLIBVERS).spec \
    49 mips64orion-rtems-$(GNATNEWLIBVERS).spec \
    50 powerpc-rtems-$(GNATNEWLIBVERS).spec \
    51 sh-rtems-$(GNATNEWLIBVERS).spec \
    52 sh-rtemself-$(GNATNEWLIBVERS).spec \
    5317sparc-rtems-$(GNATNEWLIBVERS).spec
    5418
  • scripts-ada/gnatnewlib/gnatnewlib.spec.in

    r64ab2e9 r0610a988  
    99Vendor:       OAR Corporation
    1010Distribution: Linux
    11 Name:         @target_alias@-gnat-gcc-newlib
     11Name:         @target_alias@-gnat-newlib
    1212Summary:      gnat, gcc, and newlib C Library for @target_alias@.
    1313Group:        rtems
     
    101101  ../gcc-@gcc_version@/configure --target=@target_alias@ \
    102102    --with-gnu-as --with-gnu-ld --with-newlib --verbose \
    103     --prefix=/opt/rtems
     103    --prefix=/opt/gnatrtems
    104104
    105105  # for now we are building all the languages
     
    122122  # If it doesn't find it, gcc doesn't install @target_alias@/bin/gcc
    123123  ../gcc-@gcc_version@/mkinstalldirs \
    124     $RPM_BUILD_ROOT/opt/rtems/@target_alias@/bin
    125 
    126   make prefix=$RPM_BUILD_ROOT/opt/rtems install
     124    $RPM_BUILD_ROOT/opt/gnatrtems/@target_alias@/bin
     125
     126  make prefix=$RPM_BUILD_ROOT/opt/gnatrtems install
    127127  cd @target_alias@/newlib
    128   make prefix=$RPM_BUILD_ROOT/opt/rtems install-info
     128  make prefix=$RPM_BUILD_ROOT/opt/gnatrtems install-info
    129129
    130130  # cd back to build/
     
    132132
    133133  # gzip info files
    134   gzip -f $RPM_BUILD_ROOT/opt/rtems/info/*.info 2>/dev/null
    135   gzip -f $RPM_BUILD_ROOT/opt/rtems/info/*.info-? 2>/dev/null
    136   gzip -f $RPM_BUILD_ROOT/opt/rtems/info/*.info-?? 2>/dev/null
     134  gzip -f $RPM_BUILD_ROOT/opt/gnatrtems/info/*.info 2>/dev/null
     135  gzip -f $RPM_BUILD_ROOT/opt/gnatrtems/info/*.info-? 2>/dev/null
     136  gzip -f $RPM_BUILD_ROOT/opt/gnatrtems/info/*.info-?? 2>/dev/null
    137137
    138138  rm -f dirs ;
    139   echo "%dir /opt/rtems/lib" >> dirs ;
    140   echo "%dir /opt/rtems/lib/gcc-lib" >> dirs ;
    141   echo "%dir /opt/rtems/lib/gcc-lib/@target_alias@" >> dirs ;
     139  echo "%dir /opt/gnatrtems/lib" >> dirs ;
     140  echo "%dir /opt/gnatrtems/lib/gcc-lib" >> dirs ;
     141  echo "%dir /opt/gnatrtems/lib/gcc-lib/@target_alias@" >> dirs ;
    142142
    143143  # Collect multilib subdirectories
    144   TGTDIR="$RPM_BUILD_ROOT/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@"
     144  TGTDIR="$RPM_BUILD_ROOT/opt/gnatrtems/lib/gcc-lib/@target_alias@/@gcc_version@"
    145145  find $TGTDIR \
    146146    \( -type d -a ! -path "$TGTDIR/include*" \) -print | \
     
    169169
    170170%files -n @target_alias@-gcc -f build/files.gcc
    171 %dir /opt/rtems/info
    172 %doc /opt/rtems/info/dir
    173 %doc /opt/rtems/info/cpp.info*
    174 %doc /opt/rtems/info/gcc.info*
    175 %doc /opt/rtems/info/libc.info*
    176 %doc /opt/rtems/info/libm.info*
    177 
    178 %dir /opt/rtems/man
    179 %dir /opt/rtems/man/man1
    180 %doc /opt/rtems/man/man1/cccp.1
    181 %doc /opt/rtems/man/man1/@target_alias@-gcc.1
    182 %doc /opt/rtems/man/man1/@target_alias@-g++.1
    183 
    184 %dir /opt/rtems/bin
    185 /opt/rtems/bin/cpp@exe_ext@
    186 /opt/rtems/bin/gcov@exe_ext@
    187 /opt/rtems/bin/@target_alias@-c++@exe_ext@
    188 /opt/rtems/bin/@target_alias@-g++@exe_ext@
    189 /opt/rtems/bin/@target_alias@-gcc@exe_ext@
    190 /opt/rtems/bin/@target_alias@-protoize@exe_ext@
    191 /opt/rtems/bin/@target_alias@-unprotoize@exe_ext@
    192 
    193 %dir /opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/include
    194 
    195 %dir /opt/rtems/include
    196 /opt/rtems/include/g++-3
    197 /opt/rtems/@target_alias@
     171%dir /opt/gnatrtems/info
     172%doc /opt/gnatrtems/info/dir
     173%doc /opt/gnatrtems/info/cpp.info*
     174%doc /opt/gnatrtems/info/gcc.info*
     175%doc /opt/gnatrtems/info/libc.info*
     176%doc /opt/gnatrtems/info/libm.info*
     177
     178%dir /opt/gnatrtems/man
     179%dir /opt/gnatrtems/man/man1
     180%doc /opt/gnatrtems/man/man1/cccp.1
     181%doc /opt/gnatrtems/man/man1/@target_alias@-gcc.1
     182%doc /opt/gnatrtems/man/man1/@target_alias@-g++.1
     183
     184%dir /opt/gnatrtems/bin
     185/opt/gnatrtems/bin/cpp@exe_ext@
     186/opt/gnatrtems/bin/gcov@exe_ext@
     187/opt/gnatrtems/bin/@target_alias@-c++@exe_ext@
     188/opt/gnatrtems/bin/@target_alias@-g++@exe_ext@
     189/opt/gnatrtems/bin/@target_alias@-gcc@exe_ext@
     190/opt/gnatrtems/bin/@target_alias@-protoize@exe_ext@
     191/opt/gnatrtems/bin/@target_alias@-unprotoize@exe_ext@
     192
     193%dir /opt/gnatrtems/lib/gcc-lib/@target_alias@/@gcc_version@/include
     194
     195%dir /opt/gnatrtems/include
     196/opt/gnatrtems/include/g++-3
     197/opt/gnatrtems/@target_alias@
    198198
    199199%post -n @target_alias@-gcc
     
    219219
    220220%files -n @target_alias@-chill -f build/files.chill
    221 %dir /opt/rtems/bin
    222 /opt/rtems/bin/@target_alias@-chill@exe_ext@
    223 
    224 %dir /opt/rtems/info
    225 %doc /opt/rtems/info/dir
    226 %doc /opt/rtems/info/chill.info*
     221%dir /opt/gnatrtems/bin
     222/opt/gnatrtems/bin/@target_alias@-chill@exe_ext@
     223
     224%dir /opt/gnatrtems/info
     225%doc /opt/gnatrtems/info/dir
     226%doc /opt/gnatrtems/info/chill.info*
    227227
    228228%post -n @target_alias@-chill
     
    248248
    249249%files -n @target_alias@-gcj -f build/files.gcj
    250 %dir /opt/rtems/bin
    251 /opt/rtems/bin/jcf-dump@exe_ext@
    252 /opt/rtems/bin/jv-scan@exe_ext@
    253 /opt/rtems/bin/gcjh@exe_ext@
    254 /opt/rtems/bin/@target_alias@-gcj@exe_ext@
    255 
    256 /opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/jc1@exe_ext@
    257 /opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/jvgenmain@exe_ext@
     250%dir /opt/gnatrtems/bin
     251/opt/gnatrtems/bin/jcf-dump@exe_ext@
     252/opt/gnatrtems/bin/jv-scan@exe_ext@
     253/opt/gnatrtems/bin/gcjh@exe_ext@
     254/opt/gnatrtems/bin/@target_alias@-gcj@exe_ext@
     255
     256/opt/gnatrtems/lib/gcc-lib/@target_alias@/@gcc_version@/jc1@exe_ext@
     257/opt/gnatrtems/lib/gcc-lib/@target_alias@/@gcc_version@/jvgenmain@exe_ext@
    258258
    259259
    260260%files -n @target_alias@-g77 -f build/files.g77
    261 %dir /opt/rtems/bin
    262 /opt/rtems/bin/@target_alias@-g77@exe_ext@
    263 
    264 %dir /opt/rtems/info
    265 %doc /opt/rtems/info/g77.info*
    266 
    267 %dir /opt/rtems/man
    268 %dir /opt/rtems/man/man1
    269 %doc /opt/rtems/man/man1/@target_alias@-g77.1
    270 
    271 /opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/f771@exe_ext@
     261%dir /opt/gnatrtems/bin
     262/opt/gnatrtems/bin/@target_alias@-g77@exe_ext@
     263
     264%dir /opt/gnatrtems/info
     265%doc /opt/gnatrtems/info/g77.info*
     266
     267%dir /opt/gnatrtems/man
     268%dir /opt/gnatrtems/man/man1
     269%doc /opt/gnatrtems/man/man1/@target_alias@-g77.1
     270
     271/opt/gnatrtems/lib/gcc-lib/@target_alias@/@gcc_version@/f771@exe_ext@
    272272
    273273%post -n @target_alias@-g77
     
    293293
    294294%files -n @target_alias@-objc -f build/files.objc
    295 /opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/cc1obj@exe_ext@
    296 /opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/include/objc
     295/opt/gnatrtems/lib/gcc-lib/@target_alias@/@gcc_version@/cc1obj@exe_ext@
     296/opt/gnatrtems/lib/gcc-lib/@target_alias@/@gcc_version@/include/objc
  • scripts-ada/mkbinutilspec.in

    r64ab2e9 r0610a988  
    4949. ./$CFG
    5050
    51 specfile=${dst}/$target_alias-binutils-${binutils_version}.spec
     51specfile=${dst}/${target_alias}-gnat-binutils-${binutils_version}.spec
    5252
    5353sed -e "s%@Release@%${binutils_rpm_release}%g" \
     
    5555    -e "s%@target_alias@%${target_alias}%g" \
    5656    -e "s%@binutils_version@%${binutils_version}%g" \
    57     -e "s%@binutils_patch_version@%${binutils_patch_version}%g" \
     57    -e "s%@binutils_patch_version@%gnat-${binutils_patch_version}%g" \
    5858    -e "s%@exe_ext@%${exe_ext}%g" \
    5959< ${RTEMS_DIR}/binutils/binutils.spec.in \
  • scripts-ada/mkbspspec.in

    r64ab2e9 r0610a988  
    4949. ./$CFG
    5050
    51 specfile=${dst}/$target_alias-$bsp-${rtems_version}.spec
     51specfile=${dst}/${target_alias}-gnat-${bsp}-${rtems_version}.spec
    5252
    5353sed -e "s%@Release@%${rtems_rpm_release}%g" \
  • scripts-ada/mkgdbspec.in

    r64ab2e9 r0610a988  
    4949. ./$CFG
    5050
    51 specfile=${dst}/$target_alias-gdb-${gdb_version}.spec
     51specfile=${dst}/${target_alias}-gnat-gdb-${gdb_version}.spec
    5252
    5353case ${target_alias} in
     
    6969    -e "s%@target_alias@%${target_alias}%g" \
    7070    -e "s%@gdb_version@%${gdb_version}%g" \
    71     -e "s%@gdb_patch_version@%${gdb_patch_version}%g" \
     71    -e "s%@gdb_patch_version@%gnat-${gdb_patch_version}%g" \
    7272    -e "s%@extra_configure_arguments@%${extra_configure_arguments}%g" \
    7373    -e "s%@exe_ext@%${exe_ext}%g" \
     
    7777case ${target_alias} in
    7878  powerpc*)
    79      echo "/opt/rtems/bin/${target_alias}-run${exe_ext}"
     79     echo "/opt/gnatrtems/bin/${target_alias}-run${exe_ext}"
    8080     ;;
    8181  sparc*)
    82      echo "/opt/rtems/bin/${target_alias}-run${exe_ext}"
    83      echo "/opt/rtems/bin/${target_alias}-sis${exe_ext}"
     82     echo "/opt/gnatrtems/bin/${target_alias}-run${exe_ext}"
     83     echo "/opt/gnatrtems/bin/${target_alias}-sis${exe_ext}"
    8484     ;;
    8585  *) ;;
  • scripts-ada/mkgnatnewlibspec.in

    r64ab2e9 r0610a988  
    5656. ./$CFG
    5757
    58 specfile=${dst}/$target_alias-gcc-${gcc_version}-newlib-${newlib_version}.spec
     58specfile=${dst}/${target_alias}-gnat-${gnat_version}-newlib-${newlib_version}.spec
    5959
    6060sed -e "s%@Release@%${gnatnewlib_rpm_release}%g" \
     
    6262    -e "s%@rpm_build_root@%${rpm_build_root}%g" \
    6363    -e "s%@gcc_version@%${gcc_version}%g" \
    64     -e "s%@gcc_patch_version@%${gcc_patch_version}%g" \
     64    -e "s%@gcc_patch_version@%$gnat-{gcc_patch_version}%g" \
     65    -e "s%@gnat_version@%${gnat_version}%g" \
     66    -e "s%@gnat_patch_version@%${gnat_patch_version}%g" \
    6567    -e "s%@newlib_version@%${newlib_version}%g" \
    6668    -e "s%@newlib_patch_version@%${newlib_patch_version}%g" \
Note: See TracChangeset for help on using the changeset viewer.