Don't go over 80 chars per line
authorNathan Binkert <binkertn@umich.edu>
Wed, 20 Jun 2007 15:12:10 +0000 (08:12 -0700)
committerNathan Binkert <binkertn@umich.edu>
Wed, 20 Jun 2007 15:12:10 +0000 (08:12 -0700)
--HG--
extra : convert_revision : ec73c3c8788757990a6fab8c600f3b353d0d4206

src/SConscript

index 34c5453b78299c7a9fae3aaa52d77015c76954e5..7a3b25c92ea19892cb4e552f95e108239aed062f 100644 (file)
@@ -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]