Changeset 7063e223 in rtems


Ignore:
Timestamp:
Oct 21, 1999, 5:22:02 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ac5a9bf
Parents:
f4a5803e
Message:

Made the RTEMS version get substituted properly even though it is
not right yet.

Now can specify rpm_build_root via setup.

Location:
scripts
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • scripts/Makefile.in

    rf4a5803e r7063e223  
    6666PACKAGE = @PACKAGE@
    6767RPM_SPECSdir = @RPM_SPECSdir@
     68RTEMS_VERSION = @RTEMS_VERSION@
    6869VERSION = @VERSION@
    6970
  • scripts/binutils/Makefile.in

    rf4a5803e r7063e223  
    6666PACKAGE = @PACKAGE@
    6767RPM_SPECSdir = @RPM_SPECSdir@
     68RTEMS_VERSION = @RTEMS_VERSION@
    6869VERSION = @VERSION@
    6970
  • scripts/binutils/binutils.spec.in

    rf4a5803e r7063e223  
    1717Autoreqprov:    on
    1818Packager:       corsepiu@faw.uni-ulm.de and joel@OARcorp.com
    19 Buildroot:      /opt/tmp
     19Buildroot:      @rpm_build_root@
    2020Prefix:         /opt
    2121
  • scripts/configure

    rf4a5803e r7063e223  
    770770
    771771# RTEMS_CHECK_VERSION(..)
     772RTEMS_VERSION=GET_RTEMS_VERSION_XXX
    772773
    773774test -f ./setup.cache || cp ${srcdir}/setup.def ./setup.cache
     
    778779# others might use /usr/src
    779780echo $ac_n "checking for rpm SPECS directory""... $ac_c" 1>&6
    780 echo "configure:781: checking for rpm SPECS directory" >&5
     781echo "configure:782: checking for rpm SPECS directory" >&5
    781782if test -d /usr/src/packages/SPECS;
    782783then
     
    802803
    803804BSPVERS="${RTEMS_VERSION}"
     805
    804806
    805807
     
    974976s%@BINUTILSVERS@%$BINUTILSVERS%g
    975977s%@GDBVERS@%$GDBVERS%g
     978s%@RTEMS_VERSION@%$RTEMS_VERSION%g
    976979s%@BSPVERS@%$BSPVERS%g
    977980
  • scripts/configure.in

    rf4a5803e r7063e223  
    55
    66# RTEMS_CHECK_VERSION(..)
     7RTEMS_VERSION=GET_RTEMS_VERSION_XXX
    78
    89test -f ./setup.cache || cp ${srcdir}/setup.def ./setup.cache
     
    3637AC_SUBST(GDBVERS)
    3738BSPVERS="${RTEMS_VERSION}"
     39AC_SUBST(RTEMS_VERSION)
    3840AC_SUBST(BSPVERS)
    3941
  • scripts/gccnewlib/Makefile.in

    rf4a5803e r7063e223  
    6666PACKAGE = @PACKAGE@
    6767RPM_SPECSdir = @RPM_SPECSdir@
     68RTEMS_VERSION = @RTEMS_VERSION@
    6869VERSION = @VERSION@
    6970
  • scripts/gdb/Makefile.in

    rf4a5803e r7063e223  
    6666PACKAGE = @PACKAGE@
    6767RPM_SPECSdir = @RPM_SPECSdir@
     68RTEMS_VERSION = @RTEMS_VERSION@
    6869VERSION = @VERSION@
    6970
  • scripts/gdb/gdb.spec.in

    rf4a5803e r7063e223  
    2525Patch0:         gdb-@gdb_version@-rtems-@gdb_patch_version@.diff
    2626
    27 Buildroot:    /tmp
     27Buildroot:      @rpm_build_root@
     28
    2829# Patch:
    2930%description
  • scripts/mkbinutilspec.in

    rf4a5803e r7063e223  
    5151
    5252sed -e "s%@Release@%${binutils_rpm_release}%g" \
     53    -e "s%@rpm_build_root@%${rpm_build_root}%g" \
    5354    -e "s%@target_alias@%${target_alias}%g" \
    5455    -e "s%@binutils_version@%${binutils_version}%g" \
  • scripts/mkbspspec.in

    rf4a5803e r7063e223  
    5151
    5252sed -e "s%@Version@%${RTEMS_VERSION}%g" \
    53 -e "s%@bsp@%${bsp}%g" \
    54 -e "s%@Release@%${rtems_release}%g" \
    55 -e "s%@target_alias@%${target_alias}%g" \
     53    -e "s%@bsp@%${bsp}%g" \
     54    -e "s%@Release@%${rtems_release}%g" \
     55    -e "s%@rpm_build_root@%${rpm_build_root}%g" \
     56    -e "s%@target_alias@%${target_alias}%g" \
    5657< ${RTEMS_DIR}/rtems/rtems.spec.in \
    5758> ${specfile}
  • scripts/mkgccnewlibspec.in

    rf4a5803e r7063e223  
    5252sed -e "s%@Release@%${gccnewlib_rpm_release}%g" \
    5353    -e "s%@target_alias@%${target_alias}%g" \
     54    -e "s%@rpm_build_root@%${rpm_build_root}%g" \
    5455    -e "s%@gcc_version@%${gcc_version}%g" \
    5556    -e "s%@gcc_patch_version@%${gcc_patch_version}%g" \
  • scripts/mkgdbspec.in

    rf4a5803e r7063e223  
    5151
    5252sed -e "s%@Release@%${gdb_rpm_release}%g" \
     53    -e "s%@rpm_build_root@%${rpm_build_root}%g" \
    5354    -e "s%@target_alias@%${target_alias}%g" \
    5455    -e "s%@gdb_version@%${gdb_version}%g" \
  • scripts/rtems/rtems.spec.in

    rf4a5803e r7063e223  
    2323# We claim to be relocatible, but in fact we are not
    2424Prefix:       /opt
    25 Buildroot:    /opt/tmp
     25Buildroot:    @rpm_build_root@
    2626# Patch:
    2727%description
  • scripts/setup

    rf4a5803e r7063e223  
    3535  echo "9 gdb patch version       : $gdb_patch_version"
    3636  echo "a gdb rpm release         : $gdb_rpm_release"
     37  echo "b rpm build root          : $rpm_build_root"
    3738  echo
    3839
    39   echo -n "[0-9a] or any other key to quit >"
     40  echo -n "[0-9ab] or any other key to quit >"
    4041  read sel
    4142  case $sel in
     
    6263  a) echo -n "GDB RPM release >"
    6364     read gdb_rpm_release ;;
     65  b) echo -n "RPM build root >"
     66     read rpm_build_root ;;
    6467  *)
    6568     return 0 ;;
     
    8487echo "gdb_version=$gdb_version" >> $CFG
    8588echo "gdb_patch_version=$gdb_patch_version" >> $CFG
    86 echo "gdbrpm_release=$gdbrpm_release" >> $CFG
     89echo "gdb_rpm_release=$gdb_rpm_release" >> $CFG
     90echo "rpm_build_root=$rpm_build_root" >> $CFG
    8791
    8892echo " done"
Note: See TracChangeset for help on using the changeset viewer.