summaryrefslogtreecommitdiff
path: root/src/SConscript
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-01-31 18:32:27 -0500
committerAli Saidi <saidi@eecs.umich.edu>2007-01-31 18:32:27 -0500
commit5c7192daedcd33d9f7deb42406002adf4f2ffb68 (patch)
tree6d0cf97f10eda6dfda23d5e5b10e31e0bbe1aa66 /src/SConscript
parent36a1912bf01433acc86837ed60da6d510323aa1e (diff)
downloadgem5-5c7192daedcd33d9f7deb42406002adf4f2ffb68.tar.xz
make sparc fs less chatty
src/SConscript: strip doesn't take a src and dest in solaris --HG-- extra : convert_revision : 57f95eda0e3232475a5b55753ace3f3f0fced8b3
Diffstat (limited to 'src/SConscript')
-rw-r--r--src/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/SConscript b/src/SConscript
index 2a61100c1..74bed9a7e 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -304,7 +304,10 @@ def makeEnv(label, objsfx, strip = False, **kwargs):
newEnv.Program(bin, make_objs(sources, newEnv))
if strip:
stripped_bin = bin + '.stripped'
- newEnv.Command(stripped_bin, bin, 'strip $SOURCE -o $TARGET')
+ if sys.platform == 'sunos5':
+ newEnv.Command(stripped_bin, bin, 'cp $SOURCE $TARGET; strip $TARGET')
+ else:
+ newEnv.Command(stripped_bin, bin, 'strip $SOURCE -o $TARGET')
bin = stripped_bin
targets = newEnv.Concat(exe, [bin, 'python/m5py.zip'])
newEnv.M5Binary = targets[0]