mirror_edk2/BaseTools/Source/C
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
..
BrotliCompress BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
Common BaseTools/Build: Do not use Common.lib in Structured PCD app 2020-02-07 07:04:16 +00:00
DevicePath BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
EfiRom BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
GenCrc32 BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
GenFfs BaseTools: Fixed issue in MultiThread Genfds function 2019-04-10 13:32:10 +08:00
GenFv BaseTools: Add support for parseing map files generated by CLANG9 in GenFv 2019-11-08 08:29:36 +08:00
GenFw BaseTools/GenFw AARCH64: disregard ADRP instructions that are patched already 2019-11-08 08:58:15 +01:00
GenSec BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
Include BaseTools: use stdint.h for GCC ProcessorBind.h typedefs 2019-10-01 10:55:38 +01:00
LzmaCompress BaseTools/LzmaCompress: Fix the option "d" dictionary size 2019-09-30 15:04:08 +08:00
Makefiles edksetup.bat stuck on unicode locale Windows 2019-12-23 01:55:21 +00:00
PyEfiCompressor BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
Split BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
TianoCompress BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
VfrCompile BaseTools: strip trailing whitespace 2019-10-04 11:18:22 +01:00
VolInfo BaseTools: Check the fread function and avoid dead loop 2019-05-10 17:18:00 +08:00
GNUmakefile BaseTools: strip trailing whitespace 2019-10-04 11:18:22 +01:00
Makefile BaseTools: Robustness for multiple build environments 2019-09-11 22:30:16 +08:00