From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: redhat.com, ip: 209.132.183.28, mailfrom: lersek@redhat.com) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by groups.io with SMTP; Fri, 19 Jul 2019 09:43:26 -0700 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 102F081F35; Fri, 19 Jul 2019 16:43:26 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-195.ams2.redhat.com [10.36.116.195]) by smtp.corp.redhat.com (Postfix) with ESMTP id 186665C226; Fri, 19 Jul 2019 16:43:24 +0000 (UTC) From: "Laszlo Ersek" To: edk2-devel-groups-io Cc: Ard Biesheuvel , Leif Lindholm Subject: [PATCH 2/4] ArmPlatformPkg: list module-internal header files in INF [Sources] Date: Fri, 19 Jul 2019 18:43:17 +0200 Message-Id: <20190719164319.9070-3-lersek@redhat.com> In-Reply-To: <20190719164319.9070-1-lersek@redhat.com> References: <20190719164319.9070-1-lersek@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 19 Jul 2019 16:43:26 +0000 (UTC) Content-Transfer-Encoding: quoted-printable 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: Ard Biesheuvel Cc: Leif Lindholm Signed-off-by: Laszlo Ersek --- ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf |= 1 + ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf |= 1 + ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf |= 1 + ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf |= 1 + 4 files changed, 4 insertions(+) diff --git a/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf b/ArmPlat= formPkg/Drivers/NorFlashDxe/NorFlashDxe.inf index f17a9301a4ac..a647c016878d 100644 --- a/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf +++ b/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf @@ -17,6 +17,7 @@ [Defines] ENTRY_POINT =3D NorFlashInitialise =20 [Sources.common] + NorFlashDxe.h NorFlashDxe.c NorFlashFvbDxe.c NorFlashBlockIoDxe.c diff --git a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeCl= ockLib.inf b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeCl= ockLib.inf index 4c62311f5d41..8224617f20ab 100644 --- a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.= inf +++ b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.= inf @@ -17,6 +17,7 @@ [Defines] LIBRARY_CLASS =3D RealTimeClockLib|DXE_RUNTIME_DRIVER =20 [Sources.common] + PL031RealTimeClock.h PL031RealTimeClockLib.c =20 [Packages] diff --git a/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf b/ArmPlatform= Pkg/PrePeiCore/PrePeiCoreMPCore.inf index 0e112710dcfc..f2ac45d171bc 100644 --- a/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf +++ b/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf @@ -16,6 +16,7 @@ [Defines] =20 [Sources.common] MainMPCore.c + PrePeiCore.h PrePeiCore.c =20 [Sources.ARM] diff --git a/ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf b/ArmPlatfor= mPkg/PrePeiCore/PrePeiCoreUniCore.inf index c163a818c407..84c319c3679b 100644 --- a/ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf +++ b/ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf @@ -15,6 +15,7 @@ [Defines] VERSION_STRING =3D 1.0 =20 [Sources.common] + PrePeiCore.h PrePeiCore.c MainUniCore.c =20 --=20 2.19.1.3.g30247aa5d201