Revised error message for a module that is not required by a Platform when building...
authorlhauch <lhauch@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 14 Nov 2007 19:39:21 +0000 (19:39 +0000)
committerlhauch <lhauch@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 14 Nov 2007 19:39:21 +0000 (19:39 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@876 7335b38e-4728-0410-8992-fb3ffe349368

Source/Python/AutoGen/AutoGen.py

index 2a788e4..f2e0f7c 100755 (executable)
@@ -507,8 +507,9 @@ class PlatformAutoGen:
                                                       % (Arch, self.PlatformFile, self.Workspace.SupArchList))\r
         if Arch not in self.ArchList:\r
             EdkLogger.error("AutoGen", AUTOGEN_ERROR, "[%s] is not supported by current build configuration!" % Arch)\r
+\r
         if str(Module) not in self.ModuleDatabase[Arch]:\r
-            EdkLogger.error("AutoGen", AUTOGEN_ERROR, "[%s] [%s] is not supported by active platform [%s]!"\r
+            EdkLogger.error("AutoGen", AUTOGEN_ERROR, "Module [%s] [%s] is not required by active platform [%s]!"\r
                                                       % (Module, Arch, self.PlatformFile))\r
 \r
     ## Find the package containing the module\r