From 8fe388d99359ea21475428cfcd7b3946262c2e6b Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Sat, 10 Mar 2018 21:14:06 +0100 Subject: [PATCH 1/1] OvmfPkg/PlatformDebugLibIoPort: list "DebugLibDetect.h" in the INF files Among other things, "DebugLibDetect.h" declares the PlatformDebugLibIoPortFound() function. The function is called from "DebugLib.c", which is included in both library instances. The function is defined separately per library instance, in "DebugLibDetectRom.c" and "DebugLibDetect.c", respectively. Cc: Ard Biesheuvel Cc: Jordan Justen Suggested-by: Michael Kinney Ref: http://mid.mail-archive.com/E92EE9817A31E24EB0585FDF735412F56327F7D3@ORSMSX113.amr.corp.intel.com Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek Reviewed-by: Ard Biesheuvel Reviewed-by: Jordan Justen --- .../Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf | 1 + .../Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf | 1 + 2 files changed, 2 insertions(+) diff --git a/OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf b/OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf index de3c2f542b..baa90a3d43 100644 --- a/OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf +++ b/OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf @@ -31,6 +31,7 @@ [Sources] DebugLib.c DebugLibDetect.c + DebugLibDetect.h [Packages] MdePkg/MdePkg.dec diff --git a/OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf b/OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf index 491c0318de..f95a105864 100644 --- a/OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf +++ b/OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf @@ -30,6 +30,7 @@ [Sources] DebugLib.c + DebugLibDetect.h DebugLibDetectRom.c [Packages] -- 2.39.2