[PATCH RESEND 5/5] edk2-staging/RedfishPkg: Enable Redfish Platform Config Protocol build process


Abner Chang
 

Enable RedfishPlatformConfigDxe driver and the corresponding
library to build.

Signed-off-by: Nickle Wang <nickle.wang@hpe.com>
Cc: Abner Chang <abner.chang@hpe.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
---
RedfishPkg/RedfishComponents.dsc.inc | 2 ++
RedfishPkg/RedfishLibs.dsc.inc | 2 ++
RedfishPkg/RedfishPkg.dsc | 4 ++++
RedfishPkg/Redfish.fdf.inc | 2 ++
4 files changed, 10 insertions(+)

diff --git a/RedfishPkg/RedfishComponents.dsc.inc b/RedfishPkg/RedfishComponents.dsc.inc
index ccc62edf6a0..d0a390f5f0f 100644
--- a/RedfishPkg/RedfishComponents.dsc.inc
+++ b/RedfishPkg/RedfishComponents.dsc.inc
@@ -19,4 +19,6 @@
RedfishPkg/RedfishCredentialDxe/RedfishCredentialDxe.inf
RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.inf
RedfishPkg/RedfishConfigHandler/RedfishConfigHandlerDriver.inf
+ RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigDxe.inf
+ MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf
!endif
diff --git a/RedfishPkg/RedfishLibs.dsc.inc b/RedfishPkg/RedfishLibs.dsc.inc
index 50e5dda7735..ed279966c5c 100644
--- a/RedfishPkg/RedfishLibs.dsc.inc
+++ b/RedfishPkg/RedfishLibs.dsc.inc
@@ -17,5 +17,7 @@
RedfishCrtLib|RedfishPkg/PrivateLibrary/RedfishCrtLib/RedfishCrtLib.inf
JsonLib|RedfishPkg/Library/JsonLib/JsonLib.inf
RedfishLib|RedfishPkg/PrivateLibrary/RedfishLib/RedfishLib.inf
+ HiiUtilityLib|RedfishPkg/Library/HiiUtilityLib/HiiUtilityLib.inf
+ RedfishPlatformConfigLib|RedfishPkg/Library/RedfishPlatformConfigLib/RedfishPlatformConfigLib.inf
!endif

diff --git a/RedfishPkg/RedfishPkg.dsc b/RedfishPkg/RedfishPkg.dsc
index 16139146ff8..fa704b826fe 100644
--- a/RedfishPkg/RedfishPkg.dsc
+++ b/RedfishPkg/RedfishPkg.dsc
@@ -38,6 +38,8 @@
HttpIoLib|NetworkPkg/Library/DxeHttpIoLib/DxeHttpIoLib.inf
NetLib|NetworkPkg/Library/DxeNetLib/DxeNetLib.inf
DpcLib|NetworkPkg/Library/DxeDpcLib/DxeDpcLib.inf
+ HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
+ UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
RedfishPlatformCredentialLib|RedfishPkg/Library/PlatformCredentialLibNull/PlatformCredentialLibNull.inf
RedfishContentCodingLib|RedfishPkg/Library/RedfishContentCodingLibNull/RedfishContentCodingLibNull.inf

@@ -58,5 +60,7 @@
RedfishPkg/PrivateLibrary/RedfishCrtLib/RedfishCrtLib.inf
RedfishPkg/Library/JsonLib/JsonLib.inf
RedfishPkg/PrivateLibrary/RedfishLib/RedfishLib.inf
+ RedfishPkg/Library/HiiUtilityLib/HiiUtilityLib.inf
+ RedfishPkg/Library/RedfishPlatformConfigLib/RedfishPlatformConfigLib.inf

!include RedfishPkg/Redfish.dsc.inc
diff --git a/RedfishPkg/Redfish.fdf.inc b/RedfishPkg/Redfish.fdf.inc
index 60f31cfcee0..c0a12352d97 100644
--- a/RedfishPkg/Redfish.fdf.inc
+++ b/RedfishPkg/Redfish.fdf.inc
@@ -17,4 +17,6 @@
INF RedfishPkg/RedfishCredentialDxe/RedfishCredentialDxe.inf
INF RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.inf
INF RedfishPkg/RedfishConfigHandler/RedfishConfigHandlerDriver.inf
+ INF RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigDxe.inf
+ INF MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf
!endif
--
2.21.0.windows.1