From: Star Zeng <star.zeng@intel.com>
To: edk2-devel@lists.01.org
Cc: Star Zeng <star.zeng@intel.com>, Liming Gao <liming.gao@intel.com>
Subject: [PATCH] IntelFrameworkPkg FrameworkUefiLib: Add missing lib and GUID reference
Date: Wed, 19 Sep 2018 09:48:40 +0800 [thread overview]
Message-ID: <1537321720-9656-1-git-send-email-star.zeng@intel.com> (raw)
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.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@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
reply other threads:[~2018-09-19 1:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1537321720-9656-1-git-send-email-star.zeng@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox