]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg: list module-internal header files in INF [Sources]
authorLaszlo Ersek <lersek@redhat.com>
Fri, 19 Jul 2019 15:18:01 +0000 (17:18 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Mon, 22 Jul 2019 22:20:26 +0000 (00:20 +0200)
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 <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf
ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf

index f17a9301a4aca7833de98b4ca523e7657e24324f..a647c016878d846acb76124fdcc04d80a5fab2f8 100644 (file)
@@ -17,6 +17,7 @@
   ENTRY_POINT                    = NorFlashInitialise\r
 \r
 [Sources.common]\r
+  NorFlashDxe.h\r
   NorFlashDxe.c\r
   NorFlashFvbDxe.c\r
   NorFlashBlockIoDxe.c\r
index 4c62311f5d41cdaa81d8c39fd52de19d63c30436..8224617f20ab3728a3acb45ad2e66a0c9c9d009c 100644 (file)
@@ -17,6 +17,7 @@
   LIBRARY_CLASS                  = RealTimeClockLib|DXE_RUNTIME_DRIVER\r
 \r
 [Sources.common]\r
+  PL031RealTimeClock.h\r
   PL031RealTimeClockLib.c\r
 \r
 [Packages]\r
index 0e112710dcfc4437a5d301557d441180fc3cb402..f2ac45d171bcda2adfdb8dd23ecf1d90fa625821 100644 (file)
@@ -16,6 +16,7 @@
 \r
 [Sources.common]\r
   MainMPCore.c\r
+  PrePeiCore.h\r
   PrePeiCore.c\r
 \r
 [Sources.ARM]\r
index c163a818c4077d1627b9eaf059f19ecb216442bf..84c319c3679bb61b15ebcae755b331727d76f087 100644 (file)
@@ -15,6 +15,7 @@
   VERSION_STRING                 = 1.0\r
 \r
 [Sources.common]\r
+  PrePeiCore.h\r
   PrePeiCore.c\r
   MainUniCore.c\r
 \r