add vr4111 as a sanitization tag to get rid of vr4111 and vr4102 mentions.

This commit is contained in:
Jason Molenda
1998-05-27 19:34:49 +00:00
parent e838aeea64
commit 17a56e138e
2 changed files with 43 additions and 1 deletions

View File

@ -102,6 +102,20 @@ else
fi
fi
vr4111_files="nec4102rom.c"
if ( echo $* | grep keep\-vr4111 > /dev/null ) ; then
keep_these_too="${vr4111_files} ${keep_these_too}"
if [ -n "${verbose}" ] ; then
echo Keeping ${vr4111_files}
fi
else
lose_these_too="${vr4111_files} ${lose_these_too}"
if [ -n "${verbose}" ] ; then
echo Deleting ${vr4111_files}
fi
fi
# All files listed between the "Things-to-keep:" line and the
# "Files-to-sed:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
@ -309,7 +323,6 @@ mpw-config.in
mpw-make.sed
msg.defs
msg_reply.defs
nec4102rom.c
news-xdep.c
nindy-share
nindy-tdep.c
@ -767,6 +780,33 @@ else
done
fi
if ( echo $* | grep keep\-vr4111 > /dev/null ) ; then
for i in * ; do
if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping vr4111 stuff in $i
fi
fi
done
else
for i in * ; do
if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"vr4111\" from $i...
fi
cp $i new
sed '/start\-sanitize\-vr4111/,/end-\sanitize\-vr4111/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\-ide > /dev/null ) ; then
for i in * ; do
if test ! -d $i && (grep sanitize-ide $i > /dev/null) ; then

View File

@ -247,6 +247,7 @@ Thu Apr 30 15:59:54 1998 Jason Molenda (crash@bugshack.cygnus.com)
(local-maintainer-clean, do-maintainer-clean): New rules.
Wed Apr 29 10:20:40 1998 John Metzler <jmetzler@cygnus.com>
start-sanitize-vr4111
* nec4102rom.c: New file implements ROM monitor adapter for
nec-vr4102 board. This board hosts the vr4111 chip. This file
@ -254,6 +255,7 @@ Wed Apr 29 10:20:40 1998 John Metzler <jmetzler@cygnus.com>
filter, new flags. This version does not support more than one
breakpoint and resuming after a breakpoint in 16 bit mode is
completely disfunctional.
end-sanitize-vr4111
* monitor.h: Defined additional hooks for dmpregs, configure_hooks
and wait_filter. These additions require that all ROM monitor