From 14239f66034c9fc5ab2e8ae283f9174c4f78f360 Mon Sep 17 00:00:00 2001 From: Hess Chen Date: Thu, 25 Jun 2015 08:01:59 +0000 Subject: BaseTools/Ecc: Add a checkpoint for invalid DEC file. Add a checkpoint to check whether a header file in 'include' directory is defined in DEC file Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hess Chen Reviewed-by: YangX Li git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17708 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Source/Python/Ecc/config.ini | 2 ++ 1 file changed, 2 insertions(+) (limited to 'BaseTools/Source/Python/Ecc/config.ini') diff --git a/BaseTools/Source/Python/Ecc/config.ini b/BaseTools/Source/Python/Ecc/config.ini index 89c17a5ef2..b3c1204aed 100644 --- a/BaseTools/Source/Python/Ecc/config.ini +++ b/BaseTools/Source/Python/Ecc/config.ini @@ -230,6 +230,8 @@ MetaDataFileCheckLibraryInstanceDependent = 1 MetaDataFileCheckLibraryInstanceOrder = 1 # Check whether the unnecessary inclusion of library classes in the INF file MetaDataFileCheckLibraryNoUse = 1 +# Check the header file in Include\Library directory whether be defined in the package DEC file. +MetaDataFileCheckLibraryDefinedInDec = 1 # Check whether an INF file is specified in the FDF file, but not in the DSC file, then the INF file must be for a Binary module only MetaDataFileCheckBinaryInfInFdf = 1 # Not to report error and warning related OS include file such as "windows.h" and "stdio.h". -- cgit v1.2.3