forked from pool/binutils
checked in
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=14
This commit is contained in:
parent
f2e1de61b8
commit
6bac7af5a9
@ -1,19 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 13 15:16:44 CET 2010 - matz@novell.com
|
|
||||||
|
|
||||||
- Fix removal of unwanted files (man,info,libiberty) on the
|
|
||||||
cross binutils.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- add baselibs.conf as a source
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- SPARC build support for binutils
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ Release: 1
|
|||||||
#
|
#
|
||||||
# handle test suite failures
|
# handle test suite failures
|
||||||
#
|
#
|
||||||
%ifarch alpha armv4l hppa mips sh4 %sparc
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
# XXX check again
|
||||||
@ -70,7 +70,6 @@ Summary: GNU Binutils
|
|||||||
Source: binutils-%{binutils_version}.tar.bz2
|
Source: binutils-%{binutils_version}.tar.bz2
|
||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
|
||||||
Patch2: s390-pic.patch
|
Patch2: s390-pic.patch
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
@ -163,7 +162,7 @@ AutoReqProv: on
|
|||||||
Requires: binutils = %{version}-%{release}
|
Requires: binutils = %{version}-%{release}
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
%if 0%{suse_version} > 1100
|
%if 0%{suse_version} > 1100
|
||||||
%define gold_archs %ix86 x86_64 ppc ppc64 %sparc
|
%define gold_archs %ix86 x86_64 ppc ppc64 sparc sparc64
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description gold
|
%description gold
|
||||||
@ -273,7 +272,7 @@ Authors:
|
|||||||
%if "%{name}" != "binutils"
|
%if "%{name}" != "binutils"
|
||||||
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
||||||
%endif
|
%endif
|
||||||
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux
|
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux
|
||||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -418,7 +417,7 @@ TARGET_OS=%{TARGET}-linux
|
|||||||
%if "%{TARGET}" == "spu"
|
%if "%{TARGET}" == "spu"
|
||||||
--with-sysroot=/usr/spu \
|
--with-sysroot=/usr/spu \
|
||||||
%else
|
%else
|
||||||
--with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
|
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||||
%endif
|
%endif
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
||||||
@ -491,9 +490,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
||||||
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
||||||
%endif
|
%endif
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/man
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
||||||
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||||
> ../binutils.lang
|
> ../binutils.lang
|
||||||
|
@ -1,19 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 13 15:16:44 CET 2010 - matz@novell.com
|
|
||||||
|
|
||||||
- Fix removal of unwanted files (man,info,libiberty) on the
|
|
||||||
cross binutils.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- add baselibs.conf as a source
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- SPARC build support for binutils
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-alpha-binutils (Version 2.20.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -35,7 +35,7 @@ Release: 1
|
|||||||
#
|
#
|
||||||
# handle test suite failures
|
# handle test suite failures
|
||||||
#
|
#
|
||||||
%ifarch alpha armv4l hppa mips sh4 %sparc
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
# XXX check again
|
||||||
@ -70,7 +70,6 @@ Summary: GNU Binutils
|
|||||||
Source: binutils-%{binutils_version}.tar.bz2
|
Source: binutils-%{binutils_version}.tar.bz2
|
||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
|
||||||
Patch2: s390-pic.patch
|
Patch2: s390-pic.patch
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
@ -245,7 +244,7 @@ Authors:
|
|||||||
%if "%{name}" != "binutils"
|
%if "%{name}" != "binutils"
|
||||||
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
||||||
%endif
|
%endif
|
||||||
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux
|
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux
|
||||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -379,7 +378,7 @@ TARGET_OS=%{TARGET}-linux
|
|||||||
%if "%{TARGET}" == "spu"
|
%if "%{TARGET}" == "spu"
|
||||||
--with-sysroot=/usr/spu \
|
--with-sysroot=/usr/spu \
|
||||||
%else
|
%else
|
||||||
--with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
|
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||||
%endif
|
%endif
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
||||||
@ -444,9 +443,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
||||||
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
||||||
%endif
|
%endif
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/man
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
||||||
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||||
> ../binutils.lang
|
> ../binutils.lang
|
||||||
|
@ -1,19 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 13 15:16:44 CET 2010 - matz@novell.com
|
|
||||||
|
|
||||||
- Fix removal of unwanted files (man,info,libiberty) on the
|
|
||||||
cross binutils.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- add baselibs.conf as a source
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- SPARC build support for binutils
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-arm-binutils (Version 2.20.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -35,7 +35,7 @@ Release: 1
|
|||||||
#
|
#
|
||||||
# handle test suite failures
|
# handle test suite failures
|
||||||
#
|
#
|
||||||
%ifarch alpha armv4l hppa mips sh4 %sparc
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
# XXX check again
|
||||||
@ -70,7 +70,6 @@ Summary: GNU Binutils
|
|||||||
Source: binutils-%{binutils_version}.tar.bz2
|
Source: binutils-%{binutils_version}.tar.bz2
|
||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
|
||||||
Patch2: s390-pic.patch
|
Patch2: s390-pic.patch
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
@ -245,7 +244,7 @@ Authors:
|
|||||||
%if "%{name}" != "binutils"
|
%if "%{name}" != "binutils"
|
||||||
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
||||||
%endif
|
%endif
|
||||||
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux
|
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux
|
||||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -379,7 +378,7 @@ TARGET_OS=%{TARGET}-linux
|
|||||||
%if "%{TARGET}" == "spu"
|
%if "%{TARGET}" == "spu"
|
||||||
--with-sysroot=/usr/spu \
|
--with-sysroot=/usr/spu \
|
||||||
%else
|
%else
|
||||||
--with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
|
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||||
%endif
|
%endif
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
||||||
@ -444,9 +443,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
||||||
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
||||||
%endif
|
%endif
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/man
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
||||||
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||||
> ../binutils.lang
|
> ../binutils.lang
|
||||||
|
@ -1,19 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 13 15:16:44 CET 2010 - matz@novell.com
|
|
||||||
|
|
||||||
- Fix removal of unwanted files (man,info,libiberty) on the
|
|
||||||
cross binutils.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- add baselibs.conf as a source
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- SPARC build support for binutils
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-avr-binutils (Version 2.20.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -35,7 +35,7 @@ Release: 1
|
|||||||
#
|
#
|
||||||
# handle test suite failures
|
# handle test suite failures
|
||||||
#
|
#
|
||||||
%ifarch alpha armv4l hppa mips sh4 %sparc
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
# XXX check again
|
||||||
@ -70,7 +70,6 @@ Summary: GNU Binutils
|
|||||||
Source: binutils-%{binutils_version}.tar.bz2
|
Source: binutils-%{binutils_version}.tar.bz2
|
||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
|
||||||
Patch2: s390-pic.patch
|
Patch2: s390-pic.patch
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
@ -245,7 +244,7 @@ Authors:
|
|||||||
%if "%{name}" != "binutils"
|
%if "%{name}" != "binutils"
|
||||||
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
||||||
%endif
|
%endif
|
||||||
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux
|
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux
|
||||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -379,7 +378,7 @@ TARGET_OS=%{TARGET}-linux
|
|||||||
%if "%{TARGET}" == "spu"
|
%if "%{TARGET}" == "spu"
|
||||||
--with-sysroot=/usr/spu \
|
--with-sysroot=/usr/spu \
|
||||||
%else
|
%else
|
||||||
--with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
|
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||||
%endif
|
%endif
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
||||||
@ -444,9 +443,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
||||||
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
||||||
%endif
|
%endif
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/man
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
||||||
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||||
> ../binutils.lang
|
> ../binutils.lang
|
||||||
|
@ -1,19 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 13 15:16:44 CET 2010 - matz@novell.com
|
|
||||||
|
|
||||||
- Fix removal of unwanted files (man,info,libiberty) on the
|
|
||||||
cross binutils.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- add baselibs.conf as a source
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- SPARC build support for binutils
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-hppa-binutils (Version 2.20.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -35,7 +35,7 @@ Release: 1
|
|||||||
#
|
#
|
||||||
# handle test suite failures
|
# handle test suite failures
|
||||||
#
|
#
|
||||||
%ifarch alpha armv4l hppa mips sh4 %sparc
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
# XXX check again
|
||||||
@ -70,7 +70,6 @@ Summary: GNU Binutils
|
|||||||
Source: binutils-%{binutils_version}.tar.bz2
|
Source: binutils-%{binutils_version}.tar.bz2
|
||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
|
||||||
Patch2: s390-pic.patch
|
Patch2: s390-pic.patch
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
@ -245,7 +244,7 @@ Authors:
|
|||||||
%if "%{name}" != "binutils"
|
%if "%{name}" != "binutils"
|
||||||
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
||||||
%endif
|
%endif
|
||||||
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux
|
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux
|
||||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -379,7 +378,7 @@ TARGET_OS=%{TARGET}-linux
|
|||||||
%if "%{TARGET}" == "spu"
|
%if "%{TARGET}" == "spu"
|
||||||
--with-sysroot=/usr/spu \
|
--with-sysroot=/usr/spu \
|
||||||
%else
|
%else
|
||||||
--with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
|
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||||
%endif
|
%endif
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
||||||
@ -444,9 +443,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
||||||
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
||||||
%endif
|
%endif
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/man
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
||||||
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||||
> ../binutils.lang
|
> ../binutils.lang
|
||||||
|
@ -1,19 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 13 15:16:44 CET 2010 - matz@novell.com
|
|
||||||
|
|
||||||
- Fix removal of unwanted files (man,info,libiberty) on the
|
|
||||||
cross binutils.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- add baselibs.conf as a source
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- SPARC build support for binutils
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-hppa64-binutils (Version 2.20.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -35,7 +35,7 @@ Release: 1
|
|||||||
#
|
#
|
||||||
# handle test suite failures
|
# handle test suite failures
|
||||||
#
|
#
|
||||||
%ifarch alpha armv4l hppa mips sh4 %sparc
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
# XXX check again
|
||||||
@ -70,7 +70,6 @@ Summary: GNU Binutils
|
|||||||
Source: binutils-%{binutils_version}.tar.bz2
|
Source: binutils-%{binutils_version}.tar.bz2
|
||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
|
||||||
Patch2: s390-pic.patch
|
Patch2: s390-pic.patch
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
@ -245,7 +244,7 @@ Authors:
|
|||||||
%if "%{name}" != "binutils"
|
%if "%{name}" != "binutils"
|
||||||
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
||||||
%endif
|
%endif
|
||||||
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux
|
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux
|
||||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -379,7 +378,7 @@ TARGET_OS=%{TARGET}-linux
|
|||||||
%if "%{TARGET}" == "spu"
|
%if "%{TARGET}" == "spu"
|
||||||
--with-sysroot=/usr/spu \
|
--with-sysroot=/usr/spu \
|
||||||
%else
|
%else
|
||||||
--with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
|
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||||
%endif
|
%endif
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
||||||
@ -444,9 +443,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
||||||
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
||||||
%endif
|
%endif
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/man
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
||||||
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||||
> ../binutils.lang
|
> ../binutils.lang
|
||||||
|
@ -1,19 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 13 15:16:44 CET 2010 - matz@novell.com
|
|
||||||
|
|
||||||
- Fix removal of unwanted files (man,info,libiberty) on the
|
|
||||||
cross binutils.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- add baselibs.conf as a source
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- SPARC build support for binutils
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-i386-binutils (Version 2.20.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -35,7 +35,7 @@ Release: 1
|
|||||||
#
|
#
|
||||||
# handle test suite failures
|
# handle test suite failures
|
||||||
#
|
#
|
||||||
%ifarch alpha armv4l hppa mips sh4 %sparc
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
# XXX check again
|
||||||
@ -70,7 +70,6 @@ Summary: GNU Binutils
|
|||||||
Source: binutils-%{binutils_version}.tar.bz2
|
Source: binutils-%{binutils_version}.tar.bz2
|
||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
|
||||||
Patch2: s390-pic.patch
|
Patch2: s390-pic.patch
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
@ -245,7 +244,7 @@ Authors:
|
|||||||
%if "%{name}" != "binutils"
|
%if "%{name}" != "binutils"
|
||||||
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
||||||
%endif
|
%endif
|
||||||
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux
|
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux
|
||||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -379,7 +378,7 @@ TARGET_OS=%{TARGET}-linux
|
|||||||
%if "%{TARGET}" == "spu"
|
%if "%{TARGET}" == "spu"
|
||||||
--with-sysroot=/usr/spu \
|
--with-sysroot=/usr/spu \
|
||||||
%else
|
%else
|
||||||
--with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
|
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||||
%endif
|
%endif
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
||||||
@ -444,9 +443,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
||||||
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
||||||
%endif
|
%endif
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/man
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
||||||
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||||
> ../binutils.lang
|
> ../binutils.lang
|
||||||
|
@ -1,19 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 13 15:16:44 CET 2010 - matz@novell.com
|
|
||||||
|
|
||||||
- Fix removal of unwanted files (man,info,libiberty) on the
|
|
||||||
cross binutils.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- add baselibs.conf as a source
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- SPARC build support for binutils
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-ia64-binutils (Version 2.20.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -35,7 +35,7 @@ Release: 1
|
|||||||
#
|
#
|
||||||
# handle test suite failures
|
# handle test suite failures
|
||||||
#
|
#
|
||||||
%ifarch alpha armv4l hppa mips sh4 %sparc
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
# XXX check again
|
||||||
@ -70,7 +70,6 @@ Summary: GNU Binutils
|
|||||||
Source: binutils-%{binutils_version}.tar.bz2
|
Source: binutils-%{binutils_version}.tar.bz2
|
||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
|
||||||
Patch2: s390-pic.patch
|
Patch2: s390-pic.patch
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
@ -245,7 +244,7 @@ Authors:
|
|||||||
%if "%{name}" != "binutils"
|
%if "%{name}" != "binutils"
|
||||||
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
||||||
%endif
|
%endif
|
||||||
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux
|
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux
|
||||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -379,7 +378,7 @@ TARGET_OS=%{TARGET}-linux
|
|||||||
%if "%{TARGET}" == "spu"
|
%if "%{TARGET}" == "spu"
|
||||||
--with-sysroot=/usr/spu \
|
--with-sysroot=/usr/spu \
|
||||||
%else
|
%else
|
||||||
--with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
|
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||||
%endif
|
%endif
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
||||||
@ -444,9 +443,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
||||||
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
||||||
%endif
|
%endif
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/man
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
||||||
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||||
> ../binutils.lang
|
> ../binutils.lang
|
||||||
|
@ -1,19 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 13 15:16:44 CET 2010 - matz@novell.com
|
|
||||||
|
|
||||||
- Fix removal of unwanted files (man,info,libiberty) on the
|
|
||||||
cross binutils.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- add baselibs.conf as a source
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- SPARC build support for binutils
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-mips-binutils (Version 2.20.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -35,7 +35,7 @@ Release: 1
|
|||||||
#
|
#
|
||||||
# handle test suite failures
|
# handle test suite failures
|
||||||
#
|
#
|
||||||
%ifarch alpha armv4l hppa mips sh4 %sparc
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
# XXX check again
|
||||||
@ -70,7 +70,6 @@ Summary: GNU Binutils
|
|||||||
Source: binutils-%{binutils_version}.tar.bz2
|
Source: binutils-%{binutils_version}.tar.bz2
|
||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
|
||||||
Patch2: s390-pic.patch
|
Patch2: s390-pic.patch
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
@ -245,7 +244,7 @@ Authors:
|
|||||||
%if "%{name}" != "binutils"
|
%if "%{name}" != "binutils"
|
||||||
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
||||||
%endif
|
%endif
|
||||||
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux
|
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux
|
||||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -379,7 +378,7 @@ TARGET_OS=%{TARGET}-linux
|
|||||||
%if "%{TARGET}" == "spu"
|
%if "%{TARGET}" == "spu"
|
||||||
--with-sysroot=/usr/spu \
|
--with-sysroot=/usr/spu \
|
||||||
%else
|
%else
|
||||||
--with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
|
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||||
%endif
|
%endif
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
||||||
@ -444,9 +443,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
||||||
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
||||||
%endif
|
%endif
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/man
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
||||||
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||||
> ../binutils.lang
|
> ../binutils.lang
|
||||||
|
@ -1,19 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 13 15:16:44 CET 2010 - matz@novell.com
|
|
||||||
|
|
||||||
- Fix removal of unwanted files (man,info,libiberty) on the
|
|
||||||
cross binutils.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- add baselibs.conf as a source
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- SPARC build support for binutils
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-ppc-binutils (Version 2.20.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -35,7 +35,7 @@ Release: 1
|
|||||||
#
|
#
|
||||||
# handle test suite failures
|
# handle test suite failures
|
||||||
#
|
#
|
||||||
%ifarch alpha armv4l hppa mips sh4 %sparc
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
# XXX check again
|
||||||
@ -70,7 +70,6 @@ Summary: GNU Binutils
|
|||||||
Source: binutils-%{binutils_version}.tar.bz2
|
Source: binutils-%{binutils_version}.tar.bz2
|
||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
|
||||||
Patch2: s390-pic.patch
|
Patch2: s390-pic.patch
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
@ -245,7 +244,7 @@ Authors:
|
|||||||
%if "%{name}" != "binutils"
|
%if "%{name}" != "binutils"
|
||||||
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
||||||
%endif
|
%endif
|
||||||
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux
|
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux
|
||||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -379,7 +378,7 @@ TARGET_OS=%{TARGET}-linux
|
|||||||
%if "%{TARGET}" == "spu"
|
%if "%{TARGET}" == "spu"
|
||||||
--with-sysroot=/usr/spu \
|
--with-sysroot=/usr/spu \
|
||||||
%else
|
%else
|
||||||
--with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
|
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||||
%endif
|
%endif
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
||||||
@ -444,9 +443,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
||||||
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
||||||
%endif
|
%endif
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/man
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
||||||
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||||
> ../binutils.lang
|
> ../binutils.lang
|
||||||
|
@ -1,19 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 13 15:16:44 CET 2010 - matz@novell.com
|
|
||||||
|
|
||||||
- Fix removal of unwanted files (man,info,libiberty) on the
|
|
||||||
cross binutils.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- add baselibs.conf as a source
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- SPARC build support for binutils
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-ppc64-binutils (Version 2.20.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -35,7 +35,7 @@ Release: 1
|
|||||||
#
|
#
|
||||||
# handle test suite failures
|
# handle test suite failures
|
||||||
#
|
#
|
||||||
%ifarch alpha armv4l hppa mips sh4 %sparc
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
# XXX check again
|
||||||
@ -70,7 +70,6 @@ Summary: GNU Binutils
|
|||||||
Source: binutils-%{binutils_version}.tar.bz2
|
Source: binutils-%{binutils_version}.tar.bz2
|
||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
|
||||||
Patch2: s390-pic.patch
|
Patch2: s390-pic.patch
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
@ -245,7 +244,7 @@ Authors:
|
|||||||
%if "%{name}" != "binutils"
|
%if "%{name}" != "binutils"
|
||||||
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
||||||
%endif
|
%endif
|
||||||
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux
|
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux
|
||||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -379,7 +378,7 @@ TARGET_OS=%{TARGET}-linux
|
|||||||
%if "%{TARGET}" == "spu"
|
%if "%{TARGET}" == "spu"
|
||||||
--with-sysroot=/usr/spu \
|
--with-sysroot=/usr/spu \
|
||||||
%else
|
%else
|
||||||
--with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
|
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||||
%endif
|
%endif
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
||||||
@ -444,9 +443,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
||||||
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
||||||
%endif
|
%endif
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/man
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
||||||
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||||
> ../binutils.lang
|
> ../binutils.lang
|
||||||
|
@ -1,19 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 13 15:16:44 CET 2010 - matz@novell.com
|
|
||||||
|
|
||||||
- Fix removal of unwanted files (man,info,libiberty) on the
|
|
||||||
cross binutils.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- add baselibs.conf as a source
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- SPARC build support for binutils
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-s390-binutils (Version 2.20.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -35,7 +35,7 @@ Release: 1
|
|||||||
#
|
#
|
||||||
# handle test suite failures
|
# handle test suite failures
|
||||||
#
|
#
|
||||||
%ifarch alpha armv4l hppa mips sh4 %sparc
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
# XXX check again
|
||||||
@ -70,7 +70,6 @@ Summary: GNU Binutils
|
|||||||
Source: binutils-%{binutils_version}.tar.bz2
|
Source: binutils-%{binutils_version}.tar.bz2
|
||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
|
||||||
Patch2: s390-pic.patch
|
Patch2: s390-pic.patch
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
@ -245,7 +244,7 @@ Authors:
|
|||||||
%if "%{name}" != "binutils"
|
%if "%{name}" != "binutils"
|
||||||
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
||||||
%endif
|
%endif
|
||||||
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux
|
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux
|
||||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -379,7 +378,7 @@ TARGET_OS=%{TARGET}-linux
|
|||||||
%if "%{TARGET}" == "spu"
|
%if "%{TARGET}" == "spu"
|
||||||
--with-sysroot=/usr/spu \
|
--with-sysroot=/usr/spu \
|
||||||
%else
|
%else
|
||||||
--with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
|
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||||
%endif
|
%endif
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
||||||
@ -444,9 +443,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
||||||
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
||||||
%endif
|
%endif
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/man
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
||||||
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||||
> ../binutils.lang
|
> ../binutils.lang
|
||||||
|
@ -1,19 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 13 15:16:44 CET 2010 - matz@novell.com
|
|
||||||
|
|
||||||
- Fix removal of unwanted files (man,info,libiberty) on the
|
|
||||||
cross binutils.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- add baselibs.conf as a source
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- SPARC build support for binutils
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-s390x-binutils (Version 2.20.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -35,7 +35,7 @@ Release: 1
|
|||||||
#
|
#
|
||||||
# handle test suite failures
|
# handle test suite failures
|
||||||
#
|
#
|
||||||
%ifarch alpha armv4l hppa mips sh4 %sparc
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
# XXX check again
|
||||||
@ -70,7 +70,6 @@ Summary: GNU Binutils
|
|||||||
Source: binutils-%{binutils_version}.tar.bz2
|
Source: binutils-%{binutils_version}.tar.bz2
|
||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
|
||||||
Patch2: s390-pic.patch
|
Patch2: s390-pic.patch
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
@ -245,7 +244,7 @@ Authors:
|
|||||||
%if "%{name}" != "binutils"
|
%if "%{name}" != "binutils"
|
||||||
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
||||||
%endif
|
%endif
|
||||||
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux
|
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux
|
||||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -379,7 +378,7 @@ TARGET_OS=%{TARGET}-linux
|
|||||||
%if "%{TARGET}" == "spu"
|
%if "%{TARGET}" == "spu"
|
||||||
--with-sysroot=/usr/spu \
|
--with-sysroot=/usr/spu \
|
||||||
%else
|
%else
|
||||||
--with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
|
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||||
%endif
|
%endif
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
||||||
@ -444,9 +443,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
||||||
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
||||||
%endif
|
%endif
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/man
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
||||||
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||||
> ../binutils.lang
|
> ../binutils.lang
|
||||||
|
@ -1,19 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 13 15:16:44 CET 2010 - matz@novell.com
|
|
||||||
|
|
||||||
- Fix removal of unwanted files (man,info,libiberty) on the
|
|
||||||
cross binutils.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- add baselibs.conf as a source
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- SPARC build support for binutils
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-sh4-binutils (Version 2.20.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -35,7 +35,7 @@ Release: 1
|
|||||||
#
|
#
|
||||||
# handle test suite failures
|
# handle test suite failures
|
||||||
#
|
#
|
||||||
%ifarch alpha armv4l hppa mips sh4 %sparc
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
# XXX check again
|
||||||
@ -70,7 +70,6 @@ Summary: GNU Binutils
|
|||||||
Source: binutils-%{binutils_version}.tar.bz2
|
Source: binutils-%{binutils_version}.tar.bz2
|
||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
|
||||||
Patch2: s390-pic.patch
|
Patch2: s390-pic.patch
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
@ -245,7 +244,7 @@ Authors:
|
|||||||
%if "%{name}" != "binutils"
|
%if "%{name}" != "binutils"
|
||||||
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
||||||
%endif
|
%endif
|
||||||
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux
|
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux
|
||||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -379,7 +378,7 @@ TARGET_OS=%{TARGET}-linux
|
|||||||
%if "%{TARGET}" == "spu"
|
%if "%{TARGET}" == "spu"
|
||||||
--with-sysroot=/usr/spu \
|
--with-sysroot=/usr/spu \
|
||||||
%else
|
%else
|
||||||
--with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
|
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||||
%endif
|
%endif
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
||||||
@ -444,9 +443,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
||||||
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
||||||
%endif
|
%endif
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/man
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
||||||
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||||
> ../binutils.lang
|
> ../binutils.lang
|
||||||
|
@ -1,19 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 13 15:16:44 CET 2010 - matz@novell.com
|
|
||||||
|
|
||||||
- Fix removal of unwanted files (man,info,libiberty) on the
|
|
||||||
cross binutils.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- add baselibs.conf as a source
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- SPARC build support for binutils
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-sparc-binutils (Version 2.20.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -35,7 +35,7 @@ Release: 1
|
|||||||
#
|
#
|
||||||
# handle test suite failures
|
# handle test suite failures
|
||||||
#
|
#
|
||||||
%ifarch alpha armv4l hppa mips sh4 %sparc
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
# XXX check again
|
||||||
@ -70,7 +70,6 @@ Summary: GNU Binutils
|
|||||||
Source: binutils-%{binutils_version}.tar.bz2
|
Source: binutils-%{binutils_version}.tar.bz2
|
||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
|
||||||
Patch2: s390-pic.patch
|
Patch2: s390-pic.patch
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
@ -245,7 +244,7 @@ Authors:
|
|||||||
%if "%{name}" != "binutils"
|
%if "%{name}" != "binutils"
|
||||||
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
||||||
%endif
|
%endif
|
||||||
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux
|
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux
|
||||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -379,7 +378,7 @@ TARGET_OS=%{TARGET}-linux
|
|||||||
%if "%{TARGET}" == "spu"
|
%if "%{TARGET}" == "spu"
|
||||||
--with-sysroot=/usr/spu \
|
--with-sysroot=/usr/spu \
|
||||||
%else
|
%else
|
||||||
--with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
|
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||||
%endif
|
%endif
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
||||||
@ -444,9 +443,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
||||||
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
||||||
%endif
|
%endif
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/man
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
||||||
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||||
> ../binutils.lang
|
> ../binutils.lang
|
||||||
|
@ -1,19 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 13 15:16:44 CET 2010 - matz@novell.com
|
|
||||||
|
|
||||||
- Fix removal of unwanted files (man,info,libiberty) on the
|
|
||||||
cross binutils.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- add baselibs.conf as a source
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- SPARC build support for binutils
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-spu-binutils (Version 2.20.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -35,7 +35,7 @@ Release: 1
|
|||||||
#
|
#
|
||||||
# handle test suite failures
|
# handle test suite failures
|
||||||
#
|
#
|
||||||
%ifarch alpha armv4l hppa mips sh4 %sparc
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
# XXX check again
|
||||||
@ -70,7 +70,6 @@ Summary: GNU Binutils
|
|||||||
Source: binutils-%{binutils_version}.tar.bz2
|
Source: binutils-%{binutils_version}.tar.bz2
|
||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
|
||||||
Patch2: s390-pic.patch
|
Patch2: s390-pic.patch
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
@ -245,7 +244,7 @@ Authors:
|
|||||||
%if "%{name}" != "binutils"
|
%if "%{name}" != "binutils"
|
||||||
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
||||||
%endif
|
%endif
|
||||||
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux
|
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux
|
||||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -379,7 +378,7 @@ TARGET_OS=%{TARGET}-linux
|
|||||||
%if "%{TARGET}" == "spu"
|
%if "%{TARGET}" == "spu"
|
||||||
--with-sysroot=/usr/spu \
|
--with-sysroot=/usr/spu \
|
||||||
%else
|
%else
|
||||||
--with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
|
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||||
%endif
|
%endif
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
||||||
@ -444,9 +443,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
||||||
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
||||||
%endif
|
%endif
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/man
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
||||||
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||||
> ../binutils.lang
|
> ../binutils.lang
|
||||||
|
@ -1,19 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 13 15:16:44 CET 2010 - matz@novell.com
|
|
||||||
|
|
||||||
- Fix removal of unwanted files (man,info,libiberty) on the
|
|
||||||
cross binutils.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- add baselibs.conf as a source
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de
|
|
||||||
|
|
||||||
- SPARC build support for binutils
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
Wed Nov 4 15:44:30 CET 2009 - matz@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package binutils (Version 2.20.0)
|
# spec file for package cross-x86_64-binutils (Version 2.20.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -35,7 +35,7 @@ Release: 1
|
|||||||
#
|
#
|
||||||
# handle test suite failures
|
# handle test suite failures
|
||||||
#
|
#
|
||||||
%ifarch alpha armv4l hppa mips sh4 %sparc
|
%ifarch alpha armv4l hppa mips sh4 sparc sparc64
|
||||||
%define make_check_handling true
|
%define make_check_handling true
|
||||||
%else
|
%else
|
||||||
# XXX check again
|
# XXX check again
|
||||||
@ -70,7 +70,6 @@ Summary: GNU Binutils
|
|||||||
Source: binutils-%{binutils_version}.tar.bz2
|
Source: binutils-%{binutils_version}.tar.bz2
|
||||||
Source1: pre_checkin.sh
|
Source1: pre_checkin.sh
|
||||||
Source2: README.First-for.SuSE.packagers
|
Source2: README.First-for.SuSE.packagers
|
||||||
Source3: baselibs.conf
|
|
||||||
Patch2: s390-pic.patch
|
Patch2: s390-pic.patch
|
||||||
Patch3: binutils-skip-rpaths.patch
|
Patch3: binutils-skip-rpaths.patch
|
||||||
Patch4: s390-biarch.diff
|
Patch4: s390-biarch.diff
|
||||||
@ -245,7 +244,7 @@ Authors:
|
|||||||
%if "%{name}" != "binutils"
|
%if "%{name}" != "binutils"
|
||||||
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
|
||||||
%endif
|
%endif
|
||||||
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux
|
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux
|
||||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -379,7 +378,7 @@ TARGET_OS=%{TARGET}-linux
|
|||||||
%if "%{TARGET}" == "spu"
|
%if "%{TARGET}" == "spu"
|
||||||
--with-sysroot=/usr/spu \
|
--with-sysroot=/usr/spu \
|
||||||
%else
|
%else
|
||||||
--with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
|
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||||
%endif
|
%endif
|
||||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||||
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers
|
||||||
@ -444,9 +443,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
|
||||||
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
|
||||||
%endif
|
%endif
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/man
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
|
||||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
|
||||||
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||||
> ../binutils.lang
|
> ../binutils.lang
|
||||||
|
Loading…
Reference in New Issue
Block a user