Skip to content

Commit

Permalink
EmbeddedPkg: list module-internal header files in INF [Sources]
Browse files Browse the repository at this point in the history
The BaseTools build feature introduced for TianoCore#1804 / in commit
1fa6699 ("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 <[email protected]>
Cc: Leif Lindholm <[email protected]>
Signed-off-by: Laszlo Ersek <[email protected]>
Reviewed-by: Philippe Mathieu-Daude <[email protected]>
Reviewed-by: Leif Lindholm <[email protected]>
  • Loading branch information
lersek committed Jul 22, 2019
1 parent 9e55ce6 commit f6f1e0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions EmbeddedPkg/Library/FdtLib/FdtLib.inf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#

[Sources]
libfdt_internal.h
fdt_empty_tree.c
fdt_overlay.c
fdt_ro.c
Expand Down
1 change: 1 addition & 0 deletions EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#

[Sources.common]
PrePi.h
FwVol.c
PrePiLib.c

Expand Down

0 comments on commit f6f1e0b

Please sign in to comment.