summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/UPT/Library/GlobalData.py
diff options
context:
space:
mode:
authorHess Chen <hesheng.chen@intel.com>2017-08-10 16:36:47 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2017-08-12 12:38:26 +0800
commit566368148c014702f98d6c37a3934b1c1e60dfd4 (patch)
treea2ec0a254f68cc78c6b51f8299cb0353c5636a3d /BaseTools/Source/Python/UPT/Library/GlobalData.py
parentef190542b4dbc4577ef7d1f99209199f0c1b6e66 (diff)
downloadedk2-566368148c014702f98d6c37a3934b1c1e60dfd4.tar.gz
edk2-566368148c014702f98d6c37a3934b1c1e60dfd4.tar.bz2
edk2-566368148c014702f98d6c37a3934b1c1e60dfd4.zip
BaseTools/UPT: Support Multiple Installation
Add a new feature to UPT to support installing multiple DIST packages in one time. 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/Library/GlobalData.py')
-rw-r--r--BaseTools/Source/Python/UPT/Library/GlobalData.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/UPT/Library/GlobalData.py b/BaseTools/Source/Python/UPT/Library/GlobalData.py
index 8f446d4888..1ae2417c2f 100644
--- a/BaseTools/Source/Python/UPT/Library/GlobalData.py
+++ b/BaseTools/Source/Python/UPT/Library/GlobalData.py
@@ -1,7 +1,7 @@
## @file
# This file is used to define common static strings and global data used by UPT
#
-# 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
@@ -87,7 +87,7 @@ gWARNING_AS_ERROR = False
#
# Used to specify the temp directory to hold the unpacked distribution files
#
-gUNPACK_DIR = None
+gUNPACK_DIR = []
#
# Flag used to mark whether the INF file is Binary INF or not.
@@ -109,3 +109,8 @@ gPackageDict = {}
# {FilePath: FileObj}
#
gLIBINSTANCEDICT = {}
+
+#
+# Store the list of DIST
+#
+gTO_BE_INSTALLED_DIST_LIST = []