diff options
-rw-r--r-- | opcodes/.Sanitize | 36 |
1 files changed, 2 insertions, 34 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize index 38e3b70..abc59c7 100644 --- a/opcodes/.Sanitize +++ b/opcodes/.Sanitize @@ -31,13 +31,6 @@ else lose_these_too="${tic80_files} ${lose_these_too}" fi -if ( echo $* | grep keep\-v850 > /dev/null ) ; then - keep_these_too="v850-opc.c v850-dis.c ${keep_these_too}" -else - lose_these_too="v850-opc.c v850-dis.c ${lose_these_too}" -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 @@ -105,6 +98,8 @@ stamp-h.in sysdep.h w65-dis.c w65-opc.h +v850-opc.c +v850-dis.c z8k-dis.c z8k-opc.h z8kgen.c @@ -142,33 +137,6 @@ else fi v850e_files="ChangeLog Makefile.in Makefile.am configure.in configure disassemble.c v850-opc.c v850-dis.c" - -if ( echo $* | grep keep\-v850eq > /dev/null ) ; then - for i in $v850e_files ; do - if test -f $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 $v850e_files ; do - if test -f $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\-v850eq/,/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 if ( echo $* | grep keep\-v850e > /dev/null ) ; then for i in $v850e_files ; do if test -f $i && (grep sanitize-v850e $i > /dev/null) ; then |