forked from pool/newlib
Add riscv64 target OBS-URL: https://build.opensuse.org/request/show/606698 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/newlib?expand=0&rev=12
14 lines
305 B
Bash
14 lines
305 B
Bash
#!/bin/bash
|
|
|
|
rm -f cross*.spec cross*.changes
|
|
|
|
for arch in arm-none epiphany riscv64 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
|