Changeset e4b4a771 in rtems


Ignore:
Timestamp:
Oct 20, 1999, 4:23:32 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e46cd61
Parents:
c5fc4a0b
Message:

Generated files removed.

Location:
scripts
Files:
4 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • scripts/Makefile.am

    rc5fc4a0b re4b4a771  
    11AUTOMAKE_OPTIONS = foreign
    22
    3 SUBDIRS = . binutils gccnewlib
     3SUBDIRS = . binutils gccnewlib gdb
    44
    55noinst_SCRIPTS = \
     
    1212mkgdbspec \
    1313mkrpms \
    14 mkspec \
    15 mktoolspec
     14mkspec
    1615
    17 TEMPLATES = \
    18 gccnewlib.spec.in \
    19 gdb.spec.in \
    20 rtems.spec.in \
    21 toolchain.spec.in
     16TEMPLATES =
    2217
    2318noinst_DATA = \
  • scripts/Makefile.in

    rc5fc4a0b re4b4a771  
    6969AUTOMAKE_OPTIONS = foreign
    7070
    71 SUBDIRS = . binutils gccnewlib
    72 
    73 noinst_SCRIPTS =  setup buildall mkbinutils_subpackage_version mkbinutilspec mkbspspec mkgccnewlibspec mkgdbspec mkrpms mkspec mktoolspec
    74 
    75 
    76 TEMPLATES =  gccnewlib.spec.in gdb.spec.in rtems.spec.in toolchain.spec.in
    77 
     71SUBDIRS = . binutils gccnewlib gdb
     72
     73noinst_SCRIPTS =  setup buildall mkbinutils_subpackage_version mkbinutilspec mkbspspec mkgccnewlibspec mkgdbspec mkrpms mkspec
     74
     75
     76TEMPLATES =
    7877
    7978noinst_DATA =  setup.def $(TEMPLATES)
     
    8887ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    8988mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    90 CONFIG_CLEAN_FILES =  mkbinutilspec mkgccnewlibspec
     89CONFIG_CLEAN_FILES =  mkbinutilspec mkgccnewlibspec mkgdbspec
    9190SCRIPTS =  $(noinst_SCRIPTS)
    9291
     
    9594DIST_COMMON =  README Makefile.am Makefile.in TODO aclocal.m4 configure \
    9695configure.in install-sh missing mkbinutilspec.in mkgccnewlibspec.in \
    97 mkinstalldirs
     96mkgdbspec.in mkinstalldirs
    9897
    9998
     
    105104.SUFFIXES:
    106105$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
    107         cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile
    108 
    109 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
     106        cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
     107
     108Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
    110109        cd $(top_builddir) \
    111110          && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
     
    121120        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
    122121mkgccnewlibspec: $(top_builddir)/config.status mkgccnewlibspec.in
     122        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
     123mkgdbspec: $(top_builddir)/config.status mkgdbspec.in
    123124        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
    124125
     
    250251        mkdir $(distdir)
    251252        -chmod 777 $(distdir)
     253        here=`cd $(top_builddir) && pwd`; \
     254        top_distdir=`cd $(distdir) && pwd`; \
     255        distdir=`cd $(distdir) && pwd`; \
     256        cd $(top_srcdir) \
     257          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
    252258        @for file in $(DISTFILES); do \
    253259          d=$(srcdir); \
  • scripts/binutils/Makefile.in

    rc5fc4a0b re4b4a771  
    1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
     1# Makefile.in generated automatically by automake 1.4a from Makefile.am
    22
    33# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
     
    4747
    4848INSTALL = @INSTALL@
    49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
     49INSTALL_PROGRAM = @INSTALL_PROGRAM@
    5050INSTALL_DATA = @INSTALL_DATA@
    5151INSTALL_SCRIPT = @INSTALL_SCRIPT@
     52INSTALL_STRIP_FLAG =
    5253transform = @program_transform_name@
    5354
     
    9495DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
    9596
    96 TAR = tar
     97TAR = gtar
    9798GZIP_ENV = --best
    9899all: all-redirect
    99100.SUFFIXES:
    100101$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
    101         cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps binutils/Makefile
    102 
    103 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
     102        cd $(top_srcdir) && $(AUTOMAKE) --foreign binutils/Makefile
     103
     104Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
    104105        cd $(top_builddir) \
    105106          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
     
    133134
    134135distdir: $(DISTFILES)
     136        here=`cd $(top_builddir) && pwd`; \
     137        top_distdir=`cd $(top_distdir) && pwd`; \
     138        distdir=`cd $(distdir) && pwd`; \
     139        cd $(top_srcdir) \
     140          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign binutils/Makefile
    135141        @for file in $(DISTFILES); do \
    136142          d=$(srcdir); \
    137143          if test -d $$d/$$file; then \
    138             cp -pr $$/$$file $(distdir)/$$file; \
     144            cp -pr $$d/$$file $(distdir)/$$file; \
    139145          else \
    140146            test -f $(distdir)/$$file \
     
    165171all-redirect: all-am
    166172install-strip:
    167         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
     173        $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
    168174installdirs:
    169175        $(mkinstalldirs)  $(DESTDIR)$(RPM_SPECSdir)
  • scripts/buildall

    rc5fc4a0b re4b4a771  
    2020TARGETS="sh-rtems"
    2121
    22 testing=no
    23 
    2422binutils=990901
    2523gcc=2.95.1
     
    2826buildroot=/opt/tmp
    2927
     28testing=yes
     29do_binutils=yes
     30do_gdb=yes
     31do_gccnewlib=yes
     32staging_dir=/usr3/rtems_cds/test_cd/linux
     33
    3034#
    3135#  Now get started
    3236#
    3337start=`date`
    34 
    3538
    3639echo PATH=$PATH
     
    6568fi
    6669
     70if [ ${testing} = no ] ; then
     71  cd ${RTEMS_DIR}/scripts
     72  ./configure || exit 1
     73  make        || exit 1
     74fi
     75
    6776#  Now generate all the specs
    6877for target in ${TARGETS}
    6978do
    70   ${ECHO} ${RTEMS_DIR}/mkspec ${target}
     79  tspecs=`find . -name "${target}*"`
     80  ${ECHO} cp -r ${tspecs} ${dst}
    7181done
    7282
     
    7585test -d log || mkdir log
    7686
    77 
    7887#  do all the tools
    7988for target in ${TARGETS}
    8089do
    81   logfile=log/${target}-binutils
    82   specfile=${dst}/${target}-binutils-${binutils}.spec
    83   echo "rpm -ba --buildroot=${buildroot} ${specfile} >${logfile} 2>&1"
    84   if [ ${testing} = no ] ; then
    85     rpm -ba --buildroot=${buildroot} ${specfile} >${logfile} 2>&1
     90  if [ ${do_binutils} = yes ] ; then
     91    logfile=log/${target}-binutils
     92    specfile=${dst}/${target}-binutils-${binutils}.spec
     93    echo "rpm -ba --buildroot=${buildroot} ${specfile} >${logfile} 2>&1"
     94    if [ ${testing} = no ] ; then
     95      rpm -ba --buildroot=${buildroot} ${specfile} >${logfile} 2>&1
     96    fi
     97    ${ECHO} rm -rf ${dst}/../BUILD/${target}-binutils*
     98    ${ECHO} rm -rf ${buildroot}/opt
     99  else
     100    echo Skipping binutils for ${target}
    86101  fi
    87   ${ECHO} rm -rf ${dst}/../BUILD/${target}-binutils*
    88   ${ECHO} rm -rf ${buildroot}/opt
    89102
    90   # now build gdb
    91   logfile=log/${target}-gdb
    92   specfile=${dst}/${target}-gdb-${gdb}.spec
    93   echo "rpm -ba --buildroot=${buildroot} ${specfile} >${logfile} 2>&1"
    94   if [ ${testing} = no ] ; then
    95     rpm -ba --buildroot=${buildroot} ${specfile} >${logfile} 2>&1
     103  if [ ${do_gdb} = yes ] ; then
     104    # now build gdb
     105    logfile=log/${target}-gdb
     106    specfile=${dst}/${target}-gdb-${gdb}.spec
     107    echo "rpm -ba --buildroot=${buildroot} ${specfile} >${logfile} 2>&1"
     108    if [ ${testing} = no ] ; then
     109      rpm -ba --buildroot=${buildroot} ${specfile} >${logfile} 2>&1
     110    fi
     111    ${ECHO} rm -rf ${dst}/../BUILD/${target}-gdb*
     112    ${ECHO} rm -rf ${buildroot}/opt
     113  else
     114    echo Skipping gdb for ${target}
    96115  fi
    97   ${ECHO} rm -rf ${dst}/../BUILD/${target}-gdb*
    98   ${ECHO} rm -rf ${buildroot}/opt
    99116
    100   # now build gcc/newlib
    101   #    NOTE: This requires having binutils installed and we immediately
    102   #          remove it once finished.
    103   ${ECHO} rpm -i ${dst}/../RPMS/i386/${target}-binutils-${binutils}-0.i386.rpm
     117  if [ ${do_gccnewlib} = yes ] ; then
     118    # now build gcc/newlib
     119    #    NOTE: This requires having binutils installed and we immediately
     120    #          remove it once finished.
     121    binutils_rpm=${dst}/../RPMS/i386/${target}-binutils-${binutils}-0.i386.rpm
     122    if [ ! -f ${binutils_rpm} ] ; then
     123      echo There is no RPM for binutils for ${target}.
     124      echo Looked for ${binutils_rpm}.
     125    fi
     126    ${ECHO} rpm -i ${binutils_rpm}
    104127
    105   logfile=log/${target}-gccnewlib
    106   specfile=${dst}/${target}-gcc-${gcc}-newlib-${newlib}.spec
    107   echo "rpm -ba --buildroot=${buildroot} ${specfile} >${logfile} 2>&1"
    108   if [ ${testing} = no ] ; then
    109     rpm -ba --buildroot=${buildroot} ${specfile} >${logfile} 2>&1
    110   fi
    111   ${ECHO} rm -rf ${dst}/../BUILD/${target}-gcc*
    112   ${ECHO} rm -rf ${buildroot}/opt
     128    logfile=log/${target}-gccnewlib
     129    specfile=${dst}/${target}-gcc-${gcc}-newlib-${newlib}.spec
     130    echo "rpm -ba --buildroot=${buildroot} ${specfile} >${logfile} 2>&1"
     131    if [ ${testing} = no ] ; then
     132      rpm -ba --buildroot=${buildroot} ${specfile} >${logfile} 2>&1
     133    fi
     134    ${ECHO} rm -rf ${dst}/../BUILD/${target}-gcc*
     135    ${ECHO} rm -rf ${buildroot}/opt
    113136
    114   echo uninstalling binutils for ${target}
    115   if [ ${testing} = no ] ; then
    116     rpm -e `rpm -qa | grep rtems`
     137    echo uninstalling binutils for ${target}
     138    if [ ${testing} = no ] ; then
     139      rpm -e `rpm -qa | grep rtems`
     140    fi
     141  else
     142    echo Skipping gcc/newlib for ${target}
    117143  fi
    118144done
    119145
    120 staging_dir=/usr3/rtems_cds/test_cd/linux
     146if [ X${staging_dir} != X ] ; then
     147  echo "Moving files to a staging directory for distribution."
     148  echo "Plus it saves space in /usr. :)"
     149  echo
     150  echo Making staging directory..
     151  ${ECHO} mkdir ${staging_dir}
     152  ${ECHO} mkdir ${staging_dir}/RPMS
     153  ${ECHO} mkdir ${staging_dir}/SRPMS
    121154
    122 ${ECHO} mkdir ${staging_dir}
    123 ${ECHO} mkdir ${staging_dir}/RPMS
    124 ${ECHO} mkdir ${staging_dir}/SRPMS
     155  echo Moving RPMs to CD staging directory
     156  for file in `ls -1 ${dst}/../RPMS/i386/*.rpm 2>/dev/null`
     157  do
     158    echo Moving ${file}
     159    ${ECHO} mv ${file} ${staging_dir}/RPMS
     160  done
    125161
    126 echo Moving RPMs to CD staging directory
    127 for file in `ls -1 ${dst}/../RPMS/i386/*.rpm 2>/dev/null`
    128 do
    129   ${ECHO} mv ${file} ${staging_dir}/RPMS
    130 done
    131 
    132 echo Moving SRPMs to CD staging directory
    133 for file in `ls -1 ${dst}/../SRPMS/*.rpm 2>/dev/null`
    134 do
    135   ${ECHO} mv ${file} ${staging_dir}/SRPMS
    136 done
     162  echo Moving SRPMs to CD staging directory
     163  for file in `ls -1 ${dst}/../SRPMS/*.rpm 2>/dev/null`
     164  do
     165    echo Moving ${file}
     166    ${ECHO} mv ${file} ${staging_dir}/SRPMS
     167  done
     168fi
    137169
    138170# Now we are done
  • scripts/gccnewlib/Makefile.in

    rc5fc4a0b re4b4a771  
    101101.SUFFIXES:
    102102$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
    103         cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps gccnewlib/Makefile
    104 
    105 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
     103        cd $(top_srcdir) && $(AUTOMAKE) --foreign gccnewlib/Makefile
     104
     105Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
    106106        cd $(top_builddir) \
    107107          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
     
    135135
    136136distdir: $(DISTFILES)
     137        here=`cd $(top_builddir) && pwd`; \
     138        top_distdir=`cd $(top_distdir) && pwd`; \
     139        distdir=`cd $(distdir) && pwd`; \
     140        cd $(top_srcdir) \
     141          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign gccnewlib/Makefile
    137142        @for file in $(DISTFILES); do \
    138143          d=$(srcdir); \
  • scripts/gdb/Makefile.in

    rc5fc4a0b re4b4a771  
    6969AUTOMAKE_OPTIONS = foreign
    7070
    71 MKBINUTILSSPEC = $(SHELL) $(top_srcdir)/mkbinutilspec
    72 
    73 MKBINUTILSSPEC_DEPS = ../mkbinutilspec binutils.spec.in ../setup.cache
    74 
    75 TEMPLATES =  binutils.spec.in
    76 
    77 
    78 RPM_SPECS_DATA =  i386-rtems-$(BINUTILSVERS).spec sh-rtems-$(BINUTILSVERS).spec powerpc-rtems-$(BINUTILSVERS).spec sparc-rtems-$(BINUTILSVERS).spec m68k-rtems-$(BINUTILSVERS).spec mips64orion-rtems-$(BINUTILSVERS).spec i960-rtems-$(BINUTILSVERS).spec hppa1.1-rtems-$(BINUTILSVERS).spec
     71MKGDBSPEC = $(SHELL) $(top_srcdir)/mkgdbspec
     72
     73MKGDBSPEC_DEPS = ../mkgdbspec gdb.spec.in ../setup.cache
     74
     75TEMPLATES =  gdb.spec.in
     76
     77
     78RPM_SPECS_DATA =  i386-rtems-$(GDBVERS).spec sh-rtems-$(GDBVERS).spec powerpc-rtems-$(GDBVERS).spec sparc-rtems-$(GDBVERS).spec m68k-rtems-$(GDBVERS).spec mips64orion-rtems-$(GDBVERS).spec i960-rtems-$(GDBVERS).spec hppa1.1-rtems-$(GDBVERS).spec
    7979
    8080
     
    100100.SUFFIXES:
    101101$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
    102         cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps binutils/Makefile
    103 
    104 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
     102        cd $(top_srcdir) && $(AUTOMAKE) --foreign gdb/Makefile
     103
     104Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
    105105        cd $(top_builddir) \
    106106          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
     
    131131distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
    132132
    133 subdir = binutils
     133subdir = gdb
    134134
    135135distdir: $(DISTFILES)
     136        here=`cd $(top_builddir) && pwd`; \
     137        top_distdir=`cd $(top_distdir) && pwd`; \
     138        distdir=`cd $(distdir) && pwd`; \
     139        cd $(top_srcdir) \
     140          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign gdb/Makefile
    136141        @for file in $(DISTFILES); do \
    137142          d=$(srcdir); \
     
    207212
    208213
    209 i386-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    210         $(MKBINUTILSSPEC) -cfg ../setup.cache -o . i386-rtems
    211 
    212 sh-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    213         $(MKBINUTILSSPEC) -cfg ../setup.cache -o . sh-rtems
    214 
    215 powerpc-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    216         $(MKBINUTILSSPEC) -cfg ../setup.cache -o . powerpc-rtems
    217 
    218 sparc-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    219         $(MKBINUTILSSPEC) -cfg ../setup.cache -o . sparc-rtems
    220 
    221 m68k-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    222         $(MKBINUTILSSPEC) -cfg ../setup.cache -o . m68k-rtems
    223 
    224 mips64orion-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    225         $(MKBINUTILSSPEC) -cfg ../setup.cache -o . mips64orion-rtems
    226 
    227 i960-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    228         $(MKBINUTILSSPEC) -cfg ../setup.cache -o . i960-rtems
    229 
    230 hppa1.1-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    231         $(MKBINUTILSSPEC) -cfg ../setup.cache -o . hppa1.1-rtems
     214i386-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     215        $(MKGDBSPEC) -cfg ../setup.cache -o . i386-rtems
     216
     217sh-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     218        $(MKGDBSPEC) -cfg ../setup.cache -o . sh-rtems
     219
     220powerpc-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     221        $(MKGDBSPEC) -cfg ../setup.cache -o . powerpc-rtems
     222
     223sparc-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     224        $(MKGDBSPEC) -cfg ../setup.cache -o . sparc-rtems
     225
     226m68k-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     227        $(MKGDBSPEC) -cfg ../setup.cache -o . m68k-rtems
     228
     229mips64orion-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     230        $(MKGDBSPEC) -cfg ../setup.cache -o . mips64orion-rtems
     231
     232i960-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     233        $(MKGDBSPEC) -cfg ../setup.cache -o . i960-rtems
     234
     235hppa1.1-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     236        $(MKGDBSPEC) -cfg ../setup.cache -o . hppa1.1-rtems
    232237
    233238# Tell versions [3.59,3.63) of GNU make to not export all variables.
  • scripts/mkgdbspec.in

    rc5fc4a0b re4b4a771  
    5050. ./$CFG
    5151
    52 specfile=${dst}/$target_alias-gdb.spec
     52specfile=${dst}/$target_alias-gdb-${gdb_version}.spec
     53
    5354sed -e "s%@Release@%${rpm_release}%g" \
    5455    -e "s%@target_alias@%${target_alias}%g" \
    5556    -e "s%@gdb_version@%${gdb_version}%g" \
    5657    -e "s%@gdb_patch_version@%${gdb_patch_version}%g" \
    57 < ${RTEMS_DIR}/gdb.spec.in \
     58< ${RTEMS_DIR}/gdb/gdb.spec.in \
    5859> ${specfile}
    5960
Note: See TracChangeset for help on using the changeset viewer.