@@ -20,16 +20,7 @@
PACKAGE_VERSION = 0.1
[Includes]
- Common
- ../../../../AmdModulePkg/Common
- ../../../../AmdModulePkg/Include
- ../../../../ArmPkg/Include
- ../../../../ArmPkg/Library
- ../../../../EmbeddedPkg/Include
- ../../../../IntelFrameworkPkg/Include
- ../../../../MdeModulePkg/Include
- ../../../../MdePkg/Include
- ../../../../ShellPkg/Include
+ Common
[LibraryClasses]
@@ -36,8 +36,10 @@
ArmPkg/ArmPkg.dec
EmbeddedPkg/EmbeddedPkg.dec
MdePkg/MdePkg.dec
+ MdeModulePkg/MdeModulePkg.dec
AmdModulePkg/AmdModulePkg.dec
OpenPlatformPkg/Platforms/AMD/Styx/AmdStyx.dec
+ ShellPkg/ShellPkg.dec
[LibraryClasses]
UefiDriverEntryPoint
Package .DEC files should only describe include directories that belong to the package, otherwise including one package will pull in headers from another, obfuscating the dependencies between them. For instance, as this patch shows, FdtDxe depends on ShellPkg and MdeModulePkg, so these dependencies should be made explicit rather than pulling them in via another package. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> --- Platforms/AMD/Styx/AmdStyx.dec | 11 +---------- Platforms/AMD/Styx/OverdriveBoard/FdtDxe/FdtDxe.inf | 2 ++ 2 files changed, 3 insertions(+), 10 deletions(-)