aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/emulparams/.Sanitize7
-rw-r--r--ld/emultempl/.Sanitize7
-rw-r--r--ld/scripttempl/.Sanitize7
3 files changed, 21 insertions, 0 deletions
diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize
index 7401333..9649394 100644
--- a/ld/emulparams/.Sanitize
+++ b/ld/emulparams/.Sanitize
@@ -36,6 +36,13 @@ else
lose_these_too="${r5900_files} ${lose_these_too}"
fi
+beos_files="i386beos.sh"
+if ( echo $* | grep keep\-beos > /dev/null ) ; then
+ keep_these_too="${beos_files} ${keep_these_too}"
+else
+ lose_these_too="${beos_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
diff --git a/ld/emultempl/.Sanitize b/ld/emultempl/.Sanitize
index 9da03de..530ad84 100644
--- a/ld/emultempl/.Sanitize
+++ b/ld/emultempl/.Sanitize
@@ -15,6 +15,13 @@
Do-first:
+beos_files="beos.em"
+if ( echo $* | grep keep\-beos > /dev/null ) ; then
+ keep_these_too="${beos_files} ${keep_these_too}"
+else
+ lose_these_too="${beos_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.
diff --git a/ld/scripttempl/.Sanitize b/ld/scripttempl/.Sanitize
index aa7fe54..44dada4 100644
--- a/ld/scripttempl/.Sanitize
+++ b/ld/scripttempl/.Sanitize
@@ -29,6 +29,13 @@ else
lose_these_too="${tic80_files} ${lose_these_too}"
fi
+beos_files="i386beos.sc"
+if ( echo $* | grep keep\-beos > /dev/null ) ; then
+ keep_these_too="${beos_files} ${keep_these_too}"
+else
+ lose_these_too="${beos_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