forked from pool/newlib
Add arm-none-eabi target - depends on gcc7 sr#585463 OBS-URL: https://build.opensuse.org/request/show/585475 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/newlib?expand=0&rev=7
14 lines
297 B
Bash
14 lines
297 B
Bash
#!/bin/bash
|
|
|
|
rm -f cross*.spec cross*.changes
|
|
|
|
for arch in arm-none epiphany rx; do
|
|
pkgname=cross-$arch-newlib-devel
|
|
outfile=$pkgname.spec
|
|
echo "%define cross_arch $arch" > $outfile
|
|
cat newlib.spec.in >> $outfile
|
|
cp newlib.changes $pkgname.changes
|
|
done
|
|
|
|
osc service localrun format_spec_file
|