Changeset 06e70cd in rtems


Ignore:
Timestamp:
Oct 7, 2003, 8:53:29 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
67113c7
Parents:
869ffd9b
Message:

2003-10-07 Ralf Corsepius <corsepiu@…>

  • cpukit/target-cpukit.add: New.
  • cpukit/Makefile.am: Reflect having added target-cpukit.add. Acknowledge osversion.
  • cpukit/mkspec.in: Acknowledge osversion and rpmgroup.
  • cpukit/rtems-cpukit.add: Reflect new RTEMS spec conventions.
Location:
scripts
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • scripts/ChangeLog

    r869ffd9b r06e70cd  
     12003-10-07      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * cpukit/target-cpukit.add: New.
     4        * cpukit/Makefile.am: Reflect having added target-cpukit.add.
     5        Acknowledge osversion.
     6        * cpukit/mkspec.in: Acknowledge osversion and rpmgroup.
     7        * cpukit/rtems-cpukit.add: Reflect new RTEMS spec conventions.
     8
    192003-10-07      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    210
  • scripts/cpukit/Makefile.am

    r869ffd9b r06e70cd  
    1111SUBPACKAGES += rtems-cpukit.add
    1212SUBPACKAGES += $(top_builddir)/common/clean.add
     13SUBPACKAGES += target-cpukit.add
    1314
    1415MKSPEC_DEPS = mkspec rtems-cpukit.spec.in \
     
    1920CLEANFILES = rtems-cpukit.spec.in
    2021
    21 c4x-rtems-cpukit.spec: $(MKSPEC_DEPS)
    22         $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . c4x-rtems > $@
    23 RPM_SPECS_DATA = c4x-rtems-cpukit.spec
     22c4x-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS)
     23        $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . c4x-rtems@osversion@ > $@
     24RPM_SPECS_DATA = c4x-rtems@osversion@-cpukit.spec
    2425
    25 h8300-rtems-cpukit.spec: $(MKSPEC_DEPS)
    26         $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . h8300-rtems > $@
    27 RPM_SPECS_DATA += h8300-rtems-cpukit.spec
     26h8300-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS)
     27        $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . h8300-rtems@osversion@ > $@
     28RPM_SPECS_DATA += h8300-rtems@osversion@-cpukit.spec
    2829
    29 i386-rtems-cpukit.spec: $(MKSPEC_DEPS)
    30         $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems > $@
    31 RPM_SPECS_DATA += i386-rtems-cpukit.spec
     30i386-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS)
     31        $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems@osversion@ > $@
     32RPM_SPECS_DATA += i386-rtems@osversion@-cpukit.spec
    3233
    33 i960-rtems-cpukit.spec: $(MKSPEC_DEPS)
    34         $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . i960-rtems > $@
    35 RPM_SPECS_DATA += i960-rtems-cpukit.spec
     34i960-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS)
     35        $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . i960-rtems@osversion@ > $@
     36RPM_SPECS_DATA += i960-rtems@osversion@-cpukit.spec
    3637
    37 m68k-rtems-cpukit.spec: $(MKSPEC_DEPS)
    38         $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems > $@
    39 RPM_SPECS_DATA += m68k-rtems-cpukit.spec
     38m68k-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS)
     39        $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems@osversion@ > $@
     40RPM_SPECS_DATA += m68k-rtems@osversion@-cpukit.spec
    4041
    41 mips64orion-rtems-cpukit.spec: $(MKSPEC_DEPS)
    42         $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . mips64orion-rtems > $@
    43 RPM_SPECS_DATA += mips64orion-rtems-cpukit.spec
     42mips64orion-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS)
     43        $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . mips64orion-rtems@osversion@ > $@
     44RPM_SPECS_DATA += mips64orion-rtems@osversion@-cpukit.spec
    4445
    45 mips-rtems-cpukit.spec: $(MKSPEC_DEPS)
    46         $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . mips-rtems > $@
    47 RPM_SPECS_DATA += mips-rtems-cpukit.spec
     46mips-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS)
     47        $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . mips-rtems@osversion@ > $@
     48RPM_SPECS_DATA += mips-rtems@osversion@-cpukit.spec
    4849
    49 powerpc-rtems-cpukit.spec: $(MKSPEC_DEPS)
    50         $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems > $@
    51 RPM_SPECS_DATA += powerpc-rtems-cpukit.spec
     50powerpc-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS)
     51        $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems@osversion@ > $@
     52RPM_SPECS_DATA += powerpc-rtems@osversion@-cpukit.spec
    5253
    53 sh-rtems-cpukit.spec: $(MKSPEC_DEPS)
    54         $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems > $@
    55 RPM_SPECS_DATA += sh-rtems-cpukit.spec
     54sh-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS)
     55        $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems@osversion@ > $@
     56RPM_SPECS_DATA += sh-rtems@osversion@-cpukit.spec
    5657
    57 sh-rtemself-cpukit.spec: $(MKSPEC_DEPS)
    58         $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtemself > $@
    59 RPM_SPECS_DATA += sh-rtemself-cpukit.spec
     58sh-rtemself@osversion@-cpukit.spec: $(MKSPEC_DEPS)
     59        $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtemself@osversion@ > $@
     60RPM_SPECS_DATA += sh-rtemself@osversion@-cpukit.spec
    6061
    61 sparc-rtems-cpukit.spec: $(MKSPEC_DEPS)
    62         $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems > $@
    63 RPM_SPECS_DATA += sparc-rtems-cpukit.spec
     62sparc-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS)
     63        $(MKSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems@osversion@ > $@
     64RPM_SPECS_DATA += sparc-rtems@osversion@-cpukit.spec
    6465
    6566EXTRA_DIST = $(SUBPACKAGES)
  • scripts/cpukit/mkspec.in

    r869ffd9b r06e70cd  
    4949sed -e "s%@Release\@%${rtems_rpm_release}%g" \
    5050    -e "s%@rtems_version\@%${RTEMS_VERSION}%g" \
    51     -e "s%@rpm_version\@%${RPM_VERSION}%g" \
     51    -e "s%@rpmgroup\@%@rpmgroup@%g" \
     52    -e "s%@osversion\@%@osversion@%g" \
    5253    -e "s,@rpm_build_root\@,${rpm_build_root},g" \
    5354    -e "s%@target_alias\@%${target_alias}%g" \
  • scripts/cpukit/rtems-cpukit.add

    r869ffd9b r06e70cd  
    1 Name:         @target_alias@-cpukit
     1%define rtems_version @rtems_version@
     2%define rtems_target  @target_alias@
     3%define rpmvers %{expand: %%(echo %rtems_version | tr - _ )}
     4
     5Name:         %{rpmprefix}@target_alias@-cpukit
    26Release:      @Release@
    37License:      Various, Open Source.
    4 Group:        rtems
     8Group:        %{rpmgroup}
    59
    610Autoreqprov:  on
    711Packager:       corsepiu@faw.uni-ulm.de and joel@OARcorp.com
    8 BuildPreReq:    @target_alias@-binutils
    9 BuildPreReq:    @target_alias@-gcc
    10 Requires:       @target_alias@-binutils
    11 Requires:       @target_alias@-gcc
     12BuildPreReq:    %{rpmprefix}%{rtems_target}-binutils
     13BuildPreReq:    %{rpmprefix}%{rtems_target}-gcc
     14Requires:       %{rpmprefix}%{rtems_target}-binutils
     15Requires:       %{rpmprefix}%{rtems_target}-gcc
    1216
    13 Version:      @rpm_version@
     17# These are target libs, arch doesn't matter for the host
     18BuildArch:      noarch
     19
     20Version:      %{rpmvers}
    1421Summary:      A free operating system for embedded systems
    15 Source:       rtems-@rtems_version@.tar.gz
     22Source:       rtems-%{rtems_version}.tar.bz2
    1623
    1724#
     
    3340RTEMS is a free operating system for embedded systems.
    3441
    35 This package contains the cpukit for cpu @target_alias@.
     42This package contains the cpukit for cpu %{rtems_target}.
    3643
    3744Authors:
     
    4653cd build
    4754# rtems does not support building inside the source tree
    48   ../rtems-@rtems_version@/cpukit/configure \
    49   --build=`../rtems-@rtems_version@/config.guess` \
     55  ../rtems-%{rtems_version}/cpukit/configure \
     56  --build=`../rtems-%{rtems_version}/config.guess` \
    5057  --prefix=%{_prefix} \
    51   --host=@target_alias@ --target=@target_alias@ \
    52   --exec-prefix=%{_prefix}/@target_alias@ \
     58  --host=%{rtems_target} --target=%{rtems_target} \
     59  --exec-prefix=%{_prefix}/%{rtems_target} \
    5360  --enable-multilib
    5461  make RTEMS_BSP=
     
    5764  make RTEMS_BSP= DESTDIR=${RPM_BUILD_ROOT} install
    5865
    59 %files
    60 %{_prefix}/@target_alias@
    61 # ignore
    62 # %{_mandir}
Note: See TracChangeset for help on using the changeset viewer.