From 84af43e37d96d4d69e82fcb7ab3e1a40347a5244 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 23 Jan 1998 23:01:06 +0000 Subject: [PATCH] add m32rx sanitization to tconfig.in --- sim/m32r/.Sanitize | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/sim/m32r/.Sanitize b/sim/m32r/.Sanitize index 490563a379a..c927d0f31fe 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 -- 2.30.2