Skip to content

Commit

Permalink
More place to convert build type
Browse files Browse the repository at this point in the history
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1316 7335b38e-4728-0410-8992-fb3ffe349368
  • Loading branch information
jwang36 committed Aug 29, 2008
1 parent 831a736 commit a81599b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Python/Workspace/WorkspaceDatabase.py
Expand Up @@ -1324,7 +1324,7 @@ def _GetModuleType(self):
self._GetHeaderInfo()
if self._ModuleType == None:
self._ModuleType = 'BASE'
self._BuildType = self._ModuleType
self._BuildType = self._ModuleType.upper()
if self._ModuleType not in SUP_MODULE_LIST:
self._ModuleType = "USER_DEFINED"
return self._ModuleType
Expand All @@ -1336,7 +1336,7 @@ def _GetComponentType(self):
self._GetHeaderInfo()
if self._ComponentType == None:
self._ComponentType = 'USER_DEFINED'
self._BuildType = self._ComponentType
self._BuildType = self._ComponentType.upper()
return self._ComponentType

## Retrieve "BUILD_TYPE"
Expand Down

0 comments on commit a81599b

Please sign in to comment.