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
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#82922): https://edk2.groups.io/g/devel/message/82922
Mute This Topic: https://groups.io/mt/86672330/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-