SHA256
1
0
forked from pool/binutils

Accepting request 974386 from home:marxin:branches:devel:gcc

- Start using _multibuild for cross compilers.

OBS-URL: https://build.opensuse.org/request/show/974386
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=402
This commit is contained in:
Richard Biener 2022-05-02 10:21:07 +00:00 committed by Git OBS Bridge
parent e75e43ca87
commit 055d2689cd
26 changed files with 36 additions and 94785 deletions

25
_multibuild Normal file
View File

@ -0,0 +1,25 @@
<multibuild>
<flavor>cross-aarch64-binutils</flavor>
<flavor>cross-hppa-binutils</flavor>
<flavor>cross-hppa64-binutils</flavor>
<flavor>cross-arm-binutils</flavor>
<flavor>cross-i386-binutils</flavor>
<flavor>cross-x86_64-binutils</flavor>
<flavor>cross-s390-binutils</flavor>
<flavor>cross-s390x-binutils</flavor>
<flavor>cross-ppc-binutils</flavor>
<flavor>cross-ppc64-binutils</flavor>
<flavor>cross-ppc64le-binutils</flavor>
<flavor>cross-ia64-binutils</flavor>
<flavor>cross-sparc-binutils</flavor>
<flavor>cross-sparc64-binutils</flavor>
<flavor>cross-spu-binutils</flavor>
<flavor>cross-avr-binutils</flavor>
<flavor>cross-pru-binutils</flavor>
<flavor>cross-mips-binutils</flavor>
<flavor>cross-m68k-binutils</flavor>
<flavor>cross-epiphany-binutils</flavor>
<flavor>cross-rx-binutils</flavor>
<flavor>cross-riscv64-binutils</flavor>
<flavor>cross-xtensa-binutils</flavor>
</multibuild>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 2 10:15:26 UTC 2022 - Martin Liška <mliska@suse.cz>
- Start using _multibuild for cross compilers.
-------------------------------------------------------------------
Mon Apr 11 13:49:19 UTC 2022 - Michael Matz <matz@suse.com>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -2,14 +2,16 @@
# the script takes binutils* and creates the cross-* packages
rm -f cross-*-binutils.spec cross-*-binutils.changes
rm -f cross-*-binutils.spec
echo '<multibuild>' > _multibuild
# sh4 is stuck in the testsuite
for arch in aarch64 hppa hppa64 arm i386 x86_64 s390 s390x ppc ppc64 ppc64le ia64 sparc sparc64 spu avr pru mips m68k epiphany rx riscv64 xtensa; do
echo -n "Building package for $arch --> cross-$arch-binutils ..."
echo " <flavor>cross-$arch-binutils</flavor>" >> _multibuild
ln -f binutils.changes cross-$arch-binutils.changes
targetarch=`echo $arch | sed -e "s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/"`
exclarch=`echo $arch | sed -e 's/parisc/hppa/;s/i.86/%ix86/;s/arm/%arm/'`
sed -e "s/^Name:.*binutils\$/Name: cross-$arch-binutils\nExcludeArch: $exclarch\n%define cross 1\n%define TARGET $targetarch/;" \
@ -18,5 +20,7 @@ for arch in aarch64 hppa hppa64 arm i386 x86_64 s390 s390x ppc ppc64 ppc64le ia6
echo " done."
done
echo '</multibuild>' >> _multibuild
osc service localrun format_spec_file