Changeset b601e1a in rtems


Ignore:
Timestamp:
Jan 30, 2003, 10:21:40 AM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d413a66
Parents:
00b8107
Message:

2003-01-30 Ralf Corsepius <corsepiu@…>

  • binutils/mkspec.in: New.
  • binutils/.cvsignore: Add mkspec.
  • mkbinutilspec.in: Remove.
  • gdb/Makefile.am: Depend on mkspec.
  • binutils/binutils.add: Add @exe_ext@ to c++filt. Add %_defaultbuildroot.
  • configure.ac: Reflect changes above.
Location:
scripts
Files:
5 edited
1 moved

Legend:

Unmodified
Added
Removed
  • scripts/ChangeLog

    r00b8107 rb601e1a  
     12003-01-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * binutils/mkspec.in: New.
     4        * binutils/.cvsignore: Add mkspec.
     5        * mkbinutilspec.in: Remove.
     6        * gdb/Makefile.am: Depend on mkspec.
     7        * binutils/binutils.add: Add @exe_ext@ to c++filt.
     8        Add %_defaultbuildroot.
     9        * configure.ac: Reflect changes above.
     10
    1112003-01-29      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    212
  • scripts/binutils/.cvsignore

    r00b8107 rb601e1a  
    44binutils.spec
    55binutils.spec.in
     6mkspec
  • scripts/binutils/binutils.add

    r00b8107 rb601e1a  
    88
    99%define _prefix @prefix@
     10%define _defaultbuildroot %{_tmppath}/%{name}-%{version}
    1011
    1112Vendor:       OAR Corporation
     
    1718License:      GPL/LGPL
    1819
    19 Autoreqprov:    off
     20Autoreqprov:    on
    2021Packager:       corsepiu@faw.uni-ulm.de and joel@OARcorp.com
    2122Prefix:         %{_prefix}
    22 BuildRoot:      %{_tmppath}/@target_alias@-binutils
     23BuildRoot:      %{_defaultbuildroot}
    2324BuildPreReq:    /sbin/install-info
    2425BuildPreReq:    texinfo >= 4.2
     
    7576    $RPM_BUILD_ROOT%{_prefix}/share/locale
    7677
    77   rm -f $RPM_BUILD_ROOT%{_prefix}/bin/@target_alias@-c++filt
     78  rm -f $RPM_BUILD_ROOT%{_prefix}/bin/@target_alias@-c++filt@exe_ext@
    7879# gzip info files
    7980  gzip -9qf $RPM_BUILD_ROOT%{_prefix}/info/*.info 2>/dev/null
     
    9899%clean
    99100# let rpm --clean remove BuildRoot iif using the default BuildRoot
    100   test "$RPM_BUILD_ROOT" = "%{_tmppath}/@target_alias@-binutils" && \
     101  test "$RPM_BUILD_ROOT" = "%{_defaultbuildroot}" && \
    101102    rm -rf $RPM_BUILD_ROOT
    102103
  • scripts/binutils/mkspec.in

    r00b8107 rb601e1a  
    11#!/bin/sh
    22#
    3 #  Usage: mkbinutilspec CPU
     3#  Usage: mkspec CPU
    44#
    55
    66RTEMS_DIR=`dirname $0`/@top_srcdir@
    77
    8 CFG=setup.cache
    9 dst=@RPM_SPECSdir@
     8CFG=../setup.cache
    109exe_ext=@EXEEXT@
     10
     11specsrc=${RTEMS_DIR}/binutils/binutils.spec.in
    1112
    1213usage()
     
    1516  echo "  options:"
    1617  echo "    -cfg <setup.cache>"
    17   echo "    -o <rpm-spec-dir>"
     18  echo "    -a <alternate specs.in>"
    1819  exit 1 ;
    1920}
     
    2627  shift
    2728  ;;
    28 -o)
     29-a)
    2930  shift
    30   dst=$1
     31  specsrc=$1
    3132  shift
    3233  ;;
     
    4950. ./$CFG
    5051
    51 specfile=${dst}/$target_alias-binutils-${binutils_version}.spec
    52 
    5352if test -n "${binutils_patch_version}"; then
    5453PATCH1="Patch0: binutils-${binutils_version}-rtems-${binutils_patch_version}.diff"
     
    5958    -e "s,@rpm_build_root\@,${rpm_build_root},g" \
    6059    -e "s%@target_alias\@%${target_alias}%g" \
     60    -e "s%@build_alias\@%@build_alias@%g" \
     61    -e "s%@host_alias\@%@host_alias@%g" \
    6162    -e "s%@prefix\@%@prefix@%g" \
    6263    -e "s%@binutils_version\@%${binutils_version}%g" \
     
    6566    -e "s,@PATCH1\@,${PATCH1}," \
    6667    -e "s,@PATCH2\@,${PATCH2}," \
    67 < ${RTEMS_DIR}/binutils/binutils.spec.in \
    68 > ${specfile}
    69 
    70 echo Generated ${specfile}
     68< ${specsrc}
  • scripts/configure.ac

    r00b8107 rb601e1a  
    9494AC_CONFIG_FILES([buildall],[chmod +x buildall])
    9595AC_CONFIG_FILES([gdb/mkspec],[chmod +x gdb/mkspec])
    96 AC_CONFIG_FILES([mkbinutilspec],[chmod +x mkbinutilspec])
     96AC_CONFIG_FILES([binutils/mkspec],[chmod +x binutils/mkspec])
    9797AC_CONFIG_FILES([mkgccnewlibspec],[chmod +x mkgccnewlibspec])
    9898AC_CONFIG_FILES([mkbspspec],[chmod +x mkbspspec])
  • scripts/gdb/Makefile.am

    r00b8107 rb601e1a  
    1313CLEANFILES = gdb.spec.in
    1414
    15 MKGDBSPEC_DEPS = $(top_builddir)/mkspec gdb.spec.in \
     15MKGDBSPEC_DEPS = mkspec gdb.spec.in \
    1616    $(top_builddir)/setup.cache
    1717
Note: See TracChangeset for help on using the changeset viewer.