From 9e55ce6b753460b940ad9a8ff74b606216da0b4c Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Fri, 19 Jul 2019 17:31:01 +0200 Subject: [PATCH] CryptoPkg/BaseCryptLib: list module-internal header files in INF [Sources] The BaseTools build feature introduced for TianoCore#1804 / in commit 1fa6699e6cd4 ("BaseTools: Add a checking for Sources section in INF file", 2019-06-10) logs some (non-fatal) warnings about unlisted internal header files. List those files explicitly. Note: header files are added in lexicographical order only if the underlying INF file already keeps the [Sources] and [LibraryClasses] sections in lexicographical order. Otherwise, header files are added in rough "logical" order. Cc: Jian Wang Cc: Ting Ye Signed-off-by: Laszlo Ersek Reviewed-by: Philippe Mathieu-Daude Reviewed-by: Jian J Wang --- CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf | 1 + CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf | 1 + CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf | 1 + 3 files changed, 3 insertions(+) diff --git a/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf index 4c43537476..99dbad23ed 100644 --- a/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf @@ -34,6 +34,7 @@ # [Sources] + InternalCryptLib.h Hash/CryptMd4Null.c Hash/CryptMd5.c Hash/CryptSha1.c diff --git a/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf index a59079d99e..0e58d2b5b0 100644 --- a/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf @@ -33,6 +33,7 @@ # [Sources] + InternalCryptLib.h Hash/CryptMd4Null.c Hash/CryptMd5.c Hash/CryptSha1.c diff --git a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf index 3fd7d65abf..c79f2bf4c6 100644 --- a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf @@ -33,6 +33,7 @@ # [Sources] + InternalCryptLib.h Hash/CryptMd4Null.c Hash/CryptMd5.c Hash/CryptSha1.c -- 2.39.2