public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-redfish-client][PATCH] RedfishClientPkg/Crt: Add CRT header files
@ 2023-05-03  8:06 Chang, Abner
  2023-05-03  9:19 ` Nickle Wang
  0 siblings, 1 reply; 2+ messages in thread
From: Chang, Abner @ 2023-05-03  8:06 UTC (permalink / raw)
  To: devel; +Cc: Nickle Wang, Igor Kulchytskyy

From: Abner Chang <abner.chang@amd.com>

Add CRT header files which refer to the ones under
RedfishPkg.

Signed-off-by: Abner Chang <abner.chang@amd.com>
Cc: Nickle Wang <nicklew@nvidia.com>
Cc: Igor Kulchytskyy <igork@ami.com>
---
 RedfishClientPkg/RedfishClientPkg.dec        |  3 ++-
 RedfishClientPkg/PrivateInclude/Crt/stdarg.h | 14 ++++++++++++++
 RedfishClientPkg/PrivateInclude/Crt/stdio.h  | 14 ++++++++++++++
 RedfishClientPkg/PrivateInclude/Crt/stdlib.h | 15 +++++++++++++++
 RedfishClientPkg/PrivateInclude/Crt/string.h | 15 +++++++++++++++
 5 files changed, 60 insertions(+), 1 deletion(-)
 create mode 100644 RedfishClientPkg/PrivateInclude/Crt/stdarg.h
 create mode 100644 RedfishClientPkg/PrivateInclude/Crt/stdio.h
 create mode 100644 RedfishClientPkg/PrivateInclude/Crt/stdlib.h
 create mode 100644 RedfishClientPkg/PrivateInclude/Crt/string.h

diff --git a/RedfishClientPkg/RedfishClientPkg.dec b/RedfishClientPkg/RedfishClientPkg.dec
index 6da0468e65..832cdc6154 100644
--- a/RedfishClientPkg/RedfishClientPkg.dec
+++ b/RedfishClientPkg/RedfishClientPkg.dec
@@ -15,7 +15,8 @@
 [Includes]
   Include
 
-[LibraryClasses]
+[Includes.Common.Private]
+  PrivateInclude/Crt            # Private header files for C RTL.
 
 [Protocols]
   ## Include/Protocol/EdkIIRedfishFeature.h
diff --git a/RedfishClientPkg/PrivateInclude/Crt/stdarg.h b/RedfishClientPkg/PrivateInclude/Crt/stdarg.h
new file mode 100644
index 0000000000..5f458c0a47
--- /dev/null
+++ b/RedfishClientPkg/PrivateInclude/Crt/stdarg.h
@@ -0,0 +1,14 @@
+/** @file
+  Include file to support building the third-party jansson library.
+
+ (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR>
+
+    SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+#ifndef REDFISH_CLIENT_CRT_STDARG_H_
+#define REDFISH_CLIENT_CRT_STDARG_H_
+
+#include <Library/RedfishCrtLib.h>
+
+#endif
diff --git a/RedfishClientPkg/PrivateInclude/Crt/stdio.h b/RedfishClientPkg/PrivateInclude/Crt/stdio.h
new file mode 100644
index 0000000000..30a0afae6f
--- /dev/null
+++ b/RedfishClientPkg/PrivateInclude/Crt/stdio.h
@@ -0,0 +1,14 @@
+/** @file
+  Include file to support building the third-party jansson library.
+
+ (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR>
+
+    SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+#ifndef REDFISH_CLIENT_CRT_STDIO_H_
+#define REDFISH_CLIENT_CRT_STDIO_H_
+
+#include <Library/RedfishCrtLib.h>
+
+#endif
diff --git a/RedfishClientPkg/PrivateInclude/Crt/stdlib.h b/RedfishClientPkg/PrivateInclude/Crt/stdlib.h
new file mode 100644
index 0000000000..ff02b9f351
--- /dev/null
+++ b/RedfishClientPkg/PrivateInclude/Crt/stdlib.h
@@ -0,0 +1,15 @@
+/** @file
+  Include file to support building the third-party jansson library.
+
+ (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR>
+
+    SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#ifndef REDFISH_CLIENT_CRT_STDLIB_H_
+#define REDFISH_CLIENT_CRT_STDLIB_H_
+
+#include <Library/RedfishCrtLib.h>
+
+#endif
diff --git a/RedfishClientPkg/PrivateInclude/Crt/string.h b/RedfishClientPkg/PrivateInclude/Crt/string.h
new file mode 100644
index 0000000000..c3b0c65c62
--- /dev/null
+++ b/RedfishClientPkg/PrivateInclude/Crt/string.h
@@ -0,0 +1,15 @@
+/** @file
+  Include file to support building the third-party jansson library.
+
+ (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR>
+
+    SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#ifndef REDFISH_CLIENT_CRT_STRING_H_
+#define REDFISH_CLIENT_CRT_STRING_H_
+
+#include <Library/RedfishCrtLib.h>
+
+#endif
-- 
2.37.1.windows.1


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

end of thread, other threads:[~2023-05-03  9:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-03  8:06 [edk2-redfish-client][PATCH] RedfishClientPkg/Crt: Add CRT header files Chang, Abner
2023-05-03  9:19 ` Nickle Wang

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