diff options
author | Doug Evans <dje@google.com> | 1998-01-23 23:01:06 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-01-23 23:01:06 +0000 |
commit | 84af43e37d96d4d69e82fcb7ab3e1a40347a5244 (patch) | |
tree | c146d249a63dbf956ff295afaebdb8efd747a162 | |
parent | ed6f14718b9314ed0af339623a81cbfcb111e35d (diff) | |
download | gdb-84af43e37d96d4d69e82fcb7ab3e1a40347a5244.zip gdb-84af43e37d96d4d69e82fcb7ab3e1a40347a5244.tar.gz gdb-84af43e37d96d4d69e82fcb7ab3e1a40347a5244.tar.bz2 |
add m32rx sanitization to tconfig.in
-rw-r--r-- | sim/m32r/.Sanitize | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/sim/m32r/.Sanitize b/sim/m32r/.Sanitize index 490563a..c927d0f 100644 --- a/sim/m32r/.Sanitize +++ b/sim/m32r/.Sanitize @@ -16,6 +16,13 @@ Do-first: +m32rx_files="cpux.h decodex.c decodex.h m32rx.c mloopx.in modelx.c readx.c semx.c" +if ( echo $* | grep keep\-m32rx > /dev/null ) ; then + keep_these_too="${m32rx_files} ${keep_these_too}" +else + lose_these_too="${m32rx_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 @@ -35,23 +42,15 @@ configure configure.in cpu.h cpuall.h -cpux.h decode.c decode.h -decodex.c -decodex.h extract.c m32r-sim.h m32r.c -m32rx.c mloop.in -mloopx.in model.c -modelx.c -readx.c sem-switch.c sem.c -semx.c sim-if.c sim-main.h tconfig.in @@ -88,7 +87,7 @@ else done fi -m32rx_files="ChangeLog Makefile.in sim-if.c sim-main.h arch.h arch.c cpuall.h" +m32rx_files="ChangeLog Makefile.in sim-if.c sim-main.h arch.h arch.c cpuall.h tconfig.in" if ( echo $* | grep keep\-m32rx > /dev/null ) ; then for i in $m32rx_files ; do if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then |