diff options
Diffstat (limited to 'ld/scripttempl/.Sanitize')
-rw-r--r-- | ld/scripttempl/.Sanitize | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/scripttempl/.Sanitize b/ld/scripttempl/.Sanitize index ed8c003..30fd79c 100644 --- a/ld/scripttempl/.Sanitize +++ b/ld/scripttempl/.Sanitize @@ -15,6 +15,14 @@ Do-first: +h8s_files="h8300s.sc" + +if ( echo $* | grep keep\-h8s > /dev/null ) ; then + keep_these_too="${h8s_files} ${keep_these_too}" +else + lose_these_too="${h8s_files} ${lose_these_too}" +fi + # All files listed between the "Things-to-keep:" line and the # "Do-last:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize |