summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/UPT/Object
diff options
context:
space:
mode:
authorHess Chen <hesheng.chen@intel.com>2017-08-23 13:53:36 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2017-08-24 21:39:50 +0800
commitf71b163020d7f97e0533c412d175bc642f628ef6 (patch)
tree13cb9eab294654fe4da2b5306b2a41fea8cfd449 /BaseTools/Source/Python/UPT/Object
parentcefbbb3d087143316fba077dd02964afb92f647f (diff)
downloadedk2-f71b163020d7f97e0533c412d175bc642f628ef6.tar.gz
edk2-f71b163020d7f97e0533c412d175bc642f628ef6.tar.bz2
edk2-f71b163020d7f97e0533c412d175bc642f628ef6.zip
BaseTools/UPT: Fix UNI file name issue
Fix the issue of creating duplicate UNI file names Fix the issue of removing packages Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hess Chen <hesheng.chen@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/UPT/Object')
-rw-r--r--BaseTools/Source/Python/UPT/Object/POM/ModuleObject.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/UPT/Object/POM/ModuleObject.py b/BaseTools/Source/Python/UPT/Object/POM/ModuleObject.py
index e85b8fa010..4052d28835 100644
--- a/BaseTools/Source/Python/UPT/Object/POM/ModuleObject.py
+++ b/BaseTools/Source/Python/UPT/Object/POM/ModuleObject.py
@@ -1,7 +1,7 @@
## @file
# This file is used to define a class object to describe a module
#
-# Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2011 - 2017, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials are licensed and made available
# under the terms and conditions of the BSD License which accompanies this
@@ -105,6 +105,7 @@ class ModuleHeaderObject(IdentificationObject, CommonHeaderObject, BinaryHeaderO
self.PiSpecificationVersion = ''
self.UefiSpecificationVersion = ''
self.UNIFlag = False
+ self.ModuleUniFile = ''
#
# SpecObject
#
@@ -208,6 +209,11 @@ class ModuleHeaderObject(IdentificationObject, CommonHeaderObject, BinaryHeaderO
def GetSupArchList(self):
return self.SupArchList
+ def SetModuleUniFile(self, ModuleUniFile):
+ self.ModuleUniFile = ModuleUniFile
+
+ def GetModuleUniFile(self):
+ return self.ModuleUniFile
##
# SourceFileObject
#