]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/config/mips/.Sanitize
Fix sanitization errors.
[thirdparty/binutils-gdb.git] / gdb / config / mips / .Sanitize
1 # .Sanitize for devo/gdb/config/mips.
2
3 # Each directory to survive its way into a release will need a file
4 # like this one called "./.Sanitize". All keyword lines must exist,
5 # and must exist in the order specified by this file. Each directory
6 # in the tree will be processed, top down, in the following order.
7
8 # Hash started lines like this one are comments and will be deleted
9 # before anything else is done. Blank lines will also be squashed
10 # out.
11
12 # The lines between the "Do-first:" line and the "Things-to-keep:"
13 # line are executed as a /bin/sh shell script before anything else is
14 # done in this directory.
15
16 Do-first:
17
18 tx19_files="tm-tx19.h tm-tx19l.h tx19.mt tx19l.mt"
19
20 if ( echo $* | grep keep\-tx19 > /dev/null ) ; then
21 keep_these_too="${tx19_files} ${keep_these_too}"
22 if [ -n "${verbose}" ] ; then
23 echo Keeping ${tx19_files}
24 fi
25 else
26 lose_these_too="${tx19_files} ${lose_these_too}"
27 if [ -n "${verbose}" ] ; then
28 echo Deleting ${tx19_files}
29 fi
30 fi
31
32 tx49_files="tm-tx49.h tm-tx49el.h tx49.mt tx49el.mt"
33
34 if ( echo $* | grep keep\-tx49 > /dev/null ) ; then
35 keep_these_too="${tx49_files} ${keep_these_too}"
36 if [ -n "${verbose}" ] ; then
37 echo Keeping ${tx49_files}
38 fi
39 else
40 lose_these_too="${tx49_files} ${lose_these_too}"
41 if [ -n "${verbose}" ] ; then
42 echo Deleting ${tx49_files}
43 fi
44 fi
45
46 if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
47 keep_these_too="tm-r5900.h r5900.mt ${keep_these_too}"
48 else
49 lose_these_too="tm-r5900.h r5900.mt ${lose_these_too}"
50 fi
51
52 # All files listed between the "Things-to-keep:" line and the
53 # "Files-to-sed:" line will be kept. All other files will be removed.
54 # Directories listed in this section will have their own Sanitize
55 # called. Directories not listed will be removed in their entirety
56 # with rm -rf.
57
58 Things-to-keep:
59
60 bigmips.mt
61 bigmips64.mt
62 decstation.mh
63 decstation.mt
64 embed.mt
65 embed64.mt
66 embedl.mt
67 embedl64.mt
68 irix3.mh
69 irix3.mt
70 irix4.mh
71 irix5.mh
72 irix5.mt
73 littlemips.mh
74 littlemips.mt
75 mipsm3.mh
76 mipsm3.mt
77 mipsv4.mh
78 mipsv4.mt
79 news-mips.mh
80 nm-irix3.h
81 nm-irix4.h
82 nm-irix5.h
83 nm-mips.h
84 nm-news-mips.h
85 nm-riscos.h
86 riscos.mh
87 tm-bigmips.h
88 tm-bigmips64.h
89 tm-embed.h
90 tm-embed64.h
91 tm-embedl.h
92 tm-embedl64.h
93 tm-irix3.h
94 tm-irix5.h
95 tm-mips.h
96 tm-mips64.h
97 tm-mipsm3.h
98 tm-mipsv4.h
99 tm-tx39.h
100 tm-tx39l.h
101 tm-vr4300.h
102 tm-vr4300el.h
103 tm-vr5000.h
104 tm-vr5000el.h
105 tm-vxmips.h
106 tx39.mt
107 tx39l.mt
108 vr4300.mt
109 vr4300el.mt
110 vr5000.mt
111 vr5000el.mt
112 vxmips.mt
113 xm-irix3.h
114 xm-irix4.h
115 xm-irix5.h
116 xm-mips.h
117 xm-mipsm3.h
118 xm-mipsv4.h
119 xm-news-mips.h
120 xm-riscos.h
121
122 Things-to-lose:
123
124 Do-last:
125
126 # End of file.