Disabled output when building build database, which would confuse users of GenFds.
authorjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Fri, 15 Feb 2008 07:38:47 +0000 (07:38 +0000)
committerjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Fri, 15 Feb 2008 07:38:47 +0000 (07:38 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1004 7335b38e-4728-0410-8992-fb3ffe349368

Source/Python/GenFds/GenFds.py

index bb93213..7ea0850 100644 (file)
@@ -203,7 +203,11 @@ def main():
                 GenFdsGlobalVariable.ErrorLogger("No such an FV in FDF file.")\r
                 sys.exit(1)\r
        \r
+        # Disable output of parsing DSC/INF/DEC temporarily\r
+        OldLevel = EdkLogger.GetLevel()\r
+        EdkLogger.SetLevel(EdkLogger.QUIET)\r
         BuildWorkSpace.GenBuildDatabase({}, FdfParserObj.Profile.InfList)\r
+        EdkLogger.SetLevel(OldLevel)\r
         \r
         """Call GenFds"""\r
         GenFds.GenFd(OutputDir, FdfParserObj, BuildWorkSpace, ArchList)\r