summaryrefslogtreecommitdiffstats
path: root/BaseTools
diff options
context:
space:
mode:
authorYonghong Zhu <yonghong.zhu@intel.com>2016-03-11 18:58:44 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2016-03-15 16:59:52 +0800
commitdf1e1b63d4c54e1ed5ea0b697ac3fba903c28009 (patch)
tree9e6a1de96255c356dc94af4012c7a571757bd295 /BaseTools
parentf9b940ecf93cdb62ee9b97586135b2a41a7bf887 (diff)
downloadedk2-df1e1b63d4c54e1ed5ea0b697ac3fba903c28009.tar.gz
edk2-df1e1b63d4c54e1ed5ea0b697ac3fba903c28009.tar.bz2
edk2-df1e1b63d4c54e1ed5ea0b697ac3fba903c28009.zip
BaseTools: Add two macros into AutoGenObject macro dict
Add DEST_DIR_OUTPUT and DEST_DIR_DEBUG into AutoGenObject macro dict. Because some module (eg: BaseUefiCpuLib) may use this macro in the make file. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools')
-rw-r--r--BaseTools/Source/Python/AutoGen/AutoGen.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/AutoGen/AutoGen.py b/BaseTools/Source/Python/AutoGen/AutoGen.py
index 05ce72bd91..7106a7c54c 100644
--- a/BaseTools/Source/Python/AutoGen/AutoGen.py
+++ b/BaseTools/Source/Python/AutoGen/AutoGen.py
@@ -2378,6 +2378,8 @@ class ModuleAutoGen(AutoGen):
self._Macro["MODULE_BUILD_DIR" ] = self.BuildDir
self._Macro["OUTPUT_DIR" ] = self.OutputDir
self._Macro["DEBUG_DIR" ] = self.DebugDir
+ self._Macro["DEST_DIR_OUTPUT" ] = self.OutputDir
+ self._Macro["DEST_DIR_DEBUG" ] = self.DebugDir
return self._Macro
## Return the module build data object