Home | History | Annotate | Download | only in strace
      1 #!/bin/sh -eu
      2 
      3 for m in m32 mx32; do
      4 	tests=tests-$m
      5 	rm -rf $tests
      6 	mkdir $tests
      7 	sed "s/@arch@/@arch_$m@/;s/^ARCH_MFLAGS[[:space:]]*=.*/& -$m/" \
      8 		tests/Makefile.am > $tests/Makefile.am
      9 	for f in tests/*; do
     10 		case "${f##*/}" in
     11 		Makefile*) continue;;
     12 		esac
     13 		ln -s ../"$f" $tests/
     14 	done
     15 done
     16 
     17 ./generate_mpers_am.sh
     18 ./xlat/gen.sh
     19 
     20 exec autoreconf -f -i "$@"
     21