]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/config/mips/.Sanitize
Add a "keep-vr4320" section so that tm-vr4320.h and vr4320.mt are
[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 vr4111_files="tm-vr4xxx.h vr4xxx.mt"
19
20 if ( echo $* | grep keep\-vr4111 > /dev/null ) ; then
21 keep_these_too="${vr4111_files} ${keep_these_too}"
22 if [ -n "${verbose}" ] ; then
23 echo Keeping ${vr4111_files}
24 fi
25 else
26 lose_these_too="${vr4111_files} ${lose_these_too}"
27 if [ -n "${verbose}" ] ; then
28 echo Deleting ${vr4111_files}
29 fi
30 fi
31
32 tx19_files="tm-tx19.h tm-tx19l.h tx19.mt tx19l.mt"
33
34 if ( echo $* | grep keep\-tx19 > /dev/null ) ; then
35 keep_these_too="${tx19_files} ${keep_these_too}"
36 if [ -n "${verbose}" ] ; then
37 echo Keeping ${tx19_files}
38 fi
39 else
40 lose_these_too="${tx19_files} ${lose_these_too}"
41 if [ -n "${verbose}" ] ; then
42 echo Deleting ${tx19_files}
43 fi
44 fi
45
46 tx49_files="tm-tx49.h tm-tx49el.h tx49.mt tx49el.mt"
47
48 if ( echo $* | grep keep\-tx49 > /dev/null ) ; then
49 keep_these_too="${tx49_files} ${keep_these_too}"
50 if [ -n "${verbose}" ] ; then
51 echo Keeping ${tx49_files}
52 fi
53 else
54 lose_these_too="${tx49_files} ${lose_these_too}"
55 if [ -n "${verbose}" ] ; then
56 echo Deleting ${tx49_files}
57 fi
58 fi
59
60 if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
61 keep_these_too="tm-r5900.h r5900.mt ${keep_these_too}"
62 else
63 lose_these_too="tm-r5900.h r5900.mt ${lose_these_too}"
64 fi
65
66 if ( echo $* | grep keep\-sky > /dev/null ) ; then
67 keep_these_too="tm-txvu.h txvu.mt ${keep_these_too}"
68 else
69 lose_these_too="tm-txvu.h txvu.mt ${lose_these_too}"
70 fi
71
72 if ( echo $* | grep keep\-vr4320 > /dev/null ) ; then
73 keep_these_too="tm-vr4320.h vr4320.mt ${keep_these_too}"
74 else
75 lose_these_too="tm-vr4320.h vr4320.mt ${lose_these_too}"
76 fi
77
78 # All files listed between the "Things-to-keep:" line and the
79 # "Files-to-sed:" line will be kept. All other files will be removed.
80 # Directories listed in this section will have their own Sanitize
81 # called. Directories not listed will be removed in their entirety
82 # with rm -rf.
83
84 Things-to-keep:
85
86 bigmips.mt
87 bigmips64.mt
88 decstation.mh
89 decstation.mt
90 embed.mt
91 embed64.mt
92 embedl.mt
93 embedl64.mt
94 irix3.mh
95 irix3.mt
96 irix4.mh
97 irix5.mh
98 irix5.mt
99 littlemips.mh
100 littlemips.mt
101 mipsm3.mh
102 mipsm3.mt
103 mipsv4.mh
104 mipsv4.mt
105 news-mips.mh
106 nm-irix3.h
107 nm-irix4.h
108 nm-irix5.h
109 nm-mips.h
110 nm-news-mips.h
111 nm-riscos.h
112 riscos.mh
113 tm-bigmips.h
114 tm-bigmips64.h
115 tm-embed.h
116 tm-embed64.h
117 tm-embedl.h
118 tm-embedl64.h
119 tm-irix3.h
120 tm-irix5.h
121 tm-mips.h
122 tm-mips64.h
123 tm-mipsm3.h
124 tm-mipsv4.h
125 tm-tx39.h
126 tm-tx39l.h
127 tm-vr4300.h
128 tm-vr4300el.h
129 tm-vr5000.h
130 tm-vr5000el.h
131 tm-vxmips.h
132 tx39.mt
133 tx39l.mt
134 vr4300.mt
135 vr4300el.mt
136 vr5000.mt
137 vr5000el.mt
138 vxmips.mt
139 xm-irix3.h
140 xm-irix4.h
141 xm-irix5.h
142 xm-mips.h
143 xm-mipsm3.h
144 xm-mipsv4.h
145 xm-news-mips.h
146 xm-riscos.h
147
148 Things-to-lose:
149
150 Do-last:
151
152 # End of file.