diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-06-20 19:04:37 +0000 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-06-20 19:04:37 +0000 |
commit | 0a971cc0c9a6302afb6da5d561b7df24f443eca4 (patch) | |
tree | 4a56e8a6ee996bdf2381be4cbaf5f7c540d3af8e /src/SConscript | |
parent | a68ddf685c739220d09fdc44000dd217d0707f8e (diff) | |
parent | 4a7bc06553577f25e8dc895fa20506c62455a4b6 (diff) | |
download | gem5-0a971cc0c9a6302afb6da5d561b7df24f443eca4.tar.xz |
Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-x86
--HG--
extra : convert_revision : f2fac2b1a09e709021cd8382a9fbe805df2177ef
Diffstat (limited to 'src/SConscript')
-rw-r--r-- | src/SConscript | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/SConscript b/src/SConscript index 34c5453b7..7a3b25c92 100644 --- a/src/SConscript +++ b/src/SConscript @@ -277,9 +277,10 @@ def makeEnv(label, objsfx, strip = False, **kwargs): if strip: stripped_bin = bin + '.stripped' if sys.platform == 'sunos5': - newEnv.Command(stripped_bin, bin, 'cp $SOURCE $TARGET; strip $TARGET') + cmd = 'cp $SOURCE $TARGET; strip $TARGET' else: - newEnv.Command(stripped_bin, bin, 'strip $SOURCE -o $TARGET') + cmd = 'strip $SOURCE -o $TARGET' + newEnv.Command(stripped_bin, bin, cmd) bin = stripped_bin targets = newEnv.Concat(exe, [bin, 'm5py.zip']) newEnv.M5Binary = targets[0] |