3 # the script takes binutils* and creates the cross-* packages
4 # sh4 is stuck in the testsuite
5 for arch in armv7l aarch64; do
7 echo -n "Building package for $arch --> binutils-$arch ..."
9 echo "%define cross $arch" > binutils-${arch}.spec
10 echo "%define $arch 1" >> binutils-${arch}.spec
11 echo "" >> binutils-${arch}.spec
12 cat binutils.spec >> binutils-${arch}.spec