REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1189
GetVariable(2) and GetEfiGlobalVariable(2) are using gRT and gEfiGlobalVariableGuid. When I was doing build test for https://lists.01.org/pipermail/edk2-devel/2018-September/029832.html, I tried just building library, it could build pass, but when I was trying linking this library with a driver, there will be build failure. This patch adds the missing UefiRuntimeServicesTableLib and gEfiGlobalVariableGuid in inf. Cc: Liming Gao <liming....@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.z...@intel.com> --- IntelFrameworkPkg/Library/FrameworkUefiLib/FrameworkUefiLib.inf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IntelFrameworkPkg/Library/FrameworkUefiLib/FrameworkUefiLib.inf b/IntelFrameworkPkg/Library/FrameworkUefiLib/FrameworkUefiLib.inf index 2d333b1b4b2a..f1a4128a7e8d 100644 --- a/IntelFrameworkPkg/Library/FrameworkUefiLib/FrameworkUefiLib.inf +++ b/IntelFrameworkPkg/Library/FrameworkUefiLib/FrameworkUefiLib.inf @@ -52,10 +52,12 @@ [LibraryClasses] BaseLib UefiBootServicesTableLib DevicePathLib + UefiRuntimeServicesTableLib [Guids] gEfiEventReadyToBootGuid ## SOMETIMES_CONSUMES ## Event gEfiEventLegacyBootGuid ## SOMETIMES_CONSUMES ## Event + gEfiGlobalVariableGuid ## SOMETIMES_CONSUMES ## Variable gEfiAcpi20TableGuid ## SOMETIMES_CONSUMES ## SystemTable gEfiAcpi10TableGuid ## SOMETIMES_CONSUMES ## SystemTable -- 2.7.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel