ArmPkg: list module-internal header files in INF [Sources]

The BaseTools build feature introduced for TianoCore#1804 / in commit
1fa6699e6c ("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: Leif Lindholm <leif.lindholm@linaro.org>
This commit is contained in:
Laszlo Ersek 2019-07-19 17:08:12 +02:00
parent bb824f685d
commit 4cef711d63
3 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,7 @@
ENTRY_POINT = InterruptDxeInitialize
[Sources.common]
ArmGicDxe.h
ArmGicDxe.c
ArmGicCommonDxe.c

View File

@ -18,9 +18,11 @@
LIBRARY_CLASS = ArmLib
[Sources]
ArmLibPrivate.h
ArmLib.c
[Sources.ARM]
Arm/ArmV7Lib.h
Arm/ArmV7Lib.c
Arm/ArmLibSupport.S | GCC
@ -34,6 +36,7 @@
Arm/ArmV7ArchTimerSupport.asm | RVCT
[Sources.AARCH64]
AArch64/AArch64Lib.h
AArch64/AArch64Lib.c
AArch64/ArmLibSupport.S

View File

@ -26,6 +26,7 @@
[Sources]
PlatformBm.c
PlatformBm.h
[Packages]
EmbeddedPkg/EmbeddedPkg.dec