From 492c267000a0dc490804a065c2e58716650cb69a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 18 Aug 1997 18:30:31 +0000 Subject: Add support for v850e and v850eq target. --- .Sanitize | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) (limited to '.Sanitize') diff --git a/.Sanitize b/.Sanitize index 1899d53..88336ff 100644 --- a/.Sanitize +++ b/.Sanitize @@ -279,6 +279,58 @@ else fi done fi +if ( echo $* | grep keep\-v850e > /dev/null ) ; then + for i in $v850_files ; do + if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping v850e stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"v850e\" from $i... + fi + cp $i new + sed '/start\-sanitize\-v850e/,/end-\sanitize\-v850e/d' < $i > new + if [ -n "${safe}" -a ! -f .Recover/$i ] ; then + if [ -n "${verbose}" ] ; then + echo Caching $i in .Recover... + fi + mv $i .Recover + fi + mv new $i + fi + done +fi +if ( echo $* | grep keep\-v850eq > /dev/null ) ; then + for i in $v850_files ; do + if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping v850eq stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"v850eq\" from $i... + fi + cp $i new + sed '/start\-sanitize\-v850/,/end-\sanitize\-v850eq/d' < $i > new + if [ -n "${safe}" -a ! -f .Recover/$i ] ; then + if [ -n "${verbose}" ] ; then + echo Caching $i in .Recover... + fi + mv $i .Recover + fi + mv new $i + fi + done +fi r5900_files="ChangeLog config.sub configure.in" -- cgit v1.1