Moved FEATURES="keepwork" to outside the BuildTC() function.
 Tested incremental build and it is working for binutils at least.

PRESUBMIT=passed
R=raymes,bjanakiraman
DELTA=4  (2 added, 2 deleted, 0 changed)
OCL=45030-p2
RCL=45047-p2
RDATE=2010/11/05 16:10:30


P4 change: 42605600
diff --git a/v14/build_tc.py b/v14/build_tc.py
index 9777081..ae99e9a 100755
--- a/v14/build_tc.py
+++ b/v14/build_tc.py
@@ -62,6 +62,8 @@
   f.close()
   target = target.strip()
   features = "noclean userfetch userpriv usersandbox"
+  if options.incremental is not None and options.incremental:
+    features += " keepwork"
   env = CreateEnvVarString(" FEATURES", features)
   env += CreateEnvVarString(" PORTAGE_USERNAME", getpass.getuser())
   version_number = utils.GetRoot(rootdir)[1]
@@ -101,8 +103,6 @@
   gcc_version = "9999"
   libc_version = "2.10.1-r1"
   kernel_version = "2.6.30-r1"
-  if incremental_component is not None and incremental_component:
-    env += " FEATURES+=" + EscapeQuoteString("keepwork")
 
   if uninstall == True:
     tflag = " -C "