public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-redfish-client][PATCH 2/2] RedfishClientPkg: Add Redfish memory edk2 modules to build
@ 2023-05-07 13:38 Nickle Wang
  2023-05-07 13:44 ` Chang, Abner
  0 siblings, 1 reply; 2+ messages in thread
From: Nickle Wang @ 2023-05-07 13:38 UTC (permalink / raw)
  To: devel; +Cc: Abner Chang, Igor Kulchytskyy

We plan to modify the build tool to pull in the corresponding Redfish
resource converters and feature drivers into build according to the
"x-uefi-redfish" language that applied on HII options in VFR files.

Signed-off-by: Nickle Wang <nicklew@nvidia.com>
Cc: Abner Chang <abner.chang@amd.com>
Cc: Igor Kulchytskyy <igork@ami.com>
---
 RedfishClientPkg/RedfishClientComponents.dsc.inc | 8 +++++---
 RedfishClientPkg/RedfishClientLibs.dsc.inc       | 3 +++
 RedfishClientPkg/RedfishClient.fdf.inc           | 3 +++
 3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/RedfishClientPkg/RedfishClientComponents.dsc.inc b/RedfishClientPkg/RedfishClientComponents.dsc.inc
index 70a61076..128bb8b9 100644
--- a/RedfishClientPkg/RedfishClientComponents.dsc.inc
+++ b/RedfishClientPkg/RedfishClientComponents.dsc.inc
@@ -15,11 +15,13 @@
 !if $(REDFISH_CLIENT) == TRUE
   RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.inf
   RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.inf
+  RedfishClientPkg/Features/Memory/V1_7_1/Dxe/RedfishMemoryDxe.inf
+  RedfishClientPkg/Features/RedfishMemoryCollectionDxe/RedfishMemoryCollectionDxe.inf
 !endif
 
 !if $(REDFISH_CLIENT_ALL_AUTOGENED) == TRUE
   !include RedfishClientPkg/RedfishJsonStructureDxe.dsc.inc
+!else
+  RedfishClientPkg/Converter/Memory/v1_7_1/RedfishMemory_V1_7_1_Dxe.inf
+  RedfishClientPkg/Converter/MemoryCollection/RedfishMemoryCollection_Dxe.inf
 !endif
-
-  RedfishClientPkg/Features/Memory/V1_7_1/Dxe/RedfishMemoryDxe.inf
-  RedfishClientPkg/Features/RedfishMemoryCollectionDxe/RedfishMemoryCollectionDxe.inf
diff --git a/RedfishClientPkg/RedfishClientLibs.dsc.inc b/RedfishClientPkg/RedfishClientLibs.dsc.inc
index a23b9478..5456b72a 100644
--- a/RedfishClientPkg/RedfishClientLibs.dsc.inc
+++ b/RedfishClientPkg/RedfishClientLibs.dsc.inc
@@ -12,6 +12,9 @@
 ##
 !if $(REDFISH_CLIENT_ALL_AUTOGENED) == TRUE
  !include RedfishClientPkg/RedfishJsonStructureLib.dsc.inc
+!else
+  MemoryV1_7_1Lib|RedfishClientPkg/ConverterLib/edk2library/Memory/v1_7_1/Lib.inf
+  MemoryCollectionLib|RedfishClientPkg/ConverterLib/edk2library/MemoryCollection/Lib.inf
 !endif
 
   NetLib|NetworkPkg/Library/DxeNetLib/DxeNetLib.inf
diff --git a/RedfishClientPkg/RedfishClient.fdf.inc b/RedfishClientPkg/RedfishClient.fdf.inc
index cc0da261..8853c93d 100644
--- a/RedfishClientPkg/RedfishClient.fdf.inc
+++ b/RedfishClientPkg/RedfishClient.fdf.inc
@@ -15,4 +15,7 @@
   INF RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.inf
   INF RedfishClientPkg/Features/Memory/V1_7_1/Dxe/RedfishMemoryDxe.inf
   INF RedfishClientPkg/Features/RedfishMemoryCollectionDxe/RedfishMemoryCollectionDxe.inf
+
+  INF RedfishClientPkg/Converter/Memory/v1_7_1/RedfishMemory_V1_7_1_Dxe.inf
+  INF RedfishClientPkg/Converter/MemoryCollection/RedfishMemoryCollection_Dxe.inf
 !endif
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [edk2-redfish-client][PATCH 2/2] RedfishClientPkg: Add Redfish memory edk2 modules to build
  2023-05-07 13:38 [edk2-redfish-client][PATCH 2/2] RedfishClientPkg: Add Redfish memory edk2 modules to build Nickle Wang
@ 2023-05-07 13:44 ` Chang, Abner
  0 siblings, 0 replies; 2+ messages in thread
From: Chang, Abner @ 2023-05-07 13:44 UTC (permalink / raw)
  To: Nickle Wang, devel@edk2.groups.io; +Cc: Igor Kulchytskyy

[AMD Official Use Only - General]

Reviewed-by: Abner Chang <abner.chang@amd.com>

> -----Original Message-----
> From: Nickle Wang <nicklew@nvidia.com>
> Sent: Sunday, May 7, 2023 9:38 PM
> To: devel@edk2.groups.io
> Cc: Chang, Abner <Abner.Chang@amd.com>; Igor Kulchytskyy
> <igork@ami.com>
> Subject: [edk2-redfish-client][PATCH 2/2] RedfishClientPkg: Add Redfish
> memory edk2 modules to build
> 
> Caution: This message originated from an External Source. Use proper
> caution when opening attachments, clicking links, or responding.
> 
> 
> We plan to modify the build tool to pull in the corresponding Redfish
> resource converters and feature drivers into build according to the "x-uefi-
> redfish" language that applied on HII options in VFR files.
> 
> Signed-off-by: Nickle Wang <nicklew@nvidia.com>
> Cc: Abner Chang <abner.chang@amd.com>
> Cc: Igor Kulchytskyy <igork@ami.com>
> ---
>  RedfishClientPkg/RedfishClientComponents.dsc.inc | 8 +++++---
>  RedfishClientPkg/RedfishClientLibs.dsc.inc       | 3 +++
>  RedfishClientPkg/RedfishClient.fdf.inc           | 3 +++
>  3 files changed, 11 insertions(+), 3 deletions(-)
> 
> diff --git a/RedfishClientPkg/RedfishClientComponents.dsc.inc
> b/RedfishClientPkg/RedfishClientComponents.dsc.inc
> index 70a61076..128bb8b9 100644
> --- a/RedfishClientPkg/RedfishClientComponents.dsc.inc
> +++ b/RedfishClientPkg/RedfishClientComponents.dsc.inc
> @@ -15,11 +15,13 @@
>  !if $(REDFISH_CLIENT) == TRUE
>    RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.inf
>    RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.inf
> +  RedfishClientPkg/Features/Memory/V1_7_1/Dxe/RedfishMemoryDxe.inf
> +
> +
> RedfishClientPkg/Features/RedfishMemoryCollectionDxe/RedfishMemoryC
> oll
> + ectionDxe.inf
>  !endif
> 
>  !if $(REDFISH_CLIENT_ALL_AUTOGENED) == TRUE
>    !include RedfishClientPkg/RedfishJsonStructureDxe.dsc.inc
> +!else
> +
> RedfishClientPkg/Converter/Memory/v1_7_1/RedfishMemory_V1_7_1_Dx
> e.inf
> +
> +RedfishClientPkg/Converter/MemoryCollection/RedfishMemoryCollection
> _Dxe
> +.inf
>  !endif
> -
> -  RedfishClientPkg/Features/Memory/V1_7_1/Dxe/RedfishMemoryDxe.inf
> -
> RedfishClientPkg/Features/RedfishMemoryCollectionDxe/RedfishMemoryC
> ollectionDxe.inf
> diff --git a/RedfishClientPkg/RedfishClientLibs.dsc.inc
> b/RedfishClientPkg/RedfishClientLibs.dsc.inc
> index a23b9478..5456b72a 100644
> --- a/RedfishClientPkg/RedfishClientLibs.dsc.inc
> +++ b/RedfishClientPkg/RedfishClientLibs.dsc.inc
> @@ -12,6 +12,9 @@
>  ##
>  !if $(REDFISH_CLIENT_ALL_AUTOGENED) == TRUE
>   !include RedfishClientPkg/RedfishJsonStructureLib.dsc.inc
> +!else
> +
> +MemoryV1_7_1Lib|RedfishClientPkg/ConverterLib/edk2library/Memory/v
> 1_7_1
> +/Lib.inf
> +
> +MemoryCollectionLib|RedfishClientPkg/ConverterLib/edk2library/Memory
> Col
> +lection/Lib.inf
>  !endif
> 
>    NetLib|NetworkPkg/Library/DxeNetLib/DxeNetLib.inf
> diff --git a/RedfishClientPkg/RedfishClient.fdf.inc
> b/RedfishClientPkg/RedfishClient.fdf.inc
> index cc0da261..8853c93d 100644
> --- a/RedfishClientPkg/RedfishClient.fdf.inc
> +++ b/RedfishClientPkg/RedfishClient.fdf.inc
> @@ -15,4 +15,7 @@
>    INF RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.inf
>    INF
> RedfishClientPkg/Features/Memory/V1_7_1/Dxe/RedfishMemoryDxe.inf
>    INF
> RedfishClientPkg/Features/RedfishMemoryCollectionDxe/RedfishMemoryC
> ollectionDxe.inf
> +
> +  INF
> +
> RedfishClientPkg/Converter/Memory/v1_7_1/RedfishMemory_V1_7_1_Dx
> e.inf
> +  INF
> +
> RedfishClientPkg/Converter/MemoryCollection/RedfishMemoryCollection_
> Dx
> + e.inf
>  !endif
> --
> 2.17.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-07 13:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-07 13:38 [edk2-redfish-client][PATCH 2/2] RedfishClientPkg: Add Redfish memory edk2 modules to build Nickle Wang
2023-05-07 13:44 ` Chang, Abner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox