self._BuildType = self._ComponentType.upper()\r
if self._ComponentType in COMPONENT_TO_MODULE_MAP_DICT:\r
self._ModuleType = COMPONENT_TO_MODULE_MAP_DICT[self._ComponentType]\r
- if self._ComponentType == 'LIBRARY':\r
+ if self._ComponentType == EDK_COMPONENT_TYPE_LIBRARY:\r
self._LibraryClass = [LibraryClassObject(self._BaseName, SUP_MODULE_LIST)]\r
# make use some [nmake] section macros\r
Macros = self._Macros\r