mirror of
				https://git.proxmox.com/git/mirror_edk2
				synced 2025-10-27 09:03:41 +00:00 
			
		
		
		
	 45b0be3840
			
		
	
	
		45b0be3840
		
	
	
	
	
		
			
			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>
		
			
				
	
	
		
			34 lines
		
	
	
		
			646 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			646 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| ## @file
 | |
| # GNU/Linux makefile for 'Common' module build.
 | |
| #
 | |
| # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
 | |
| # SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| #
 | |
| MAKEROOT ?= ..
 | |
| 
 | |
| # VPATH = ..
 | |
| 
 | |
| LIBNAME = Common
 | |
| 
 | |
| OBJECTS = \
 | |
|   BasePeCoff.o \
 | |
|   BinderFuncs.o \
 | |
|   CommonLib.o \
 | |
|   Crc32.o \
 | |
|   Decompress.o \
 | |
|   EfiCompress.o \
 | |
|   EfiUtilityMsgs.o \
 | |
|   FirmwareVolumeBuffer.o \
 | |
|   FvLib.o \
 | |
|   MemoryFile.o \
 | |
|   MyAlloc.o \
 | |
|   OsPath.o \
 | |
|   ParseGuidedSectionTools.o \
 | |
|   ParseInf.o \
 | |
|   PeCoffLoaderEx.o \
 | |
|   SimpleFileParsing.o \
 | |
|   StringFuncs.o \
 | |
|   TianoCompress.o
 | |
| 
 | |
| include $(MAKEROOT)/Makefiles/lib.makefile
 |