## @file\r
# process OptionROM generation\r
#\r
-# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2016, 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
EfiFileList.extend(FilePathNameList)\r
else:\r
FileName = os.path.basename(FilePathNameList[0])\r
- TmpOutputDir = os.path.join(GenFdsGlobalVariable.FvDir, self.DriverName)\r
+ TmpOutputDir = os.path.join(GenFdsGlobalVariable.FvDir, self.DriverName, FfsFile.CurrentArch)\r
if not os.path.exists(TmpOutputDir) :\r
os.makedirs(TmpOutputDir)\r
TmpOutputFile = os.path.join(TmpOutputDir, FileName+'.tmp')\r
FilePathName = FfsFile.GenFfs()\r
if FfsFile.OverrideAttribs != None:\r
FileName = os.path.basename(FilePathName)\r
- TmpOutputDir = os.path.join(GenFdsGlobalVariable.FvDir, self.DriverName)\r
+ TmpOutputDir = os.path.join(GenFdsGlobalVariable.FvDir, self.DriverName, FfsFile.CurrentArch)\r
if not os.path.exists(TmpOutputDir) :\r
os.makedirs(TmpOutputDir)\r
TmpOutputFile = os.path.join(TmpOutputDir, FileName+'.tmp')\r