audk/BaseTools/Source/Python/Workspace
Kinney, Michael D 45b0be3840 BaseTools/Build: Do not use Common.lib in Structured PCD app
https://bugzilla.tianocore.org/show_bug.cgi?id=2496

Reduce the build and env dependencies for the Structured PCD
application by removing the dependency on Common.lib that
is only built when BaseTools is built which does not
happen if pre-compiled BaseToools are used.  Change the
makefile for the Structure PCD application to build all
files from sources which adds PcdValueCommon.c to the
makefile.  Also remove PcdValueCommon.c from Common.lib.

With the change to the makefile for the Structured PCD
application, multiple C files are compiled.  Only
PcdValueInit.c contains the extra information expected
by the error/warning message parser.  Only parse the
DSC line number into an error message if there is an
error/warning in PcdValueInit.c.  Errors/warnings in
other files should be passed through.  This fixes a build
failure with no useful log information that was observed
when there was a compiler error in PcdValueCommon.c.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>

Reviewed-by: Bob Feng <bob.c.feng@intel.com>
2020-02-07 07:04:16 +00:00
..
BuildClassObject.py BaseTools: Sort Pcd settings to make PcdTokenNumber be fixed 2019-09-10 08:39:19 +08:00
DecBuildData.py BaseTools: Correct the value assignment for StructurePcd 2019-05-10 17:06:44 +08:00
DscBuildData.py BaseTools/Build: Do not use Common.lib in Structured PCD app 2020-02-07 07:04:16 +00:00
InfBuildData.py BaseTools: Fixed regression issue for building !x86 builds 2019-08-29 11:10:29 +08:00
MetaDataTable.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
MetaFileCommentParser.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
MetaFileParser.py BaseTools:Enhance the way to handling included dsc file 2019-12-04 07:56:55 +00:00
MetaFileTable.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
WorkspaceCommon.py BaseTools:Add [packages] section in dsc file 2019-11-20 07:46:42 +00:00
WorkspaceDatabase.py BaseTools:Add [packages] section in dsc file 2019-11-20 07:46:42 +00:00
__init__.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00