mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 10:35:12 +08:00
Special stuff to strip v9 out of sparc-opc.c
This commit is contained in:
parent
c3a1191a1d
commit
62ba1060a4
@ -32,6 +32,21 @@ z8k-opc.h
|
||||
|
||||
Do-last:
|
||||
|
||||
Do-last:
|
||||
|
||||
if ( echo $* | grep keep\-v9 > /dev/null ) ; then
|
||||
echo Keeping v9 in sparc-opc.c
|
||||
else
|
||||
echo Sanitizing v9 in sparc-opc.c
|
||||
rm -f new
|
||||
grep -v v9 sparc-opc.c > new
|
||||
if [ -n "${safe}" ] ; then
|
||||
mv sparc-opc.c .Recover
|
||||
else
|
||||
rm sparc-opc.c
|
||||
fi
|
||||
mv new sparc-opc.c
|
||||
fi
|
||||
|
||||
echo Done in `pwd`.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user