Changeset b41a0d1 in rtems
- Timestamp:
- 11/22/99 14:30:41 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 24f6608
- Parents:
- 28cc172
- Location:
- scripts
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/configure.in
r28cc172 rb41a0d1 3 3 AC_INIT(binutils) 4 4 AM_INIT_AUTOMAKE(scripts,19991025-0,no) 5 6 # RTEMS_CHECK_VERSION(..)7 RTEMS_VERSION=GET_RTEMS_VERSION_XXX8 5 9 6 test -f ./setup.cache || cp ${srcdir}/setup.def ./setup.cache … … 36 33 GDBVERS="gdb-${gdb_version}" 37 34 AC_SUBST(GDBVERS) 38 BSPVERS="${ RTEMS_VERSION}"35 BSPVERS="${rtems_version}" 39 36 AC_SUBST(RTEMS_VERSION) 40 37 AC_SUBST(BSPVERS) -
scripts/mkbspspec.in
r28cc172 rb41a0d1 48 48 . ./$CFG 49 49 50 specfile=${dst}/$target_alias-$bsp-$ RTEMS_VERSION.spec50 specfile=${dst}/$target_alias-$bsp-${rtems_version}.spec 51 51 52 sed -e "s%@ Version@%${RTEMS_VERSION}%g" \52 sed -e "s%@Release@%${rtems_rpm_release}%g" \ 53 53 -e "s%@bsp@%${bsp}%g" \ 54 -e "s%@ Release@%${rtems_release}%g" \54 -e "s%@rtems_version@%${rtems_version}%g" \ 55 55 -e "s%@rpm_build_root@%${rpm_build_root}%g" \ 56 56 -e "s%@target_alias@%${target_alias}%g" \ -
scripts/rtems/rtems.spec.in
r28cc172 rb41a0d1 16 16 17 17 Autoreqprov: on 18 Packager: corsepiu@faw.uni-ulm.de 18 Packager: corsepiu@faw.uni-ulm.de and joel@OARcorp.com 19 Requires: @target_alias@-binutils 20 Requires: @target_alias@-gcc 19 21 20 Version: @ Version@22 Version: @rtems_version@ 21 23 Summary: A free operating system for embedded systems 22 Source: rtems-@ Version@.tar.gz24 Source: rtems-@rtems_version@.tar.gz 23 25 # 24 26 # The original sources are not included in the source RPM. … … 46 48 47 49 %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@ 50 52 # no patch needed 51 53 # %patch 52 54 %build 53 55 # rtems does not support building inside the source tree 54 if test ! -f rtems-@ Version@/configure;56 if test ! -f rtems-@rtems_version@/configure; 55 57 then 56 ( cd rtems-@ Version@; ./autogen)58 ( cd rtems-@rtems_version@; ./bootstrap ) 57 59 fi 58 ./rtems-@ Version@/configure \60 ./rtems-@rtems_version@/configure \ 59 61 --target=@target_alias@ \ 60 62 --prefix=/opt/rtems/@target_alias@ \ … … 64 66 --disable-tests \ 65 67 --enable-rdbg \ 66 --disable-multiprocessing 68 --disable-multiprocessing \ 69 --disable-itron 67 70 make RTEMS_BSP=@bsp@ 68 71 %install -
scripts/setup
r28cc172 rb41a0d1 35 35 echo "9 gdb patch version : $gdb_patch_version" 36 36 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" 38 40 echo 39 41 40 echo -n "[0-9a b] or any other key to quit >"42 echo -n "[0-9a-d] or any other key to quit >" 41 43 read sel 42 44 case $sel in … … 58 60 read gccnewlib_rpm_release ;; 59 61 8) echo -n "GDB source >" 60 read GDB_SOURCE;;62 read gdb_version ;; 61 63 9) echo -n "GDB patch version>" 62 64 read gdb_patch_version ;; 63 65 a) echo -n "GDB RPM release >" 64 66 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 >" 66 72 read rpm_build_root ;; 67 73 *) … … 88 94 echo "gdb_patch_version=$gdb_patch_version" >> $CFG 89 95 echo "gdb_rpm_release=$gdb_rpm_release" >> $CFG 96 echo "rtems_version=$rtems_version" >> $CFG 97 echo "rtems_rpm_release=$rtems_rpm_release" >> $CFG 90 98 echo "rpm_build_root=$rpm_build_root" >> $CFG 91 99 -
scripts/setup.def
r28cc172 rb41a0d1 11 11 gdb_patch_version=19991015 12 12 gdb_rpm_release=1 13 rtems_version=19991117 14 rtems_rpm_release=1 13 15 rpm_build_root=/tmp
Note: See TracChangeset
for help on using the changeset viewer.