aboutsummaryrefslogtreecommitdiff
path: root/opcodes/.Sanitize
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/.Sanitize')
-rw-r--r--opcodes/.Sanitize10
1 files changed, 9 insertions, 1 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize
index 7ce31d4..102e637 100644
--- a/opcodes/.Sanitize
+++ b/opcodes/.Sanitize
@@ -47,6 +47,14 @@ else
lose_these_too="${sky_files} ${lose_these_too}"
fi
+r5900_files="vu0.h"
+
+if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
+ keep_these_too="${r5900_files} ${keep_these_too}"
+else
+ lose_these_too="${r5900_files} ${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
@@ -210,7 +218,7 @@ else
fi
-r5900_files="ChangeLog mips-opc.c mips-dis.c"
+r5900_files="ChangeLog mips-opc.c mips-dis.c Makefile.am Makefile.in"
if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
for i in $r5900_files ; do
if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then