Changeset b41a0d1 in rtems


Ignore:
Timestamp:
Nov 22, 1999, 2:30:41 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
24f6608
Parents:
28cc172
Message:

RTEMS RPM basically working.

Location:
scripts
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • scripts/configure.in

    r28cc172 rb41a0d1  
    33AC_INIT(binutils)
    44AM_INIT_AUTOMAKE(scripts,19991025-0,no)
    5 
    6 # RTEMS_CHECK_VERSION(..)
    7 RTEMS_VERSION=GET_RTEMS_VERSION_XXX
    85
    96test -f ./setup.cache || cp ${srcdir}/setup.def ./setup.cache
     
    3633GDBVERS="gdb-${gdb_version}"
    3734AC_SUBST(GDBVERS)
    38 BSPVERS="${RTEMS_VERSION}"
     35BSPVERS="${rtems_version}"
    3936AC_SUBST(RTEMS_VERSION)
    4037AC_SUBST(BSPVERS)
  • scripts/mkbspspec.in

    r28cc172 rb41a0d1  
    4848. ./$CFG
    4949
    50 specfile=${dst}/$target_alias-$bsp-$RTEMS_VERSION.spec
     50specfile=${dst}/$target_alias-$bsp-${rtems_version}.spec
    5151
    52 sed -e "s%@Version@%${RTEMS_VERSION}%g" \
     52sed -e "s%@Release@%${rtems_rpm_release}%g" \
    5353    -e "s%@bsp@%${bsp}%g" \
    54     -e "s%@Release@%${rtems_release}%g" \
     54    -e "s%@rtems_version@%${rtems_version}%g" \
    5555    -e "s%@rpm_build_root@%${rpm_build_root}%g" \
    5656    -e "s%@target_alias@%${target_alias}%g" \
  • scripts/rtems/rtems.spec.in

    r28cc172 rb41a0d1  
    1616
    1717Autoreqprov:  on
    18 Packager:     corsepiu@faw.uni-ulm.de
     18Packager:       corsepiu@faw.uni-ulm.de and joel@OARcorp.com
     19Requires:       @target_alias@-binutils
     20Requires:       @target_alias@-gcc
    1921
    20 Version:      @Version@
     22Version:      @rtems_version@
    2123Summary:      A free operating system for embedded systems
    22 Source:       rtems-@Version@.tar.gz
     24Source:       rtems-@rtems_version@.tar.gz
    2325#
    2426# The original sources are not included in the source RPM.
     
    4648
    4749%prep
    48 # untar the sources inside rtems-@target_alias@-@bsp@-@Version@
    49 %setup -c -n rtems-@target_alias@-@bsp@-@Version@
     50# untar the sources inside rtems-@target_alias@-@bsp@-@rtems_version@
     51%setup -c -n rtems-@target_alias@-@bsp@-@rtems_version@
    5052# no patch needed
    5153# %patch
    5254%build
    5355# rtems does not support building inside the source tree
    54   if test ! -f rtems-@Version@/configure;
     56  if test ! -f rtems-@rtems_version@/configure;
    5557  then
    56   ( cd rtems-@Version@; ./autogen )
     58  ( cd rtems-@rtems_version@; ./bootstrap )
    5759  fi 
    58   ./rtems-@Version@/configure \
     60  ./rtems-@rtems_version@/configure \
    5961  --target=@target_alias@ \
    6062  --prefix=/opt/rtems/@target_alias@ \
     
    6466  --disable-tests \
    6567  --enable-rdbg \
    66   --disable-multiprocessing
     68  --disable-multiprocessing \
     69  --disable-itron
    6770  make RTEMS_BSP=@bsp@
    6871%install
  • scripts/setup

    r28cc172 rb41a0d1  
    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"
     37  echo "b rtems version           : $rtems_version"
     38  echo "c rtems rpm release       : $rtems_rpm_release"
     39  echo "d rpm build root          : $rpm_build_root"
    3840  echo
    3941
    40   echo -n "[0-9ab] or any other key to quit >"
     42  echo -n "[0-9a-d] or any other key to quit >"
    4143  read sel
    4244  case $sel in
     
    5860     read gccnewlib_rpm_release ;;
    5961  8) echo -n "GDB source >"
    60      read GDB_SOURCE ;;
     62     read gdb_version ;;
    6163  9) echo -n "GDB patch version>"
    6264     read gdb_patch_version ;;
    6365  a) echo -n "GDB RPM release >"
    6466     read gdb_rpm_release ;;
    65   b) echo -n "RPM build root >"
     67  b) echo -n "RTEMS source >"
     68     read rtems_version ;;
     69  c) echo -n "RTEMS RPM release >"
     70     read rtems_rpm_release ;;
     71  d) echo -n "RPM build root >"
    6672     read rpm_build_root ;;
    6773  *)
     
    8894echo "gdb_patch_version=$gdb_patch_version" >> $CFG
    8995echo "gdb_rpm_release=$gdb_rpm_release" >> $CFG
     96echo "rtems_version=$rtems_version" >> $CFG
     97echo "rtems_rpm_release=$rtems_rpm_release" >> $CFG
    9098echo "rpm_build_root=$rpm_build_root" >> $CFG
    9199
  • scripts/setup.def

    r28cc172 rb41a0d1  
    1111gdb_patch_version=19991015
    1212gdb_rpm_release=1
     13rtems_version=19991117
     14rtems_rpm_release=1
    1315rpm_build_root=/tmp
Note: See TracChangeset for help on using the changeset viewer.