Changeset 087a6c86 in rtems


Ignore:
Timestamp:
Sep 2, 2003, 4:41:50 PM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d5031cb
Parents:
ac3786b
Message:

2003-09-02 Ralf Corsepius <corsepiu@…>

  • Makefile.am, configure.ac, autotools/autoconf-rtems.spec.in, autotools/automake-rtems.spec.in, binutils/Makefile.am, binutils/base-binutils.add, binutils/binutils.add, binutils/mkspec.in, binutils/target-binutils.add, common/common.add.in, cpukit/Makefile.am, gcc3newlib/Makefile.am, gcc3newlib/base-g77.add, gcc3newlib/base-gcc.add, gcc3newlib/base-gcj.add, gcc3newlib/base-gnat.add, gcc3newlib/gccnewlib.add, gcc3newlib/mkspec.in, gcc3newlib/target-c++.add, gcc3newlib/target-g77.add, gcc3newlib/target-gcc.add, gcc3newlib/target-gcj.add, gcc3newlib/target-gnat.add, gcc3newlib/target-objc.add, gccnewlib/Makefile.am, gdb/Makefile.am, rtems/Makefile.am, rtemsdoc/Makefile.am: Merger from rtems-4-6-branch.
  • common/common.am: New.
Location:
scripts
Files:
1 added
29 edited

Legend:

Unmodified
Added
Removed
  • scripts/ChangeLog

    rac3786b r087a6c86  
     12003-09-02      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am, configure.ac,
     4        autotools/autoconf-rtems.spec.in, autotools/automake-rtems.spec.in,
     5        binutils/Makefile.am, binutils/base-binutils.add,
     6        binutils/binutils.add, binutils/mkspec.in,
     7        binutils/target-binutils.add,
     8        common/common.add.in,
     9        cpukit/Makefile.am,
     10        gcc3newlib/Makefile.am, gcc3newlib/base-g77.add,
     11        gcc3newlib/base-gcc.add, gcc3newlib/base-gcj.add,
     12        gcc3newlib/base-gnat.add, gcc3newlib/gccnewlib.add,
     13        gcc3newlib/mkspec.in, gcc3newlib/target-c++.add,
     14        gcc3newlib/target-g77.add, gcc3newlib/target-gcc.add,
     15        gcc3newlib/target-gcj.add, gcc3newlib/target-gnat.add,
     16        gcc3newlib/target-objc.add,
     17        gccnewlib/Makefile.am,
     18        gdb/Makefile.am,
     19        rtems/Makefile.am,
     20        rtemsdoc/Makefile.am:
     21        Merger from rtems-4-6-branch.
     22        * common/common.am: New.
     23
    1242003-08-23      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    225
  • scripts/Makefile.am

    rac3786b r087a6c86  
    1111    mkgccnewlibspec mkrpms mkspec
    1212
    13 TEMPLATES =
    14 
    15 noinst_DATA = setup.def $(TEMPLATES)
     13noinst_DATA = setup.def
    1614
    1715EXTRA_DIST = $(noinst_DATA) $(noinst_SCRIPTS)
    1816
    19 CONFIGURE_DEPENDENCIES = setup.cache
     17CONFIG_STATUS_DEPENDENCIES = setup.cache
    2018setup.cache: setup.def
    2119        cp setup.def $@
  • scripts/autotools/autoconf-rtems.spec.in

    rac3786b r087a6c86  
    1111
    1212%if "%{_prefix}" != "/usr"
    13 %define name                    %{_name}-rtems
     13%define name                    @rpmprefix@%{_name}-rtems
    1414%define _infodir                %{_prefix}/info
    1515%define _mandir                 %{_prefix}/man
     
    2525Copyright:    GPL
    2626URL:          http://www.gnu.org/software/autoconf
    27 Group:        rtems
     27Group:        @rpmgroup@
    2828Autoreqprov:  on
    2929Version:      %{rpmvers}
  • scripts/autotools/automake-rtems.spec.in

    rac3786b r087a6c86  
    1212
    1313%if "%{_prefix}" != "/usr"
    14 %define name                    %{_name}-rtems
    15 %define requirements            autoconf-rtems >= 2.54
     14%define name                    @rpmprefix@%{_name}-rtems
     15%define requirements            @rpmprefix@autoconf-rtems >= 2.54
    1616%define _infodir                %{_prefix}/info
    1717%define _mandir                 %{_prefix}/man
     
    2626
    2727Copyright:    GPL
    28 Group:        rtems
     28Group:        @rpmgroup@
    2929Autoreqprov:  on
    3030Version:      %{rpmvers}
  • scripts/binutils/Makefile.am

    rac3786b r087a6c86  
    33##
    44
     5include $(top_srcdir)/common/common.am
    56
    67MKBINUTILSSPEC = $(SHELL) ./mkspec
     
    1415        cat $^ > $@
    1516CLEANFILES = binutils.spec.in
     17RPM_SPECS_DATA =
    1618
    1719MKBINUTILSSPEC_DEPS = mkspec binutils.spec.in \
     
    2022arm-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    2123        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache arm-rtems > $@
     24RPM_SPECS_DATA += arm-rtems-$(BINUTILSVERS).spec
    2225
    2326c4x-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    2427        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems > $@
     28RPM_SPECS_DATA += c4x-rtems-$(BINUTILSVERS).spec
    2529
    2630h8300-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    2731        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems > $@
     32RPM_SPECS_DATA += h8300-rtems-$(BINUTILSVERS).spec
    2833
    2934hppa1.1-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    3035        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems > $@
     36RPM_SPECS_DATA += hppa1.1-rtems-$(BINUTILSVERS).spec
    3137
    3238i386-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    3339        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache i386-rtems > $@
     40RPM_SPECS_DATA += i386-rtems-$(BINUTILSVERS).spec
    3441
    3542i960-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    3643        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache i960-rtems > $@
     44RPM_SPECS_DATA += i960-rtems-$(BINUTILSVERS).spec
    3745
    3846m68k-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    3947        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems > $@
     48RPM_SPECS_DATA += m68k-rtems-$(BINUTILSVERS).spec
    4049
    4150mips64orion-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    4251        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems > $@
     52RPM_SPECS_DATA += mips64orion-rtems-$(BINUTILSVERS).spec
     53
    4354mips-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    4455        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache mips-rtems > $@
     56RPM_SPECS_DATA += mips-rtems-$(BINUTILSVERS).spec
    4557
    4658or32-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    4759        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache or32-rtems > $@
     60RPM_SPECS_DATA += or32-rtems-$(BINUTILSVERS).spec
    4861
    4962powerpc-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    5063        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems > $@
     64RPM_SPECS_DATA += powerpc-rtems-$(BINUTILSVERS).spec
    5165
    5266sh-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    5367        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sh-rtems > $@
     68RPM_SPECS_DATA += sh-rtems-$(BINUTILSVERS).spec
    5469
    5570sh-rtemself-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    5671        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself > $@
     72RPM_SPECS_DATA += sh-rtemself-$(BINUTILSVERS).spec
    5773
    5874sparc-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
    5975        $(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems > $@
     76RPM_SPECS_DATA += sparc-rtems-$(BINUTILSVERS).spec
    6077
    61 RPM_SPECS_DATA = \
    62     arm-rtems-$(BINUTILSVERS).spec \
    63     c4x-rtems-$(BINUTILSVERS).spec h8300-rtems-$(BINUTILSVERS).spec \
    64     hppa1.1-rtems-$(BINUTILSVERS).spec \
    65     i386-rtems-$(BINUTILSVERS).spec i960-rtems-$(BINUTILSVERS).spec \
    66     m68k-rtems-$(BINUTILSVERS).spec \
    67     mips-rtems-$(BINUTILSVERS).spec mips64orion-rtems-$(BINUTILSVERS).spec \
    68     or32-rtems-$(BINUTILSVERS).spec \
    69     powerpc-rtems-$(BINUTILSVERS).spec sh-rtems-$(BINUTILSVERS).spec \
    70     sh-rtemself-$(BINUTILSVERS).spec sparc-rtems-$(BINUTILSVERS).spec
    7178CLEANFILES += $(RPM_SPECS_DATA)
    7279
  • scripts/binutils/base-binutils.add

    rac3786b r087a6c86  
    22# rtems-base-binutils
    33# ==============================================================
    4 %package -n rtems-base-binutils
    5 Provides:       rtems-base-binutils
     4%package -n %{rpmprefix}rtems-base-binutils
    65Summary:      base package for rtems binutils
    7 Group: rtems
     6Group: %{rpmgroup}
    87PreReq:         /sbin/install-info
    98
    10 %description -n rtems-base-binutils
     9%description -n %{rpmprefix}rtems-base-binutils
    1110
    1211RTEMS is an open source operating system for embedded systems.
     
    1413This is the base for binutils regardless of target CPU.
    1514
    16 %post -n rtems-base-binutils
     15%post -n %{rpmprefix}rtems-base-binutils
    1716  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
    1817  then
     
    2423  fi
    2524
    26 %postun -n rtems-base-binutils
     25%postun -n %{rpmprefix}rtems-base-binutils
    2726  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
    2827  then
     
    3433  fi
    3534
    36 %files -n rtems-base-binutils -f files
     35%files -n %{rpmprefix}rtems-base-binutils -f files
    3736%defattr(-,root,root)
    3837%dir %{_prefix}/info
     
    4342%doc %{_prefix}/info/ld.info.gz
    4443%if "%{binutils_version}" < "2.14"
    45 # binutils >= 2.14 ships monolytic infos.
    4644%doc %{_prefix}/info/as.info-*.gz
    4745%doc %{_prefix}/info/bfd.info-?.gz
  • scripts/binutils/binutils.add

    rac3786b r087a6c86  
    11
    2 %define binutils_version        @binutils_version@
     2%define binutils_version     @binutils_version@
     3%define binutils_target      @target_alias@
    34
    4 Name:         @target_alias@-binutils-collection
    5 Summary:      binutils for target @target_alias@
    6 Group:        rtems
     5Name:         %{rpmprefix}%{binutils_target}-binutils-collection
     6Summary:      binutils for target %{binutils_target}
     7Group:        %{rpmgroup}
    78Release:      @Release@
    89License:      GPL/LGPL
     
    3839
    3940%prep
    40 # untar the sources inside @target_alias@-binutils
    41 %setup -c -n @target_alias@-binutils
     41# untar the sources inside %{binutils_target}-binutils
     42%setup -c -n %{binutils_target}-binutils
    4243@PATCH2@
    4344  test -d build || mkdir build
     
    4748  ../binutils-%{binutils_version}/configure \
    4849    --build=%_build --host=%_host \
    49     --target=@target_alias@ \
     50    --target=%{binutils_target} \
    5051    --verbose --prefix=%{_prefix} --disable-nls
    5152
     
    6364    $RPM_BUILD_ROOT%{_prefix}/share/locale
    6465
    65   rm -f $RPM_BUILD_ROOT%{_prefix}/bin/@target_alias@-c++filt%{_exeext}
     66  rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{binutils_target}-c++filt%{_exeext}
    6667# gzip info files
    6768  gzip -9qf $RPM_BUILD_ROOT%{_prefix}/info/*.info 2>/dev/null
  • scripts/binutils/mkspec.in

    rac3786b r087a6c86  
    5858    -e "s%@target_alias\@%${target_alias}%g" \
    5959    -e "s%@prefix\@%@prefix@%g" \
     60    -e "s,@rpmprefix\@,@rpmprefix@,g" \
     61    -e "s%@rpmgroup\@%@rpmgroup@%g" \
    6062    -e "s%@binutils_version\@%${binutils_version}%g" \
    6163    -e "s%@binutils_patch_version\@%${binutils_patch_version}%g" \
  • scripts/binutils/target-binutils.add

    rac3786b r087a6c86  
    11# ==============================================================
    2 # @target_alias@-binutils
     2# %{binutils_target}-binutils
    33# ==============================================================
    4 %package -n @target_alias@-binutils
    5 Provides:       @target_alias@-binutils
    6 Summary:      rtems binutils for @target_alias@
    7 Group: rtems
    8 Requires: rtems-base-binutils
     4%package -n %{rpmprefix}%{binutils_target}-binutils
     5Summary:      rtems binutils for %{binutils_target}
     6Group: %{rpmgroup}
     7Requires: %{rpmprefix}rtems-base-binutils
    98Autoreqprov:    off
    109
    11 %description -n @target_alias@-binutils
     10%description -n %{rpmprefix}%{binutils_target}-binutils
    1211
    1312RTEMS is an open source operating system for embedded systems.
    1413
    15 This is the GNU binutils for RTEMS targetting @target_alias@.
     14This is the GNU binutils for RTEMS targetting %{binutils_target}.
    1615
    17 %files -n @target_alias@-binutils
     16%files -n %{rpmprefix}%{binutils_target}-binutils
    1817%defattr(-,root,root)
    19 %doc %{_prefix}/man/man1/@target_alias@-*.1*
     18%doc %{_prefix}/man/man1/%{binutils_target}-*.1*
    2019
    2120%dir %{_prefix}/bin
    22 %{_prefix}/bin/@target_alias@-addr2line%{_exeext}
    23 %{_prefix}/bin/@target_alias@-ar%{_exeext}
    24 %{_prefix}/bin/@target_alias@-as%{_exeext}
     21%{_prefix}/bin/%{binutils_target}-addr2line%{_exeext}
     22%{_prefix}/bin/%{binutils_target}-ar%{_exeext}
     23%{_prefix}/bin/%{binutils_target}-as%{_exeext}
    2524# c++filt now comes from gcc
    26 # %{_prefix}/bin/@target_alias@-c++filt%{_exeext}
     25# %{_prefix}/bin/%{binutils_target}-c++filt%{_exeext}
    2726# deleted as of 2.13
    28 # %{_prefix}/bin/@target_alias@-gasp%{_exeext}
    29 %{_prefix}/bin/@target_alias@-ld%{_exeext}
    30 %{_prefix}/bin/@target_alias@-nm%{_exeext}
    31 %{_prefix}/bin/@target_alias@-objcopy%{_exeext}
    32 %{_prefix}/bin/@target_alias@-objdump%{_exeext}
    33 %{_prefix}/bin/@target_alias@-ranlib%{_exeext}
    34 %{_prefix}/bin/@target_alias@-readelf%{_exeext}
    35 %{_prefix}/bin/@target_alias@-size%{_exeext}
    36 %{_prefix}/bin/@target_alias@-strings%{_exeext}
    37 %{_prefix}/bin/@target_alias@-strip%{_exeext}
     27# %{_prefix}/bin/%{binutils_target}-gasp%{_exeext}
     28%{_prefix}/bin/%{binutils_target}-ld%{_exeext}
     29%{_prefix}/bin/%{binutils_target}-nm%{_exeext}
     30%{_prefix}/bin/%{binutils_target}-objcopy%{_exeext}
     31%{_prefix}/bin/%{binutils_target}-objdump%{_exeext}
     32%{_prefix}/bin/%{binutils_target}-ranlib%{_exeext}
     33%{_prefix}/bin/%{binutils_target}-readelf%{_exeext}
     34%{_prefix}/bin/%{binutils_target}-size%{_exeext}
     35%{_prefix}/bin/%{binutils_target}-strings%{_exeext}
     36%{_prefix}/bin/%{binutils_target}-strip%{_exeext}
    3837
    39 %dir %{_prefix}/@target_alias@
    40 %dir %{_prefix}/@target_alias@/bin
    41 %{_prefix}/@target_alias@/bin/ar%{_exeext}
    42 %{_prefix}/@target_alias@/bin/as%{_exeext}
    43 %{_prefix}/@target_alias@/bin/ld%{_exeext}
    44 %{_prefix}/@target_alias@/bin/nm%{_exeext}
    45 %{_prefix}/@target_alias@/bin/ranlib%{_exeext}
    46 %{_prefix}/@target_alias@/bin/strip%{_exeext}
     38%dir %{_prefix}/%{binutils_target}
     39%dir %{_prefix}/%{binutils_target}/bin
     40%{_prefix}/%{binutils_target}/bin/ar%{_exeext}
     41%{_prefix}/%{binutils_target}/bin/as%{_exeext}
     42%{_prefix}/%{binutils_target}/bin/ld%{_exeext}
     43%{_prefix}/%{binutils_target}/bin/nm%{_exeext}
     44%{_prefix}/%{binutils_target}/bin/ranlib%{_exeext}
     45%{_prefix}/%{binutils_target}/bin/strip%{_exeext}
    4746
    48 %dir %{_prefix}/@target_alias@/lib
    49 %{_prefix}/@target_alias@/lib/ldscripts
     47%dir %{_prefix}/%{binutils_target}/lib
     48%{_prefix}/%{binutils_target}/lib/ldscripts
  • scripts/common/common.add.in

    rac3786b r087a6c86  
    66
    77%define _prefix                 @prefix@
     8%if "%{_prefix}" != "/usr"
     9%define _infodir                %{_prefix}/info
     10%define _mandir                 %{_prefix}/man
     11%endif
     12
     13%define rpmprefix               @rpmprefix@
     14%define rpmgroup                @rpmgroup@
     15
    816%define _defaultbuildroot       %{_tmppath}/%{name}-%{version}-root
    917%ifos cygwin cygwin32
     
    1321%endif
    1422
    15 # Without this, RPM-4.x' rpm-brp-strip screws up on cross-binaries
    16 %define __os_install_post %{nil}
     23# Work around to a bug in rpm-4.2
     24%define __os_install_post       %{nil}
    1725
    1826Vendor:         OARCorp
  • scripts/configure.ac

    rac3786b r087a6c86  
    55AC_CONFIG_SRCDIR([binutils])
    66RTEMS_TOP([..])
    7 AC_PREFIX_DEFAULT([/opt/rtems])
     7
    88AM_INIT_AUTOMAKE([no-define foreign 1.7.2])
    99
     
    1212test -f ./setup.cache || cp ${srcdir}/setup.def ./setup.cache
    1313. ./setup.cache
     14
     15AC_ARG_ENABLE([rpmprefix],
     16[  --enable-rpmprefix=<rpmprefix>      prefix rpms],
     17[case $enable_rpmprefix in
     18yes ) rpmprefix="rtems-"]RTEMS_API["-";;
     19no ) rpmprefix="%{nil}";;
     20* ) AS_IF([test -z "$enable_rpmprefix"],
     21      [rpmprefix="%{nil}"],
     22      [rpmprefix="$enable_rpmprefix"]);;
     23esac],
     24[rpmprefix="rtems-"]RTEMS_API["-"])
    1425
    1526AC_MSG_CHECKING(for rpm SPECS directory)
     
    6778AC_SUBST(BSPVERS)
    6879AC_SUBST(RPM_CPU)
     80AC_SUBST(rpmprefix,$rpmprefix)
     81AC_SUBST(rpmgroup,[Rtems/][RTEMS_API])
    6982
    7083AC_CONFIG_FILES([Makefile
  • scripts/cpukit/Makefile.am

    rac3786b r087a6c86  
    33##
    44
     5include $(top_srcdir)/common/common.am
    56
    67MKSPEC = $(SHELL) ./mkspec
  • scripts/gcc3newlib/Makefile.am

    rac3786b r087a6c86  
    22## $Id$
    33##
     4
     5include $(top_srcdir)/common/common.am
    46
    57MKSPEC = $(SHELL) ./mkspec
  • scripts/gcc3newlib/base-g77.add

    rac3786b r087a6c86  
    33# rtems-base-g77
    44# ==============================================================
    5 %package -n rtems-base-g77
    6 Provides:       rtems-base-g77
     5%package -n %{rpmprefix}rtems-base-g77
    76Summary:      rtems base package for gcc/g77 compiler
    8 Group: rtems
     7Group: %{rpmgroup}
    98Requires: rtems-base-gcc
    109
    11 %description -n rtems-base-g77
     10%description -n %{rpmprefix}rtems-base-g77
    1211RTEMS is an open source operating system for embedded systems.
    1312
    1413This is the files for gcc/g77 that are shared by all targets.
    1514
    16 %files -n rtems-base-g77
     15%files -n %{rpmprefix}rtems-base-g77
    1716%defattr(-,root,root)
    1817%dir %{_prefix}/info
     
    2322%doc %{_prefix}/man/man1/%{gcc_target}-g77.1*
    2423
    25 %post -n rtems-base-g77
     24%post -n %{rpmprefix}rtems-base-g77
    2625  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
    2726  then
     
    3332  fi
    3433
    35 %postun -n rtems-base-g77
     34%postun -n %{rpmprefix}rtems-base-g77
    3635  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
    3736  then
  • scripts/gcc3newlib/base-gcc.add

    rac3786b r087a6c86  
    11# ==============================================================
    2 # rtems-base-gcc
     2# %{rpmprefix}rtems-base-gcc
    33# ==============================================================
    4 %package -n rtems-base-gcc
    5 Provides:       rtems-base-gcc
     4%package -n %{rpmprefix}rtems-base-gcc
    65Summary:        base package for rtems gcc and newlib C Library
    7 Group: rtems
     6Group: %{rpmgroup}
    87
    9 %description -n rtems-base-gcc
     8%description -n %{rpmprefix}rtems-base-gcc
    109
    1110RTEMS is an open source operating system for embedded systems.
     
    1312This is the files for gcc and newlib that are shared by all targets.
    1413
    15 %files -n rtems-base-gcc
     14%files -n %{rpmprefix}rtems-base-gcc
    1615%defattr(-,root,root)
    1716%dir %{_prefix}/info
     
    3433%dir %{_prefix}/include
    3534
    36 %post -n rtems-base-gcc
     35%post -n %{rpmprefix}rtems-base-gcc
    3736  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
    3837  then
     
    4443  fi
    4544
    46 %postun -n rtems-base-gcc
     45%postun -n %{rpmprefix}rtems-base-gcc
    4746  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
    4847  then
  • scripts/gcc3newlib/base-gcj.add

    rac3786b r087a6c86  
    33# rtems-base-gcj
    44# ==============================================================
    5 %package -n rtems-base-gcj
    6 Provides:       rtems-base-gcj
     5%package -n %{rpmprefix}rtems-base-gcj
    76Summary:      base package for rtems gcc/java compiler (gcj).
    8 Group: rtems
    9 Requires: rtems-base-gcc
     7Group: %{rpmgroup}
     8Requires: %{rpmprefix}rtems-base-gcc
    109
    11 %description -n rtems-base-gcj
     10%description -n %{rpmprefix}rtems-base-gcj
    1211RTEMS is an open source operating system for embedded systems.
    1312
    1413This is the files for gcc/java (gcj) that are shared by all targets.
    1514
    16 %files -n rtems-base-gcj
     15%files -n %{rpmprefix}rtems-base-gcj
    1716%defattr(-,root,root)
    1817%dir %{_prefix}/bin
  • scripts/gcc3newlib/base-gnat.add

    rac3786b r087a6c86  
    33# rtems-base-gnat
    44# ==============================================================
    5 %package -n rtems-base-gnat
    6 Provides:       rtems-base-gnat
     5%package -n %{rpmprefix}rtems-base-gnat
    76Summary:        gcc/gnat tools
    8 Group: rtems
     7Group: %{rpmgroup}
    98
    10 %description -n rtems-base-gnat
     9%description -n %{rpmprefix}rtems-base-gnat
    1110RTEMS is an open source operating system for embedded systems.
    1211
    1312This is the gcc/gnat tools for the gcc/gnat compiler
    1413
    15 %files -n rtems-base-gnat
     14%files -n %{rpmprefix}rtems-base-gnat
    1615%defattr(-,root,root)
    1716%dir %{_prefix}/bin
  • scripts/gcc3newlib/gccnewlib.add

    rac3786b r087a6c86  
    55%define gcc_target      @target_alias@
    66
    7 Name:         %{gcc_target}-gcc-newlib
     7Name:         %{rpmprefix}%{gcc_target}-gcc-newlib
    88Summary:      gcc and newlib C Library for %{gcc_target}.
    9 Group:        rtems
     9Group: %{rpmgroup}
    1010Release:      @Release@
    1111License:      gcc is GPL/LGPL ; newlib no has restrictions on run-time usage
     
    1515
    1616Version:        gcc%{gcc_version}newlib%{newlib_version}
    17 # gcc 3.x and gcc 2.9
    18 # Source0:      ftp://ftp.gnu.org/pub/gnu/gcc/gcc-%{gcc_version}.tar.gz
    19 Source0:      ftp://ftp.gnu.org/pub/gnu/gcc/gcc-%{gcc_version}.tar.bz2
    20 # gcc 2.95.x
    21 # Source0:      ftp://ftp.gnu.org/pub/gnu/gcc/gcc-%{gcc_version}.tar.bz2
     17%if "%{gcc_version}" >= "3.2.2"
     18Source0: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.bz2
     19%else
     20%if "%{gcc_version}" >= "3.0"
     21Source0: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.gz
     22%else
     23Source0: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}-everything.tar.gz
     24%endif
     25%endif
    2226Source1:        ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
    2327@PATCH1@
    2428@PATCH3@
    2529BuildPreReq:    texinfo >= 4.2
    26 BuildPreReq:    %{gcc_target}-binutils
     30BuildPreReq:    %{rpmprefix}%{gcc_target}-binutils
    2731#
    2832# The original sources are not included in the source RPM.
     
    5862%else
    5963# default to not building gcj
    60 %define _gcj    %{?gnat:%gcj}%{!?gcj:0}
     64%define _gcj    %{?gcj:%gcj}%{!?gcj:0}
    6165%endif
    6266
     
    178182  languages="$languages,ada"
    179183%endif
     184
     185  export PATH="%{_bindir}:${PATH}"
    180186  ../gcc-%{gcc_version}/configure \
    181187    --build=%_build --host=%_host \
     
    192198  test -d gcc/include || mkdir -p gcc/include
    193199  cp ../gcc-%{gcc_version}/gcc/gsyslimits.h gcc/include/syslimits.h
     200%endif
     201
     202%if %build_cxx
     203%if "%{gcc_version}" >= "3.3"
     204  make -C %{gcc_target}/libiberty CFLAGS="$RPM_OPT_FLAGS" c++filt
     205%endif
    194206%endif
    195207
     
    227239
    228240%install
     241  export PATH="%{_bindir}:${PATH}"
    229242  cd build
    230243# Bug in gcc-2.95.1: It doesn't build this installation directory
     
    264277      $RPM_BUILD_ROOT%{_prefix}/bin/%{gcc_target}-cpp%{_exeext}
    265278  fi
     279%endif
     280
     281%if %build_cxx
     282%if "%{gcc_version}" >= "3.3"
     283  install -d $RPM_BUILD_ROOT%{_prefix}/bin
     284  install -c -m 755 %{gcc_target}/libiberty/c++filt%{_exeext} \
     285     $RPM_BUILD_ROOT%{_prefix}/bin/%{target_alias}-c++filt%{_exeext}
     286%endif
    266287%endif
    267288
  • scripts/gcc3newlib/mkspec.in

    rac3786b r087a6c86  
    7070    -e "s%@target_alias\@%${target_alias}%g" \
    7171    -e "s%@prefix\@%@prefix@%g" \
     72    -e "s,@rpmprefix\@,@rpmprefix@,g" \
     73    -e "s%@rpmgroup\@%@rpmgroup@%g" \
    7274    -e "s,@rpm_build_root\@,${rpm_build_root},g" \
    7375    -e "s%@gcc_version\@%${gcc3_version}%g" \
  • scripts/gcc3newlib/target-c++.add

    rac3786b r087a6c86  
    33# %{gcc_target}-c++
    44# ==============================================================
    5 %package -n %{gcc_target}-c++
    6 Provides:       %{gcc_target}-c++
     5%package -n %{rpmprefix}%{gcc_target}-c++
    76Summary:      gcc/g++ compiler (c++) for %{gcc_target}
    8 Group: rtems
    9 Requires: rtems-base-gcc %{gcc_target}-gcc
     7Group: %{rpmgroup}
     8Requires: %{rpmprefix}rtems-base-gcc %{rpmprefix}%{gcc_target}-gcc
    109
    11 %description -n %{gcc_target}-c++
     10%description -n %{rpmprefix}%{gcc_target}-c++
    1211RTEMS is an open source operating system for embedded systems.
    1312
    1413This is the gcc/g++ compiler for %{gcc_target}
    1514
    16 %files -n %{gcc_target}-c++ -f build/files.g++
     15%files -n %{rpmprefix}%{gcc_target}-c++ -f build/files.g++
    1716%defattr(-,root,root)
    1817%doc %{_prefix}/man/man1/%{gcc_target}-g++.1*
     
    2120%{_prefix}/bin/%{gcc_target}-c++%{_exeext}
    2221%{_prefix}/bin/%{gcc_target}-g++%{_exeext}
    23 %if "{gcc_version}" < "3.3"
    2422%{_prefix}/bin/%{gcc_target}-c++filt%{_exeext}
    25 %endif
    2623
    2724%{_prefix}/lib/gcc-lib/%{gcc_target}/%{gcc_version}/cc1plus%{_exeext}
  • scripts/gcc3newlib/target-g77.add

    rac3786b r087a6c86  
    33# %{gcc_target}-g77
    44# ==============================================================
    5 %package -n %{gcc_target}-g77
    6 Provides:       %{gcc_target}-g77
     5%package -n %{rpmprefix}%{gcc_target}-g77
    76Summary:        gcc/g77 compiler for %{gcc_target}
    8 Group: rtems
    9 Requires: rtems-base-g77 %{gcc_target}-gcc
     7Group: %{rpmgroup}
     8Requires: %{rpmprefix}rtems-base-g77 %{rpmprefix}%{gcc_target}-gcc
    109
    11 %description -n %{gcc_target}-g77
     10%description -n %{rpmprefix}%{gcc_target}-g77
    1211RTEMS is an open source operating system for embedded systems.
    1312
    1413This is the gcc/g77 compiler for %{gcc_target}
    1514
    16 %files -n %{gcc_target}-g77 -f build/files.g77
     15%files -n %{rpmprefix}%{gcc_target}-g77 -f build/files.g77
    1716%defattr(-,root,root)
    1817%dir %{_prefix}/bin
  • scripts/gcc3newlib/target-gcc.add

    rac3786b r087a6c86  
    22# %{gcc_target}-gcc
    33# ==============================================================
    4 %package -n %{gcc_target}-gcc
    5 Provides:       %{gcc_target}-gcc
     4%package -n %{rpmprefix}%{gcc_target}-gcc
    65Summary:        rtems gcc and newlib C Library for %{gcc_target}
    7 Group: rtems
    8 Requires: %{gcc_target}-binutils rtems-base-gcc
     6Group: %{rpmgroup}
     7Requires: %{rpmprefix}%{gcc_target}-binutils %{rpmprefix}rtems-base-gcc
    98
    10 %description -n %{gcc_target}-gcc
     9%description -n %{rpmprefix}%{gcc_target}-gcc
    1110RTEMS is an open source operating system for embedded systems.
    1211
    1312This is gcc and newlib C Library for %{gcc_target}.
    1413
    15 %files -n %{gcc_target}-gcc -f build/files.gcc
     14%files -n %{rpmprefix}%{gcc_target}-gcc -f build/files.gcc
    1615%defattr(-,root,root)
    1716%doc %{_prefix}/man/man1/%{gcc_target}-gcc.1*
  • scripts/gcc3newlib/target-gcj.add

    rac3786b r087a6c86  
    33# %{gcc_target}-gcj
    44# ==============================================================
    5 %package -n %{gcc_target}-gcj
    6 Provides:       %{gcc_target}-gcj
     5%package -n %{rpmprefix}%{gcc_target}-gcj
    76Summary:      gcc/java compiler (gcj) for %{gcc_target}
    8 Group: rtems
    9 Requires: rtems-base-gcj %{gcc_target}-gcc
     7Group: %{rpmgroup}
     8Requires: %{rpmprefix}rtems-base-gcj %{rpmprefix}%{gcc_target}-gcc
    109
    11 %description -n %{gcc_target}-gcj
     10%description -n %{rpmprefix}%{gcc_target}-gcj
    1211RTEMS is an open source operating system for embedded systems.
    1312
    1413This is the gcc/java compiler for %{gcc_target}
    1514
    16 %files -n %{gcc_target}-gcj -f build/files.gcj
     15%files -n %{rpmprefix}%{gcc_target}-gcj -f build/files.gcj
    1716%defattr(-,root,root)
    1817%dir %{_prefix}/bin
  • scripts/gcc3newlib/target-gnat.add

    rac3786b r087a6c86  
    33# %{gcc_target}-gnat
    44# ==============================================================
    5 %package -n %{gcc_target}-gnat
    6 Provides:       %{gcc_target}-gnat
     5%package -n %{rpmprefix}%{gcc_target}-gnat
    76Summary:        gcc/gnat compiler for %{gcc_target}
    8 Group: rtems
    9 Requires: rtems-base-gnat %{gcc_target}-gcc
     7Group: %{rpmgroup}
     8Requires: %{rpmprefix}rtems-base-gnat %{rpmprefix}%{gcc_target}-gcc
    109
    11 %description -n %{gcc_target}-gnat
     10%description -n %{rpmprefix}%{gcc_target}-gnat
    1211RTEMS is an open source operating system for embedded systems.
    1312
    1413This is the gcc/gnat compiler for %{gcc_target}
    1514
    16 %files -n %{gcc_target}-gnat
     15%files -n %{rpmprefix}%{gcc_target}-gnat
    1716%defattr(-,root,root)
    18 # %files -n %{gcc_target}-gnat -f build/files.gnat
    1917%dir %{_prefix}/bin
    2018%{_prefix}/bin/%{gcc_target}-gnat*
  • scripts/gcc3newlib/target-objc.add

    rac3786b r087a6c86  
    33# %{gcc_target}-objc
    44# ==============================================================
    5 %package -n %{gcc_target}-objc
    6 Provides:       %{gcc_target}-objc
     5%package -n %{rpmprefix}%{gcc_target}-objc
    76Summary:      gcc/objc compiler for %{gcc_target}
    8 Group: rtems
    9 Requires: %{gcc_target}-gcc
     7Group: %{rpmgroup}
     8Requires: %{rpmprefix}%{gcc_target}-gcc
    109
    11 %description -n %{gcc_target}-objc
     10%description -n %{rpmprefix}%{gcc_target}-objc
    1211RTEMS is an open source operating system for embedded systems.
    1312
    1413This is the gcc/objc compiler for %{gcc_target}
    1514
    16 %files -n %{gcc_target}-objc -f build/files.objc
     15%files -n %{rpmprefix}%{gcc_target}-objc -f build/files.objc
    1716%defattr(-,root,root)
    1817%{_prefix}/lib/gcc-lib/%{gcc_target}/%{gcc_version}/cc1obj%{_exeext}
  • scripts/gccnewlib/Makefile.am

    rac3786b r087a6c86  
    33##
    44
     5include $(top_srcdir)/common/common.am
    56
    67MKGCCNEWLIBSPEC = $(SHELL) $(top_builddir)/mkgccnewlibspec
  • scripts/gdb/Makefile.am

    rac3786b r087a6c86  
    22## $Id$
    33##
     4
     5include $(top_srcdir)/common/common.am
    46
    57MKSPEC = $(SHELL) ./mkspec
  • scripts/rtems/Makefile.am

    rac3786b r087a6c86  
    33##
    44
     5include $(top_srcdir)/common/common.am
    56
    67MKBSPSPEC = $(SHELL) $(top_builddir)/mkbspspec
  • scripts/rtemsdoc/Makefile.am

    rac3786b r087a6c86  
    22## $Id$
    33##
     4
     5include ${top_srcdir}/common/common.am
    46
    57CLEANFILES =
Note: See TracChangeset for help on using the changeset viewer.