Changeset 43e7d103 in rtems for scripts/buildall.in


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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/buildall.in

    r8f2cf931 r43e7d103  
    55
    66RTEMS_DIR=`dirname $0`
    7 CFG=./user.cfg
     7CFG=./setup.cache
    88dst=@RPM_SPECSdir@
    99
     
    1212  echo "$0 [options] <target_alias>"
    1313  echo "  options:"
    14   echo "    -cfg <user.cfg>"
     14  echo "    -cfg <setup.cache>"
    1515  echo "    -o <rpm-spec-dir>"
    1616  exit 1 ;
     
    6161newlib=${newlib_version}
    6262# also use binutils_rpm_release
    63 buildroot=/opt/tmp
     63buildroot=/tmp
    6464
    6565testing=no
    66 do_binutils=yes
    67 do_gdb=yes
    68 do_gccnewlib=yes
     66do_binutils=no
     67do_gdb=no
     68do_gccnewlib=no
    6969
    7070#
     
    101101  do
    102102    tspecs=`find . -name "${target}*"`
     103    if [ "X${tspecs}" = "X" ] ; then
     104      echo RPM specifications were not generated for ${tspec}.
     105      exit 1
     106    fi
    103107    ${ECHO} cp -r ${tspecs} ${dst}
    104108  done
     
    120124    fi
    121125    ${ECHO} rm -rf ${dst}/../BUILD/${target}-binutils*
    122     ${ECHO} rm -rf ${buildroot}/opt
     126    ${ECHO} rm -rf ${buildroot}/opt/rtems
    123127  else
    124128    echo Skipping binutils for ${target}
     
    145149    if [ ${testing} = no ] ; then
    146150      rpm -ba ${specfile} >${logfile} 2>&1
     151exit 0
    147152    fi
    148153    ${ECHO} rm -rf ${dst}/../BUILD/${target}-gcc*
    149     ${ECHO} rm -rf ${buildroot}/opt
     154    ${ECHO} rm -rf ${buildroot}/opt/rtems
    150155
    151156    echo uninstalling binutils for ${target}
     
    170175    fi
    171176    ${ECHO} rm -rf ${dst}/../BUILD/${target}-gdb*
    172     ${ECHO} rm -rf ${buildroot}/opt
     177    ${ECHO} rm -rf ${buildroot}/opt/rtems
    173178  else
    174179    echo Skipping gdb for ${target}
Note: See TracChangeset for help on using the changeset viewer.