On 27 Nov 2021 18:45, Karl Berry wrote: > Hi Mike, > > Subject: [PATCH] dejagnu: add support for silent builds with site.exp > > I pushed the change. > > https://sourceware.org/git/?p=binutils-gdb.git;a=summary > after you configure+make, you can iterate with just `make site.exp`. > > I tried, but failed to really test the change. Hope it flies. --thanks, karl.
seems to work. i tested with: automake.git$ sudo cp lib/am/dejagnu.am /usr/share/automake-1.15/am/dejagnu.am gdb.git$ cd sim && automake-1.15 build$ cd sim && make site.exp /bin/sh ./config.status --recheck ... configure: creating ./config.status /bin/sh ./config.status config.status: creating Makefile ... GEN site.exp build/sim$ rm site.exp && make site.exp V=1 set -e; ( \ echo '## these variables are automatically generated by make ##'; \ echo '# Do not edit here. If you wish to override these values'; \ echo '# edit the last section'; \ echo 'set srcdir "../../../sim"'; \ echo "set objdir \"`pwd`\""; \ echo 'set build_alias "x86_64-pc-linux-gnu"'; \ echo 'set build_triplet x86_64-pc-linux-gnu'; \ echo 'set host_alias "x86_64-pc-linux-gnu"'; \ echo 'set host_triplet x86_64-pc-linux-gnu'; \ echo 'set target_alias "mn10300-elf"'; \ echo 'set target_triplet mn10300-unknown-elf'; \ list='site-sim-config.exp'; \ for f in $list; do \ echo "## Begin content included from file $f. Do not modify. ##"; \ cat `test -f "$f" || echo '../../../sim/'`$f; \ echo "## End content included from file $f. ##"; \ done; \ echo "## End of auto-generated content; you can edit from here. ##"; \ if test -f site.exp; then \ sed -e '1,/^## End of auto-generated content.*##/d' site.exp; \ fi; \ ) >site.tmp; \ rm -f site.bak; \ test ! -f site.exp || mv site.exp site.bak; \ mv site.tmp site.exp -mike
signature.asc
Description: PGP signature
