From: Andrew Cagney Date: Tue, 6 May 1997 23:24:03 +0000 (+0000) Subject: Only zap the igen directory once. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=19a2b3005ccf70c29981c421b63d3195f886b03d;p=binutils-gdb.git Only zap the igen directory once. --- diff --git a/sim/.Sanitize b/sim/.Sanitize index e00ce103b0e..27df4f4be8c 100644 --- a/sim/.Sanitize +++ b/sim/.Sanitize @@ -15,16 +15,20 @@ Do-first: -d30v_files="d30v igen testsuite" +igen_files="igen" + +d30v_files="d30v testsuite" if ( echo $* | grep keep\-d30v > /dev/null ) ; then - keep_these_too="${d30v_files} ${keep_these_too}" + keep_these_too="${d30v_files} ${igen_files} ${keep_these_too}" + igen_files= else lose_these_too="${d30v_files} ${lose_these_too}" fi -tic80_files="tic80 igen" +tic80_files="tic80" if ( echo $* | grep keep\-tic80 > /dev/null ) ; then - keep_these_too="${tic80_files} ${keep_these_too}" + keep_these_too="${tic80_files} ${igen_files} ${keep_these_too}" + igen_files= else lose_these_too="${tic80_files} ${lose_these_too}" fi @@ -36,6 +40,8 @@ else lose_these_too="${v850_files} ${lose_these_too}" fi +lose_these_too="${igen_files} ${lose_these_too}" + # 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