From: Laszlo Ersek Date: Sat, 10 Mar 2018 20:14:06 +0000 (+0100) Subject: OvmfPkg/PlatformDebugLibIoPort: list "DebugLibDetect.h" in the INF files X-Git-Tag: edk2-stable201903~2176 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=8fe388d99359ea21475428cfcd7b3946262c2e6b;hp=332de9a3b08fa67a73dee018084d1c3282c97612 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 --- 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]