## @file\r
# process FFS generation from FILE statement\r
#\r
-# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
#\r
import Ffs\r
import Rule\r
-import os\r
+import Common.LongFilePathOs as os\r
import StringIO\r
import subprocess\r
\r
\r
elif self.FileName != None:\r
self.FileName = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.FileName)\r
+ #Replace $(SAPCE) with real space\r
+ self.FileName = self.FileName.replace('$(SPACE)', ' ')\r
SectionFiles = [GenFdsGlobalVariable.MacroExtend(self.FileName, Dict)]\r
\r
else:\r
if FvParentAddr != None and isinstance(section, GuidSection):\r
section.FvParentAddr = FvParentAddr\r
\r
+ if self.KeepReloc == False:\r
+ section.KeepReloc = False\r
sectList, align = section.GenSection(OutputDir, self.NameGuid, SecIndex, self.KeyStringList, None, Dict)\r
if sectList != []:\r
for sect in sectList:\r