From: "Abner Chang" <abner.chang@hpe.com>
To: devel@edk2.groups.io
Cc: nickle.wang@hpe.com, Liming Gao <gaoliming@byosoft.com.cn>,
Andrew Fish <afish@apple.com>, Ray Ni <ray.ni@intel.com>
Subject: [PATCH] edk2-staging/EmulatorPkg: Add REDFISH_CLIENT macro
Date: Fri, 29 Oct 2021 16:31:17 +0800 [thread overview]
Message-ID: <20211029083117.158928-1-abner.chang@hpe.com> (raw)
Add REDFISH_CLIENT macro to control RedfishClientPkg modules.
Signed-off-by: Nickle Wang <nickle.wang@hpe.com>
Cc: Abner Chang <abner.chang@hpe.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Andrew Fish <afish@apple.com>
Cc: Ray Ni <ray.ni@intel.com>
---
EmulatorPkg/EmulatorPkg.dsc | 3 +++
EmulatorPkg/EmulatorPkg.fdf | 1 +
2 files changed, 4 insertions(+)
diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc
index 68371c96860..b53e24d6f57 100644
--- a/EmulatorPkg/EmulatorPkg.dsc
+++ b/EmulatorPkg/EmulatorPkg.dsc
@@ -41,6 +41,8 @@
# Redfish definition
#
DEFINE REDFISH_ENABLE = TRUE
+ DEFINE REDFISH_CLIENT = FALSE
+
!if $(REDFISH_ENABLE) == TRUE
#
@@ -491,6 +493,7 @@
EmulatorPkg/Hii2RedfishMemoryDxe/Hii2RedfishMemoryDxe.inf
!endif
!include RedfishPkg/Redfish.dsc.inc
+!include RedfishClientPkg/RedfishClient.dsc.inc
[BuildOptions]
#
diff --git a/EmulatorPkg/EmulatorPkg.fdf b/EmulatorPkg/EmulatorPkg.fdf
index 1d5f67c2695..5e770af186c 100644
--- a/EmulatorPkg/EmulatorPkg.fdf
+++ b/EmulatorPkg/EmulatorPkg.fdf
@@ -216,6 +216,7 @@ INF EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf
INF EmulatorPkg/Hii2RedfishMemoryDxe/Hii2RedfishMemoryDxe.inf
!endif
!include RedfishPkg/Redfish.fdf.inc
+!include RedfishClientPkg/RedfishClient.fdf.inc
INF FatPkg/EnhancedFatDxe/Fat.inf
--
2.21.0.windows.1
reply other threads:[~2021-10-29 8:31 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=20211029083117.158928-1-abner.chang@hpe.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