forked from pool/binutils
Accepting request 124950 from home:coolo:branches:openSUSE:Factory
- exclude our target arch for cross compiling - this is just not cross OBS-URL: https://build.opensuse.org/request/show/124950 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=92
This commit is contained in:
parent
a92c0aa65f
commit
f58f60c9a3
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 11:53:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
- exclude our target arch for cross compiling - this is just not cross
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 11:28:41 UTC 2012 - rguenther@suse.com
|
||||
|
||||
|
@ -98,6 +98,10 @@ Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: avr-binutils-relocs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
ExcludeArch: %{TARGET}
|
||||
%endif
|
||||
|
||||
%description
|
||||
C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
|
||||
size, strings, and strip. These utilities are needed whenever you want
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 11:53:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
- exclude our target arch for cross compiling - this is just not cross
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 11:28:41 UTC 2012 - rguenther@suse.com
|
||||
|
||||
|
@ -116,6 +116,10 @@ Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: avr-binutils-relocs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
ExcludeArch: alpha
|
||||
%endif
|
||||
|
||||
%description
|
||||
C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
|
||||
size, strings, and strip. These utilities are needed whenever you want
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 11:53:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
- exclude our target arch for cross compiling - this is just not cross
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 11:28:41 UTC 2012 - rguenther@suse.com
|
||||
|
||||
|
@ -116,6 +116,10 @@ Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: avr-binutils-relocs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
ExcludeArch: arm
|
||||
%endif
|
||||
|
||||
%description
|
||||
C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
|
||||
size, strings, and strip. These utilities are needed whenever you want
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 11:53:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
- exclude our target arch for cross compiling - this is just not cross
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 11:28:41 UTC 2012 - rguenther@suse.com
|
||||
|
||||
|
@ -116,6 +116,10 @@ Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: avr-binutils-relocs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
ExcludeArch: avr
|
||||
%endif
|
||||
|
||||
%description
|
||||
C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
|
||||
size, strings, and strip. These utilities are needed whenever you want
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 11:53:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
- exclude our target arch for cross compiling - this is just not cross
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 11:28:41 UTC 2012 - rguenther@suse.com
|
||||
|
||||
|
@ -116,6 +116,10 @@ Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: avr-binutils-relocs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
ExcludeArch: hppa
|
||||
%endif
|
||||
|
||||
%description
|
||||
C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
|
||||
size, strings, and strip. These utilities are needed whenever you want
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 11:53:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
- exclude our target arch for cross compiling - this is just not cross
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 11:28:41 UTC 2012 - rguenther@suse.com
|
||||
|
||||
|
@ -116,6 +116,10 @@ Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: avr-binutils-relocs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
ExcludeArch: hppa64
|
||||
%endif
|
||||
|
||||
%description
|
||||
C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
|
||||
size, strings, and strip. These utilities are needed whenever you want
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 11:53:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
- exclude our target arch for cross compiling - this is just not cross
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 11:28:41 UTC 2012 - rguenther@suse.com
|
||||
|
||||
|
@ -116,6 +116,10 @@ Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: avr-binutils-relocs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
ExcludeArch: i586
|
||||
%endif
|
||||
|
||||
%description
|
||||
C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
|
||||
size, strings, and strip. These utilities are needed whenever you want
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 11:53:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
- exclude our target arch for cross compiling - this is just not cross
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 11:28:41 UTC 2012 - rguenther@suse.com
|
||||
|
||||
|
@ -116,6 +116,10 @@ Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: avr-binutils-relocs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
ExcludeArch: ia64
|
||||
%endif
|
||||
|
||||
%description
|
||||
C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
|
||||
size, strings, and strip. These utilities are needed whenever you want
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 11:53:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
- exclude our target arch for cross compiling - this is just not cross
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 11:28:41 UTC 2012 - rguenther@suse.com
|
||||
|
||||
|
@ -116,6 +116,10 @@ Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: avr-binutils-relocs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
ExcludeArch: mips
|
||||
%endif
|
||||
|
||||
%description
|
||||
C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
|
||||
size, strings, and strip. These utilities are needed whenever you want
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 11:53:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
- exclude our target arch for cross compiling - this is just not cross
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 11:28:41 UTC 2012 - rguenther@suse.com
|
||||
|
||||
|
@ -116,6 +116,10 @@ Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: avr-binutils-relocs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
ExcludeArch: powerpc
|
||||
%endif
|
||||
|
||||
%description
|
||||
C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
|
||||
size, strings, and strip. These utilities are needed whenever you want
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 11:53:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
- exclude our target arch for cross compiling - this is just not cross
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 11:28:41 UTC 2012 - rguenther@suse.com
|
||||
|
||||
|
@ -116,6 +116,10 @@ Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: avr-binutils-relocs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
ExcludeArch: powerpc64
|
||||
%endif
|
||||
|
||||
%description
|
||||
C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
|
||||
size, strings, and strip. These utilities are needed whenever you want
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 11:53:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
- exclude our target arch for cross compiling - this is just not cross
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 11:28:41 UTC 2012 - rguenther@suse.com
|
||||
|
||||
|
@ -116,6 +116,10 @@ Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: avr-binutils-relocs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
ExcludeArch: s390
|
||||
%endif
|
||||
|
||||
%description
|
||||
C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
|
||||
size, strings, and strip. These utilities are needed whenever you want
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 11:53:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
- exclude our target arch for cross compiling - this is just not cross
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 11:28:41 UTC 2012 - rguenther@suse.com
|
||||
|
||||
|
@ -116,6 +116,10 @@ Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: avr-binutils-relocs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
ExcludeArch: s390x
|
||||
%endif
|
||||
|
||||
%description
|
||||
C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
|
||||
size, strings, and strip. These utilities are needed whenever you want
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 11:53:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
- exclude our target arch for cross compiling - this is just not cross
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 11:28:41 UTC 2012 - rguenther@suse.com
|
||||
|
||||
|
@ -116,6 +116,10 @@ Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: avr-binutils-relocs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
ExcludeArch: sparc
|
||||
%endif
|
||||
|
||||
%description
|
||||
C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
|
||||
size, strings, and strip. These utilities are needed whenever you want
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 11:53:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
- exclude our target arch for cross compiling - this is just not cross
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 11:28:41 UTC 2012 - rguenther@suse.com
|
||||
|
||||
|
@ -116,6 +116,10 @@ Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: avr-binutils-relocs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
ExcludeArch: spu
|
||||
%endif
|
||||
|
||||
%description
|
||||
C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
|
||||
size, strings, and strip. These utilities are needed whenever you want
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 11:53:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
- exclude our target arch for cross compiling - this is just not cross
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 11:28:41 UTC 2012 - rguenther@suse.com
|
||||
|
||||
|
@ -116,6 +116,10 @@ Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: avr-binutils-relocs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
ExcludeArch: x86_64
|
||||
%endif
|
||||
|
||||
%description
|
||||
C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
|
||||
size, strings, and strip. These utilities are needed whenever you want
|
||||
|
@ -7,13 +7,15 @@ for arch in hppa hppa64 mips arm i386 x86_64 s390 s390x ppc ppc64 ia64 sparc alp
|
||||
echo -n "Building package for $arch --> cross-$arch-binutils ..."
|
||||
|
||||
ln -f binutils.changes cross-$arch-binutils.changes
|
||||
targetarch=`echo $arch | sed -e "s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/"`
|
||||
( echo "%define cross 1"
|
||||
echo "%define TARGET $arch" \
|
||||
| sed -e "s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/"
|
||||
echo "%define TARGET $targetarch"
|
||||
) > cross-$arch-binutils.spec
|
||||
sed -e "s/^Name:.*binutils\$/Name: cross-$arch-binutils/" \
|
||||
sed -e "s/^Name:.*binutils\$/Name: cross-$arch-binutils/; s/^ExcludeArch:.*/ExcludeArch: $targetarch/" \
|
||||
< binutils.spec >> cross-$arch-binutils.spec
|
||||
|
||||
echo " done."
|
||||
done
|
||||
|
||||
osc service localrun format_spec_file
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user