mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Regenerate.
This commit is contained in:
@@ -13,6 +13,12 @@
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%define debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%define gdb_version 6.7.1
|
||||
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||
|
||||
@@ -20,11 +26,15 @@ Name: rtems-4.9-arm-rtems4.9-gdb
|
||||
Summary: Gdb for target arm-rtems4.9
|
||||
Group: Development/Tools
|
||||
Version: %{gdb_rpmvers}
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: GPL/LGPL
|
||||
URL: http://sources.redhat.com/gdb
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.9-%{_host}-gcc
|
||||
%endif
|
||||
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
# suse
|
||||
%if "%{?suse}"
|
||||
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
|
||||
%{?_without_sources:NoSource: 0}
|
||||
%if "%{gdb_version}" == "6.7.1"
|
||||
Patch0: gdb-6.7.1-rtems4.9-20071216.diff
|
||||
Patch0: gdb-6.7.1-rtems4.9-20080324.diff
|
||||
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -63,9 +74,11 @@ GDB for target arm-rtems4.9
|
||||
%setup -q -D -T -n %{name}-%{version} -a0
|
||||
cd gdb-%{gdb_version}
|
||||
%{?PATCH0:%patch0 -p1}
|
||||
%{?PATCH1:%patch1 -p1}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
mkdir -p build
|
||||
cd build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
@@ -90,6 +103,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%define debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%define gdb_version 6.7.1
|
||||
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||
|
||||
@@ -20,11 +26,15 @@ Name: rtems-4.9-avr-rtems4.9-gdb
|
||||
Summary: Gdb for target avr-rtems4.9
|
||||
Group: Development/Tools
|
||||
Version: %{gdb_rpmvers}
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: GPL/LGPL
|
||||
URL: http://sources.redhat.com/gdb
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.9-%{_host}-gcc
|
||||
%endif
|
||||
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
# suse
|
||||
%if "%{?suse}"
|
||||
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
|
||||
%{?_without_sources:NoSource: 0}
|
||||
%if "%{gdb_version}" == "6.7.1"
|
||||
Patch0: gdb-6.7.1-rtems4.9-20071216.diff
|
||||
Patch0: gdb-6.7.1-rtems4.9-20080324.diff
|
||||
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -63,9 +74,11 @@ GDB for target avr-rtems4.9
|
||||
%setup -q -D -T -n %{name}-%{version} -a0
|
||||
cd gdb-%{gdb_version}
|
||||
%{?PATCH0:%patch0 -p1}
|
||||
%{?PATCH1:%patch1 -p1}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
mkdir -p build
|
||||
cd build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
@@ -90,6 +103,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%define debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%define gdb_version 6.5
|
||||
%define gdb_rpmvers %{expand:%(echo 6.5 | tr - _)}
|
||||
|
||||
@@ -25,6 +31,10 @@ License: GPL/LGPL
|
||||
URL: http://sources.redhat.com/gdb
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.9-%{_host}-gcc
|
||||
%endif
|
||||
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
# suse
|
||||
%if "%{?suse}"
|
||||
@@ -61,9 +71,11 @@ GDB for target bfin-rtems4.9
|
||||
%setup -q -D -T -n %{name}-%{version} -a0
|
||||
cd gdb-%{gdb_version}
|
||||
%{?PATCH0:%patch0 -p1}
|
||||
%{?PATCH1:%patch1 -p1}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
mkdir -p build
|
||||
cd build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
@@ -88,6 +100,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%define debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%define gdb_version 6.7.1
|
||||
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||
|
||||
@@ -20,11 +26,15 @@ Name: rtems-4.9-h8300-rtems4.9-gdb
|
||||
Summary: Gdb for target h8300-rtems4.9
|
||||
Group: Development/Tools
|
||||
Version: %{gdb_rpmvers}
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: GPL/LGPL
|
||||
URL: http://sources.redhat.com/gdb
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.9-%{_host}-gcc
|
||||
%endif
|
||||
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
# suse
|
||||
%if "%{?suse}"
|
||||
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
|
||||
%{?_without_sources:NoSource: 0}
|
||||
%if "%{gdb_version}" == "6.7.1"
|
||||
Patch0: gdb-6.7.1-rtems4.9-20071216.diff
|
||||
Patch0: gdb-6.7.1-rtems4.9-20080324.diff
|
||||
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -63,9 +74,11 @@ GDB for target h8300-rtems4.9
|
||||
%setup -q -D -T -n %{name}-%{version} -a0
|
||||
cd gdb-%{gdb_version}
|
||||
%{?PATCH0:%patch0 -p1}
|
||||
%{?PATCH1:%patch1 -p1}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
mkdir -p build
|
||||
cd build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
@@ -90,6 +103,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%define debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%define gdb_version 6.7.1
|
||||
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||
|
||||
@@ -20,11 +26,15 @@ Name: rtems-4.9-i386-rtems4.9-gdb
|
||||
Summary: Gdb for target i386-rtems4.9
|
||||
Group: Development/Tools
|
||||
Version: %{gdb_rpmvers}
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: GPL/LGPL
|
||||
URL: http://sources.redhat.com/gdb
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.9-%{_host}-gcc
|
||||
%endif
|
||||
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
# suse
|
||||
%if "%{?suse}"
|
||||
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
|
||||
%{?_without_sources:NoSource: 0}
|
||||
%if "%{gdb_version}" == "6.7.1"
|
||||
Patch0: gdb-6.7.1-rtems4.9-20071216.diff
|
||||
Patch0: gdb-6.7.1-rtems4.9-20080324.diff
|
||||
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -63,9 +74,11 @@ GDB for target i386-rtems4.9
|
||||
%setup -q -D -T -n %{name}-%{version} -a0
|
||||
cd gdb-%{gdb_version}
|
||||
%{?PATCH0:%patch0 -p1}
|
||||
%{?PATCH1:%patch1 -p1}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
mkdir -p build
|
||||
cd build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
@@ -90,6 +103,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%define debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%define gdb_version 6.7.1
|
||||
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||
|
||||
@@ -20,11 +26,15 @@ Name: rtems-4.9-m68k-rtems4.9-gdb
|
||||
Summary: Gdb for target m68k-rtems4.9
|
||||
Group: Development/Tools
|
||||
Version: %{gdb_rpmvers}
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: GPL/LGPL
|
||||
URL: http://sources.redhat.com/gdb
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.9-%{_host}-gcc
|
||||
%endif
|
||||
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
# suse
|
||||
%if "%{?suse}"
|
||||
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
|
||||
%{?_without_sources:NoSource: 0}
|
||||
%if "%{gdb_version}" == "6.7.1"
|
||||
Patch0: gdb-6.7.1-rtems4.9-20071216.diff
|
||||
Patch0: gdb-6.7.1-rtems4.9-20080324.diff
|
||||
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -63,9 +74,11 @@ GDB for target m68k-rtems4.9
|
||||
%setup -q -D -T -n %{name}-%{version} -a0
|
||||
cd gdb-%{gdb_version}
|
||||
%{?PATCH0:%patch0 -p1}
|
||||
%{?PATCH1:%patch1 -p1}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
mkdir -p build
|
||||
cd build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
@@ -90,6 +103,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%define debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%define gdb_version 6.7.1
|
||||
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||
|
||||
@@ -20,11 +26,15 @@ Name: rtems-4.9-mips-rtems4.9-gdb
|
||||
Summary: Gdb for target mips-rtems4.9
|
||||
Group: Development/Tools
|
||||
Version: %{gdb_rpmvers}
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: GPL/LGPL
|
||||
URL: http://sources.redhat.com/gdb
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.9-%{_host}-gcc
|
||||
%endif
|
||||
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
# suse
|
||||
%if "%{?suse}"
|
||||
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
|
||||
%{?_without_sources:NoSource: 0}
|
||||
%if "%{gdb_version}" == "6.7.1"
|
||||
Patch0: gdb-6.7.1-rtems4.9-20071216.diff
|
||||
Patch0: gdb-6.7.1-rtems4.9-20080324.diff
|
||||
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -63,9 +74,11 @@ GDB for target mips-rtems4.9
|
||||
%setup -q -D -T -n %{name}-%{version} -a0
|
||||
cd gdb-%{gdb_version}
|
||||
%{?PATCH0:%patch0 -p1}
|
||||
%{?PATCH1:%patch1 -p1}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
mkdir -p build
|
||||
cd build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
@@ -90,6 +103,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%define debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%define gdb_version 6.7.1
|
||||
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||
|
||||
@@ -20,11 +26,15 @@ Name: rtems-4.9-mipstx39-rtems4.9-gdb
|
||||
Summary: Gdb for target mipstx39-rtems4.9
|
||||
Group: Development/Tools
|
||||
Version: %{gdb_rpmvers}
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: GPL/LGPL
|
||||
URL: http://sources.redhat.com/gdb
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.9-%{_host}-gcc
|
||||
%endif
|
||||
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
# suse
|
||||
%if "%{?suse}"
|
||||
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
|
||||
%{?_without_sources:NoSource: 0}
|
||||
%if "%{gdb_version}" == "6.7.1"
|
||||
Patch0: gdb-6.7.1-rtems4.9-20071216.diff
|
||||
Patch0: gdb-6.7.1-rtems4.9-20080324.diff
|
||||
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -63,9 +74,11 @@ GDB for target mipstx39-rtems4.9
|
||||
%setup -q -D -T -n %{name}-%{version} -a0
|
||||
cd gdb-%{gdb_version}
|
||||
%{?PATCH0:%patch0 -p1}
|
||||
%{?PATCH1:%patch1 -p1}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
mkdir -p build
|
||||
cd build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
@@ -90,6 +103,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%define debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%define gdb_version 6.7.1
|
||||
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||
|
||||
@@ -20,11 +26,15 @@ Name: rtems-4.9-powerpc-rtems4.9-gdb
|
||||
Summary: Gdb for target powerpc-rtems4.9
|
||||
Group: Development/Tools
|
||||
Version: %{gdb_rpmvers}
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: GPL/LGPL
|
||||
URL: http://sources.redhat.com/gdb
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.9-%{_host}-gcc
|
||||
%endif
|
||||
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
# suse
|
||||
%if "%{?suse}"
|
||||
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
|
||||
%{?_without_sources:NoSource: 0}
|
||||
%if "%{gdb_version}" == "6.7.1"
|
||||
Patch0: gdb-6.7.1-rtems4.9-20071216.diff
|
||||
Patch0: gdb-6.7.1-rtems4.9-20080324.diff
|
||||
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -63,9 +74,11 @@ GDB for target powerpc-rtems4.9
|
||||
%setup -q -D -T -n %{name}-%{version} -a0
|
||||
cd gdb-%{gdb_version}
|
||||
%{?PATCH0:%patch0 -p1}
|
||||
%{?PATCH1:%patch1 -p1}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
mkdir -p build
|
||||
cd build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
@@ -90,6 +103,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%define debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%define gdb_version 6.7.1
|
||||
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||
|
||||
@@ -20,11 +26,15 @@ Name: rtems-4.9-sh-rtems4.9-gdb
|
||||
Summary: Gdb for target sh-rtems4.9
|
||||
Group: Development/Tools
|
||||
Version: %{gdb_rpmvers}
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: GPL/LGPL
|
||||
URL: http://sources.redhat.com/gdb
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.9-%{_host}-gcc
|
||||
%endif
|
||||
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
# suse
|
||||
%if "%{?suse}"
|
||||
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
|
||||
%{?_without_sources:NoSource: 0}
|
||||
%if "%{gdb_version}" == "6.7.1"
|
||||
Patch0: gdb-6.7.1-rtems4.9-20071216.diff
|
||||
Patch0: gdb-6.7.1-rtems4.9-20080324.diff
|
||||
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -63,9 +74,11 @@ GDB for target sh-rtems4.9
|
||||
%setup -q -D -T -n %{name}-%{version} -a0
|
||||
cd gdb-%{gdb_version}
|
||||
%{?PATCH0:%patch0 -p1}
|
||||
%{?PATCH1:%patch1 -p1}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
mkdir -p build
|
||||
cd build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
@@ -90,6 +103,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
%define _exeext %{nil}
|
||||
%endif
|
||||
|
||||
%ifos cygwin cygwin32
|
||||
%define optflags -O3 -pipe -march=i486 -funroll-loops
|
||||
%define _libdir %{_exec_prefix}/lib
|
||||
%define debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%define gdb_version 6.7.1
|
||||
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
|
||||
|
||||
@@ -20,11 +26,15 @@ Name: rtems-4.9-sparc-rtems4.9-gdb
|
||||
Summary: Gdb for target sparc-rtems4.9
|
||||
Group: Development/Tools
|
||||
Version: %{gdb_rpmvers}
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: GPL/LGPL
|
||||
URL: http://sources.redhat.com/gdb
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: rtems-4.9-%{_host}-gcc
|
||||
%endif
|
||||
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
# suse
|
||||
%if "%{?suse}"
|
||||
@@ -52,7 +62,8 @@ Requires: rtems-4.9-gdb-common
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
|
||||
%{?_without_sources:NoSource: 0}
|
||||
%if "%{gdb_version}" == "6.7.1"
|
||||
Patch0: gdb-6.7.1-rtems4.9-20071216.diff
|
||||
Patch0: gdb-6.7.1-rtems4.9-20080324.diff
|
||||
Patch1: gdb-6.7.1-gdb-6.7.90-config.diff
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -63,9 +74,11 @@ GDB for target sparc-rtems4.9
|
||||
%setup -q -D -T -n %{name}-%{version} -a0
|
||||
cd gdb-%{gdb_version}
|
||||
%{?PATCH0:%patch0 -p1}
|
||||
%{?PATCH1:%patch1 -p1}
|
||||
cd ..
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
mkdir -p build
|
||||
cd build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
@@ -90,6 +103,7 @@ cd ..
|
||||
cd ..
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
cd build
|
||||
|
||||
Reference in New Issue
Block a user