forked from pool/binutils
cd09a10aa5
- Disable cross-sh4-binutils. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=48
17 lines
585 B
Bash
17 lines
585 B
Bash
#!/bin/bash
|
|
|
|
# the script takes binutils* and creates the cross-* packages
|
|
# sh4 is stuck in the testsuite, avr is packaged separately
|
|
for arch in hppa hppa64 mips arm i386 x86_64 s390 s390x ppc ppc64 ia64 sparc alpha spu; do
|
|
|
|
echo -n "Building package for $arch --> cross-$arch-binutils ..."
|
|
|
|
ln -f binutils.changes cross-$arch-binutils.changes
|
|
sed -e "s/^Name:.*binutils\$/Name: cross-$arch-binutils/" \
|
|
-e '/%ifarch %gold_archs/,/%endif/d' \
|
|
-e '/ \(devel\|gold\)$/,/^$/d' \
|
|
< binutils.spec > cross-$arch-binutils.spec
|
|
|
|
echo " done."
|
|
done
|