forked from Imagelibrary/rtems
gcc-4.5-20100318
This commit is contained in:
@@ -11,9 +11,9 @@ BINUTILS_RPMREL = 1
|
|||||||
include ../binutils.am
|
include ../binutils.am
|
||||||
BINUTILS_OPTS +=
|
BINUTILS_OPTS +=
|
||||||
|
|
||||||
GCC_VERS = 4.4.3
|
GCC_VERS = 4.5.0
|
||||||
GCC_PKGVERS = $(GCC_VERS)
|
GCC_PKGVERS = 4.5-20100318
|
||||||
GCC_RPMREL = 2
|
GCC_RPMREL = 1
|
||||||
NEWLIB_VERS = 1.18.0
|
NEWLIB_VERS = 1.18.0
|
||||||
NEWLIB_PKGVERS = $(NEWLIB_VERS)
|
NEWLIB_PKGVERS = $(NEWLIB_VERS)
|
||||||
NEWLIB_RPMREL = `expr $(GCC_RPMREL)`
|
NEWLIB_RPMREL = `expr $(GCC_RPMREL)`
|
||||||
|
|||||||
@@ -46,9 +46,9 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%define gcc_pkgvers 4.4.3
|
%define gcc_pkgvers 4.5-20100318
|
||||||
%define gcc_version 4.4.3
|
%define gcc_version 4.5.0
|
||||||
%define gcc_rpmvers %{expand:%(echo "4.4.3" | tr - _ )}
|
%define gcc_rpmvers %{expand:%(echo "4.5.0" | tr - _ )}
|
||||||
|
|
||||||
%define newlib_pkgvers 1.18.0
|
%define newlib_pkgvers 1.18.0
|
||||||
%define newlib_version 1.18.0
|
%define newlib_version 1.18.0
|
||||||
@@ -58,7 +58,7 @@ Summary: bfin-rtems4.11 gcc
|
|||||||
|
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Version: %{gcc_rpmvers}
|
Version: %{gcc_rpmvers}
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
URL: http://gcc.gnu.org
|
URL: http://gcc.gnu.org
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
@@ -121,7 +121,7 @@ BuildRequires: %{_host_rpmprefix}gcc
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?cygwin}
|
%if 0%{?cygwin}
|
||||||
%global mpc_provided %{nil}
|
%global mpc_provided 0.8
|
||||||
%global mpfr_provided 2.4.1
|
%global mpfr_provided 2.4.1
|
||||||
%global gmp_provided 4.3.1
|
%global gmp_provided 4.3.1
|
||||||
%endif
|
%endif
|
||||||
@@ -225,7 +225,7 @@ BuildRequires: rtems-4.11-bfin-rtems4.11-binutils
|
|||||||
Requires: rtems-4.11-gcc-common
|
Requires: rtems-4.11-gcc-common
|
||||||
Requires: rtems-4.11-bfin-rtems4.11-binutils
|
Requires: rtems-4.11-bfin-rtems4.11-binutils
|
||||||
Requires: rtems-4.11-bfin-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
Requires: rtems-4.11-bfin-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||||
Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-2%{?dist}
|
Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-1%{?dist}
|
||||||
|
|
||||||
%if "%{gcc_version}" >= "4.5.0"
|
%if "%{gcc_version}" >= "4.5.0"
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
@@ -339,7 +339,7 @@ cd ..
|
|||||||
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
|
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
echo "RTEMS gcc-%{gcc_version}-2%{?dist}/newlib-%{newlib_version}-2%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-1%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||||
|
|
||||||
|
|
||||||
# Fix timestamps
|
# Fix timestamps
|
||||||
@@ -607,7 +607,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
|||||||
# Group: Development/Tools
|
# Group: Development/Tools
|
||||||
# Version: %{gcc_rpmvers}
|
# Version: %{gcc_rpmvers}
|
||||||
# Requires: rtems-4.11-bfin-rtems4.11-binutils
|
# Requires: rtems-4.11-bfin-rtems4.11-binutils
|
||||||
# Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-2%{?dist}
|
# Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-1%{?dist}
|
||||||
# License: GPL
|
# License: GPL
|
||||||
|
|
||||||
# %if %build_infos
|
# %if %build_infos
|
||||||
@@ -625,7 +625,7 @@ Summary: libgcc for bfin-rtems4.11-gcc
|
|||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Version: %{gcc_rpmvers}
|
Version: %{gcc_rpmvers}
|
||||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||||
Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-2%{?dist}
|
Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-1%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
|
|
||||||
%description -n rtems-4.11-bfin-rtems4.11-gcc-libgcc
|
%description -n rtems-4.11-bfin-rtems4.11-gcc-libgcc
|
||||||
@@ -799,7 +799,7 @@ Summary: C Library (newlib) for bfin-rtems4.11
|
|||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
License: Distributable
|
License: Distributable
|
||||||
Version: %{newlib_version}
|
Version: %{newlib_version}
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||||
|
|
||||||
Requires: rtems-4.11-newlib-common
|
Requires: rtems-4.11-newlib-common
|
||||||
@@ -820,7 +820,7 @@ Newlib C Library for bfin-rtems4.11.
|
|||||||
Summary: Base package for RTEMS newlib C Library
|
Summary: Base package for RTEMS newlib C Library
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Version: %{newlib_version}
|
Version: %{newlib_version}
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||||
License: Distributable
|
License: Distributable
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user