Changeset fd410cd in rtems


Ignore:
Timestamp:
Jul 24, 2009, 9:40:26 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.8
Children:
10d5360
Parents:
5589d26f
Message:

Regenerate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/rtems4.8/bfin/rtems-4.8-bfin-rtems4.8-gdb.spec

    r5589d26f rfd410cd  
    5353Group:          Development/Tools
    5454Version:        %{gdb_rpmvers}
    55 Release:        6%{?dist}
     55Release:        8%{?dist}
    5656License:        GPL/LGPL
    5757URL:            http://sources.redhat.com/gdb
     
    6060BuildRequires:  %{_host_rpmprefix}gcc
    6161
     62%define build_sim --enable-sim
     63%if "%{_build}" != "%{_host}"
     64# psim doesn't support Cdn-X
     65%if "bfin-rtems4.8" == "powerpc-rtems4.8"
     66%define build_sim --disable-sim
     67%endif
     68%endif
     69
     70%ifos mingw mingw32
     71# Mingw lacks functions required by the simulator
     72%if "bfin-rtems4.8" == "sparc-rtems4.8"
     73%define build_sim --disable-sim
     74%endif
     75%if "bfin-rtems4.8" == "h8300-rtems4.8"
     76%define build_sim --disable-sim
     77%endif
     78%if "%{gdb_version}" >= "6.8.50"
     79%if "bfin-rtems4.8" == "m32c-rtems4.8"
     80%define build_sim --disable-sim
     81%endif
     82%endif
     83%if "bfin-rtems4.8" == "lm32-rtems4.8"
     84%define build_sim --disable-sim
     85%endif
     86%if "bfin-rtems4.8" == "mipstx39-rtems4.8"
     87%define build_sim --disable-sim
     88%endif
     89%endif
     90
    6291%if "%{gdb_version}" >= "6.6"
    6392# suse
    64 %if "%{?suse}"
    6593%if "%{?suse}" >= "10.3"
    6694BuildRequires: libexpat-devel
    6795%else
    68 BuildRequires: expat
    69 %endif
    70 %else
    71 # fedora/redhat/cygwin
     96# Fedora/CentOS/Cygwin/MinGW
    7297BuildRequires: %{_host_rpmprefix}expat-devel
    7398%endif
     
    91116Source0:        ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
    92117%{?_without_sources:NoSource:   0}
    93 Patch0:         gdb-6.5-bfinrtems-20071114.diff
     118Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.8/gdb-6.5-bfinrtems-20090122.diff
    94119
    95120%description
     
    122147    --disable-win32-registry \
    123148    --disable-werror \
    124     --enable-sim \
     149    %{build_sim} \
    125150%if "%{gdb_version}" >= "6.7"
    126151    --with-system-readline \
     
    128153%if "%{gdb_version}" >= "6.6"
    129154    --with-expat \
     155%endif
     156%if "%{gdb_version}" >= "6.8.50"
     157    --without-python \
    130158%endif
    131159    --prefix=%{_prefix} --bindir=%{_bindir} \
Note: See TracChangeset for help on using the changeset viewer.