forked from Imagelibrary/rtems
2004-09-23 Ralf Corsepius <ralf_corsepius@rtems.org>
* binutils/binutils.add: Rename package from binutils-collection to binutils. Cleanups. * binutils/target-binutils.add: Reflect changes above. * binutils/Makefile.am: Add avr. Reflect changes above.
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
2004-09-23 Ralf Corsepius <ralf_corsepius@rtems.org>
|
2004-09-23 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||||
|
|
||||||
|
* binutils/binutils.add: Rename package from binutils-collection to
|
||||||
|
binutils. Cleanups.
|
||||||
|
* binutils/target-binutils.add: Reflect changes above.
|
||||||
|
* binutils/Makefile.am: Add avr. Reflect changes above.
|
||||||
* autotools/autoconf-rtems.spec.in: Cleanup for chroot'ed builds.
|
* autotools/autoconf-rtems.spec.in: Cleanup for chroot'ed builds.
|
||||||
* autotools/automake-rtems.spec.in: automake-1.9.2.
|
* autotools/automake-rtems.spec.in: automake-1.9.2.
|
||||||
Cleanup for chroot'ed builds.
|
Cleanup for chroot'ed builds.
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ MKBINUTILSSPEC = $(SHELL) ./mkspec
|
|||||||
SUBPACKAGES = header.add
|
SUBPACKAGES = header.add
|
||||||
SUBPACKAGES += $(top_builddir)/common/common.add binutils.add
|
SUBPACKAGES += $(top_builddir)/common/common.add binutils.add
|
||||||
SUBPACKAGES += $(top_builddir)/common/clean.add
|
SUBPACKAGES += $(top_builddir)/common/clean.add
|
||||||
SUBPACKAGES += base-binutils.add target-binutils.add
|
SUBPACKAGES += target-binutils.add base-binutils.add
|
||||||
|
|
||||||
binutils.spec.in: $(SUBPACKAGES)
|
binutils.spec.in: $(SUBPACKAGES)
|
||||||
cat $^ > $@
|
cat $^ > $@
|
||||||
@@ -66,6 +66,10 @@ tic4x-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
|||||||
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache tic4x-rtems@osversion@ > $@
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache tic4x-rtems@osversion@ > $@
|
||||||
RPM_SPECS_DATA += tic4x-rtems@osversion@-$(BINUTILSVERS).spec
|
RPM_SPECS_DATA += tic4x-rtems@osversion@-$(BINUTILSVERS).spec
|
||||||
|
|
||||||
|
avr-rtems@osversion@-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
||||||
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache avr-rtems@osversion@ > $@
|
||||||
|
RPM_SPECS_DATA += avr-rtems@osversion@-$(BINUTILSVERS).spec
|
||||||
|
|
||||||
CLEANFILES += $(RPM_SPECS_DATA)
|
CLEANFILES += $(RPM_SPECS_DATA)
|
||||||
|
|
||||||
EXTRA_DIST = $(SUBPACKAGES)
|
EXTRA_DIST = $(SUBPACKAGES)
|
||||||
|
|||||||
@@ -2,14 +2,14 @@
|
|||||||
%define binutils_version @binutils_version@
|
%define binutils_version @binutils_version@
|
||||||
%define binutils_target @target_alias@
|
%define binutils_target @target_alias@
|
||||||
|
|
||||||
Name: %{rpmprefix}%{binutils_target}-binutils-collection
|
Name: %{rpmprefix}%{binutils_target}-binutils
|
||||||
Summary: binutils for target %{binutils_target}
|
Summary: binutils for target %{binutils_target}
|
||||||
Group: %{rpmgroup}
|
Group: %{rpmgroup}
|
||||||
Release: @Release@
|
Release: @Release@
|
||||||
License: GPL/LGPL
|
License: GPL/LGPL
|
||||||
|
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Packager: corsepiu@faw.uni-ulm.de and joel@OARcorp.com
|
Packager: ralf_corsepius@rtems.org and joel@OARcorp.com
|
||||||
Prefix: %{_prefix}
|
Prefix: %{_prefix}
|
||||||
BuildPreReq: /sbin/install-info
|
BuildPreReq: /sbin/install-info
|
||||||
BuildPreReq: texinfo >= 4.2
|
BuildPreReq: texinfo >= 4.2
|
||||||
@@ -32,11 +32,11 @@ Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_version}.tar.bz2
|
|||||||
#
|
#
|
||||||
NoSource: 0
|
NoSource: 0
|
||||||
|
|
||||||
%description
|
# %description
|
||||||
|
#
|
||||||
RTEMS is an open source operating system for embedded systems.
|
# RTEMS is an open source operating system for embedded systems.
|
||||||
|
#
|
||||||
This is binutils sources with patches for RTEMS.
|
# This is binutils sources with patches for RTEMS.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -c -n %{name}-%{version}
|
%setup -c -n %{name}-%{version}
|
||||||
@@ -71,8 +71,13 @@ This is binutils sources with patches for RTEMS.
|
|||||||
$RPM_BUILD_ROOT%{_prefix}/share/locale
|
$RPM_BUILD_ROOT%{_prefix}/share/locale
|
||||||
|
|
||||||
# gzip info files
|
# gzip info files
|
||||||
gzip -9qf $RPM_BUILD_ROOT%{_infodir}/*.info 2>/dev/null
|
# gzip info files
|
||||||
gzip -9qf $RPM_BUILD_ROOT%{_infodir}/*.info-* 2>/dev/null
|
ls $RPM_BUILD_ROOT%{_infodir}/*.info \
|
||||||
|
$RPM_BUILD_ROOT%{_infodir}/*.info-? \
|
||||||
|
$RPM_BUILD_ROOT%{_infodir}/*.info-?? 2>/dev/null \
|
||||||
|
| while read a; do \
|
||||||
|
gzip -9qf $a 2>/dev/null; \
|
||||||
|
done
|
||||||
|
|
||||||
# We assume that info/dir exists when building the RPMs
|
# We assume that info/dir exists when building the RPMs
|
||||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
# ==============================================================
|
# ==============================================================
|
||||||
# %{binutils_target}-binutils
|
# %{binutils_target}-binutils
|
||||||
# ==============================================================
|
# ==============================================================
|
||||||
%package -n %{rpmprefix}%{binutils_target}-binutils
|
# %package -n %{rpmprefix}%{binutils_target}-binutils
|
||||||
Summary: rtems binutils for %{binutils_target}
|
# Summary: rtems binutils for %{binutils_target}
|
||||||
Group: %{rpmgroup}
|
# Group: %{rpmgroup}
|
||||||
Requires: %{rpmprefix}rtems@osversion@-base-binutils
|
# Requires: %{rpmprefix}rtems@osversion@-base-binutils
|
||||||
Autoreqprov: off
|
# Autoreqprov: off
|
||||||
|
|
||||||
%description -n %{rpmprefix}%{binutils_target}-binutils
|
%description -n %{rpmprefix}%{binutils_target}-binutils
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user