self.FfsOutputFileList = []\r
\r
# Compose a dict object containing information used to do replacement in template\r
- def _CreateTemplateDict(self):\r
+ @property\r
+ def _TemplateDict(self):\r
if self._FileType not in self._SEP_:\r
EdkLogger.error("build", PARAMETER_INVALID, "Invalid Makefile type [%s]" % self._FileType,\r
ExtraData="[%s]" % str(self._AutoGenObject))\r
\r
return DependencyList\r
\r
- _TemplateDict = property(_CreateTemplateDict)\r
-\r
## CustomMakefile class\r
#\r
# This class encapsules makefie and its generation for module. It uses template to generate\r
self.IntermediateDirectoryList = ["$(DEBUG_DIR)", "$(OUTPUT_DIR)"]\r
\r
# Compose a dict object containing information used to do replacement in template\r
- def _CreateTemplateDict(self):\r
+ @property\r
+ def _TemplateDict(self):\r
Separator = self._SEP_[self._FileType]\r
MyAgo = self._AutoGenObject\r
if self._FileType not in MyAgo.CustomMakefile:\r
\r
return MakefileTemplateDict\r
\r
- _TemplateDict = property(_CreateTemplateDict)\r
-\r
## PlatformMakefile class\r
#\r
# This class encapsules makefie and its generation for platform. It uses\r
self.LibraryMakeCommandList = []\r
\r
# Compose a dict object containing information used to do replacement in template\r
- def _CreateTemplateDict(self):\r
+ @property\r
+ def _TemplateDict(self):\r
Separator = self._SEP_[self._FileType]\r
\r
MyAgo = self._AutoGenObject\r
DirList.append(os.path.join(self._AutoGenObject.BuildDir, LibraryAutoGen.BuildDir))\r
return DirList\r
\r
- _TemplateDict = property(_CreateTemplateDict)\r
-\r
## TopLevelMakefile class\r
#\r
# This class encapsules makefie and its generation for entrance makefile. It\r
self.IntermediateDirectoryList = []\r
\r
# Compose a dict object containing information used to do replacement in template\r
- def _CreateTemplateDict(self):\r
+ @property\r
+ def _TemplateDict(self):\r
Separator = self._SEP_[self._FileType]\r
\r
# any platform autogen object is ok because we just need common information\r
DirList.append(os.path.join(self._AutoGenObject.BuildDir, LibraryAutoGen.BuildDir))\r
return DirList\r
\r
- _TemplateDict = property(_CreateTemplateDict)\r
-\r
# This acts like the main() function for the script, unless it is 'import'ed into another script.\r
if __name__ == '__main__':\r
pass\r