Changeset 43e7d103 in rtems for scripts/gccnewlib


Ignore:
Timestamp:
Oct 21, 1999, 3:59:54 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
39537657
Parents:
8f2cf931
Message:

Changes from Ralf with script-19991021-0. He fixed the %files
issue and has mkbspspec in a better state. user.cfg is now
gone.

There are some miscellaneous changes to buildall done by Joel
to clean up the build process.

Location:
scripts/gccnewlib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • scripts/gccnewlib/Makefile.am

    r8f2cf931 r43e7d103  
     1## $Id$
     2
    13AUTOMAKE_OPTIONS = foreign
    24
    3 MKGCCNEWLIBSPEC = $(SHELL) ../mkgccnewlibspec
     5MKGCCNEWLIBSPEC = $(SHELL) $(top_builddir)/mkgccnewlibspec
    46
    57MKGCCNEWLIBSPEC_DEPS = \
    6   ../mkgccnewlibspec gccnewlib.spec.in ../setup.cache
     8  $(top_builddir)/mkgccnewlibspec gccnewlib.spec.in $(top_builddir)/setup.cache
    79
    810i386-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    9         $(MKGCCNEWLIBSPEC) -cfg ../setup.cache -o . i386-rtems
     11        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems
    1012
    1113sh-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    12         $(MKGCCNEWLIBSPEC) -cfg ../setup.cache -o . sh-rtems
     14        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems
    1315
    1416powerpc-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    15         $(MKGCCNEWLIBSPEC) -cfg ../setup.cache -o . powerpc-rtems
     17        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems
    1618
    1719sparc-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    18         $(MKGCCNEWLIBSPEC) -cfg ../setup.cache -o . sparc-rtems
     20        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems
    1921
    2022m68k-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    21         $(MKGCCNEWLIBSPEC) -cfg ../setup.cache -o . m68k-rtems
     23        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems
    2224
    2325mips64orion-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    24         $(MKGCCNEWLIBSPEC) -cfg ../setup.cache -o . mips64orion-rtems
     26        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . mips64orion-rtems
    2527
    2628i960-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    27         $(MKGCCNEWLIBSPEC) -cfg ../setup.cache -o . i960-rtems
     29        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . i960-rtems
    2830
    2931hppa1.1-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    30         $(MKGCCNEWLIBSPEC) -cfg ../setup.cache -o . hppa1.1-rtems
     32        $(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . hppa1.1-rtems
    3133
    3234TEMPLATES = \
  • scripts/gccnewlib/Makefile.in

    r8f2cf931 r43e7d103  
    7878
    7979
    80 RPM_SPECS_DATA =  i386-rtems-$(GCCNEWLIBVERS).spec sh-rtems-$(GCCNEWLIBVERS).spec powerpc-rtems-$(GCCNEWLIBVERS).spec sparc-rtems-$(GCCNEWLIBVERS).spec m68k-rtems-$(GCCNEWLIBVERS).spec mips64orion-rtems-$(GCCNEWLIBVERS).spec i960-rtems-$(GCCNEWLIBVERS).spec hppa1.1-rtems-$(GCCNEWLIBVERS).spec
     80RPM_SPECS_DATA =  i386-rtems-$(GCCNEWLIBVERS).spec sh-rtems-$(GCCNEWLIBVERS).spec sh-rtemself-$(GCCNEWLIBVERS).spec powerpc-rtems-$(GCCNEWLIBVERS).spec sparc-rtems-$(GCCNEWLIBVERS).spec m68k-rtems-$(GCCNEWLIBVERS).spec m68k-rtemself-$(GCCNEWLIBVERS).spec mips64orion-rtems-$(GCCNEWLIBVERS).spec i960-rtems-$(GCCNEWLIBVERS).spec hppa1.1-rtems-$(GCCNEWLIBVERS).spec
    8181
    8282
     
    220220        $(MKGCCNEWLIBSPEC) -cfg ../setup.cache -o . sh-rtems
    221221
     222sh-rtemself-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
     223        $(MKGCCNEWLIBSPEC) -cfg ../setup.cache -o . sh-rtemself
     224
    222225powerpc-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    223226        $(MKGCCNEWLIBSPEC) -cfg ../setup.cache -o . powerpc-rtems
     
    228231m68k-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
    229232        $(MKGCCNEWLIBSPEC) -cfg ../setup.cache -o . m68k-rtems
     233
     234m68k-rtemself-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
     235        $(MKGCCNEWLIBSPEC) -cfg ../setup.cache -o . m68k-rtemself
    230236
    231237mips64orion-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
  • scripts/gccnewlib/gccnewlib.spec.in

    r8f2cf931 r43e7d103  
    7575  cd @target_alias@/newlib
    7676  make prefix=$RPM_BUILD_ROOT/opt/rtems install-info
    77 # gzip info files
     77
     78  # cd back to build/
     79  cd ../..
     80
     81  # gzip info files
    7882  gzip -f $RPM_BUILD_ROOT/opt/rtems/info/*.info 2>/dev/null
    7983  gzip -f $RPM_BUILD_ROOT/opt/rtems/info/*.info-? 2>/dev/null
    8084  gzip -f $RPM_BUILD_ROOT/opt/rtems/info/*.info-?? 2>/dev/null
    81  
     85
     86  rm -f files
     87
     88  # collect c++ headers
     89  if test -d $RPM_BUILD_ROOT/opt/rtems/include/g++-3; then
     90    find $RPM_BUILD_ROOT/opt/rtems/include/g++-3 \
     91      -type d | \
     92      sed -e "s,^$RPM_BUILD_ROOT,%dir ,g" >> files
     93    find $RPM_BUILD_ROOT/opt/rtems/include/g++-3 \
     94      \( -type f -o -type l \) | \
     95      sed -e "s,^$RPM_BUILD_ROOT,,g" >> files
     96  fi
     97
     98  # collect target gcc-lib
    8299  if test -d "$RPM_BUILD_ROOT/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@"; \
    83100  then
    84     find "$RPM_BUILD_ROOT/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@" -type d | \
    85       sed -e "s,^$RPM_BUILD_ROOT,%dir ,g" > files.gcc-lib
    86     find "$RPM_BUILD_ROOT/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@" -type f | \
    87       sed -e "s,^$RPM_BUILD_ROOT,,g" >> files.gcc-lib
     101    find "$RPM_BUILD_ROOT/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@" \
     102      -type d | sed -e "s,^$RPM_BUILD_ROOT,%dir ,g" >> files
     103    find "$RPM_BUILD_ROOT/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@" \
     104      \( -type f -o -type l \) \
     105      | sed -e "s,^$RPM_BUILD_ROOT,,g" >> files
     106  fi
     107
     108  # collect target files
     109  if test -d "$RPM_BUILD_ROOT/opt/rtems/@target_alias@"; \
     110  then
     111    find "$RPM_BUILD_ROOT/opt/rtems/@target_alias@" \
     112      -type d | \
     113      sed -e "s,^$RPM_BUILD_ROOT,%dir ,g" >> files
     114    find "$RPM_BUILD_ROOT/opt/rtems/@target_alias@" \
     115      \( -type f -o -type l \) | \
     116      sed -e "s,^$RPM_BUILD_ROOT,,g" >> files
    88117  fi
    89118
     
    108137  fi
    109138
    110 %files -f files.g++ -f files.gcc-lib
     139%files -f build/files
    111140%docdir /opt/rtems/info
    112141%doc /opt/rtems/info/dir
     
    127156%dir /opt/rtems/bin
    128157/opt/rtems/bin/cpp
     158/opt/rtems/bin/jv-scan
     159/opt/rtems/bin/gcov
     160/opt/rtems/bin/jcf-dump
     161/opt/rtems/bin/gcjh
    129162/opt/rtems/bin/@target_alias@-c++
    130163/opt/rtems/bin/@target_alias@-g++
    131164/opt/rtems/bin/@target_alias@-gcc
    132165/opt/rtems/bin/@target_alias@-gcj
     166/opt/rtems/bin/@target_alias@-chill
     167/opt/rtems/bin/@target_alias@-g77
     168/opt/rtems/bin/@target_alias@-protoize
     169/opt/rtems/bin/@target_alias@-unprotoize
    133170
    134171%dir /opt/rtems/lib
    135172/opt/rtems/lib/libiberty*
    136 %dir /opt/rtems/lib/include
     173%dir /opt/rtems/include
    137174
    138175%dir /opt/rtems/lib/gcc-lib
    139176%dir /opt/rtems/lib/gcc-lib/@target_alias@
    140 # /opt/rtems/@target_alias@/include
    141 # /opt/rtems/@target_alias@/sys-include
    142 /opt/rtems/@target_alias@/lib
    143177
Note: See TracChangeset for help on using the changeset viewer.