Changeset 5eac93c7 in rtems


Ignore:
Timestamp:
Jan 25, 2000, 7:47:32 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
21677c0e
Parents:
9ce64148
Message:

Now binutils, gcc, and gdb build into a "base" package that is shared
by all targets and one or more target specific RPMs. This significantly
reduces the conflicts between the RPMs whether installing one or multiple
targets.

Location:
scripts
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • scripts/binutils/binutils.spec.in

    r9ce64148 r5eac93c7  
    5454
    5555%package -n @target_alias@-binutils
    56 Summary:      rtems gcc and newlib C Library for @target_alias@
     56Summary:      rtems binutils for @target_alias@
    5757Group: rtems
    5858Requires: rtems-base-binutils
     
    126126  fi
    127127
    128 %files -n rtems-base-binutils
     128%files -n rtems-base-binutils -f files
    129129%dir /opt/rtems/info
    130 # %doc /opt/rtems/info/dir
     130%doc /opt/rtems/info/dir
    131131%doc /opt/rtems/info/as.info.gz
    132132%doc /opt/rtems/info/as.info-?.gz
     
    156156%dir /opt/rtems/share/locale
    157157
    158 %files -n @target_alias@-binutils -f files
     158%files -n @target_alias@-binutils
    159159%doc /opt/rtems/man/man1/@target_alias@-*.1
    160160
  • scripts/buildall.in

    r9ce64148 r5eac93c7  
    136136    #    NOTE: This requires having binutils installed and we immediately
    137137    #          remove it once finished.
     138    base_binutils_rpm=${dst}/../RPMS/i386/rtems-base-binutils-${binutils}-${binutils_rpm_release}.i386.rpm
    138139    binutils_rpm=${dst}/../RPMS/i386/${target}-binutils-${binutils}-${binutils_rpm_release}.i386.rpm
    139140    if [ ! -f ${binutils_rpm} ] ; then
     
    141142      echo Looked for ${binutils_rpm}.
    142143    fi
     144    ${ECHO} rpm -i ${base_binutils_rpm}
    143145    ${ECHO} rpm -i ${binutils_rpm}
    144146
  • scripts/gdb/gdb.spec.in

    r9ce64148 r5eac93c7  
    1111Vendor:       OAR Corporation
    1212Distribution: Linux
    13 Name:         @target_alias@-gdb
     13Name:         @target_alias@-gdb-collection
    1414Release:      @Release@
    1515Copyright:    1999 OARCorp
    1616Group:        rtems
    17 Provides:     @target_alias@-gdb
     17Provides:     rtems-base-gdb @target_alias@-gdb
    1818
    1919Autoreqprov:  on
     
    4343This is the GNU gdb for RTEMS targetting @target_alias@.
    4444
     45%package -n rtems-base-gdb
     46Summary:      base package for rtems gdb
     47Group: rtems
     48
     49%description -n rtems-base-gdb
     50
     51RTEMS is an open source operating system for embedded systems.
     52
     53This is the base for gdb regardless of target CPU.
     54
     55%package -n @target_alias@-gdb
     56Summary:      rtems gdb for @target_alias@
     57Group: rtems
     58Requires: rtems-base-gdb
     59
     60%description -n @target_alias@-gdb
     61
     62RTEMS is an open source operating system for embedded systems.
     63
     64This is the GNU gdb for RTEMS targetting @target_alias@.
     65
    4566Authors:
    4667--------
    4768    Joel Sherrill (joel@oarcorp.com)
    4869    ...
     70
    4971
    5072%prep
     
    94116  fi
    95117
    96 %files
     118%files -n rtems-base-gdb
     119
    97120%dir /opt/rtems/info
    98121%doc /opt/rtems/info/gdb.info*
     
    102125%dir /opt/rtems/man
    103126%dir /opt/rtems/man/man1
    104 %doc /opt/rtems/man/man1/@target_alias@-gdb.1
    105127
    106128%dir /opt/rtems/include
     
    115137# /opt/rtems/lib/libiberty*
    116138
     139%files -n @target_alias@-gdb
     140%doc /opt/rtems/man/man1/@target_alias@-gdb.1
     141
    117142%dir /opt/rtems/bin
    118143/opt/rtems/bin/@target_alias@-gdb@exe_ext@
  • scripts/mkbinutilspec.in

    r9ce64148 r5eac93c7  
    5656    -e "s%@binutils_version@%${binutils_version}%g" \
    5757    -e "s%@binutils_patch_version@%${binutils_patch_version}%g" \
    58     -e "s%@ext_ext@%${ext_ext}%g" \
     58    -e "s%@exe_ext@%${exe_ext}%g" \
    5959< ${RTEMS_DIR}/binutils/binutils.spec.in \
    6060> ${specfile}
  • scripts/mkbspspec.in

    r9ce64148 r5eac93c7  
    5656    -e "s%@rpm_build_root@%${rpm_build_root}%g" \
    5757    -e "s%@target_alias@%${target_alias}%g" \
    58     -e "s%@ext_ext@%${ext_ext}%g" \
     58    -e "s%@exe_ext@%${exe_ext}%g" \
    5959< ${RTEMS_DIR}/rtems/rtems.spec.in \
    6060> ${specfile}
  • scripts/mkgccnewlibspec.in

    r9ce64148 r5eac93c7  
    6565    -e "s%@newlib_version@%${newlib_version}%g" \
    6666    -e "s%@newlib_patch_version@%${newlib_patch_version}%g" \
    67     -e "s%@ext_ext@%${ext_ext}%g" \
     67    -e "s%@exe_ext@%${exe_ext}%g" \
    6868< ${specsrc} \
    6969> ${specfile}
  • scripts/mkgdbspec.in

    r9ce64148 r5eac93c7  
    7171    -e "s%@gdb_patch_version@%${gdb_patch_version}%g" \
    7272    -e "s%@extra_configure_arguments@%${extra_configure_arguments}%g" \
    73     -e "s%@ext_ext@%${ext_ext}%g" \
     73    -e "s%@exe_ext@%${exe_ext}%g" \
    7474< ${RTEMS_DIR}/gdb/gdb.spec.in \
    7575> ${specfile}
  • scripts/mkgnatnewlibspec.in

    r9ce64148 r5eac93c7  
    5858    -e "s%@newlib_version@%${newlib_version}%g" \
    5959    -e "s%@newlib_patch_version@%${newlib_patch_version}%g" \
    60     -e "s%@ext_ext@%${ext_ext}%g" \
     60    -e "s%@exe_ext@%${exe_ext}%g" \
    6161< ${RTEMS_DIR}/gccnewlib/gccnewlib.spec.in \
    6262> ${specfile}
Note: See TracChangeset for help on using the changeset viewer.