]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Add two macros into AutoGenObject macro dict
authorYonghong Zhu <yonghong.zhu@intel.com>
Fri, 11 Mar 2016 10:58:44 +0000 (18:58 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Tue, 15 Mar 2016 08:59:52 +0000 (16:59 +0800)
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>
BaseTools/Source/Python/AutoGen/AutoGen.py

index 05ce72bd914e53091d5dd162a834faac45146002..7106a7c54c64211d90bf6a74eb22c67c237560c2 100644 (file)
@@ -2378,6 +2378,8 @@ class ModuleAutoGen(AutoGen):
             self._Macro["MODULE_BUILD_DIR"      ] = self.BuildDir\r
             self._Macro["OUTPUT_DIR"            ] = self.OutputDir\r
             self._Macro["DEBUG_DIR"             ] = self.DebugDir\r
+            self._Macro["DEST_DIR_OUTPUT"       ] = self.OutputDir\r
+            self._Macro["DEST_DIR_DEBUG"        ] = self.DebugDir\r
         return self._Macro\r
 \r
     ## Return the module build data object\r