Initial commit of RedfishclientPkg meta files Signed-off-by: Abner Chang <abner.ch...@hpe.com> Cc: Nickle Wang <nickle.w...@hpe.com> Cc: Liming Gao <gaolim...@byosoft.com.cn> --- RedfishClientPkg/RedfishClientPkg.dec | 24 ++++++++++ RedfishClientPkg/RedfishClient.dsc.inc | 21 +++++++++ .../RedfishClientComponents.dsc.inc | 16 +++++++ RedfishClientPkg/RedfishClientDefines.dsc.inc | 27 +++++++++++ RedfishClientPkg/RedfishClientLibs.dsc.inc | 13 ++++++ RedfishClientPkg/RedfishClientPkg.dsc | 46 +++++++++++++++++++ RedfishClientPkg/RedfishClient.fdf.inc | 14 ++++++ 7 files changed, 161 insertions(+) create mode 100644 RedfishClientPkg/RedfishClientPkg.dec create mode 100644 RedfishClientPkg/RedfishClient.dsc.inc create mode 100644 RedfishClientPkg/RedfishClientComponents.dsc.inc create mode 100644 RedfishClientPkg/RedfishClientDefines.dsc.inc create mode 100644 RedfishClientPkg/RedfishClientLibs.dsc.inc create mode 100644 RedfishClientPkg/RedfishClientPkg.dsc create mode 100644 RedfishClientPkg/RedfishClient.fdf.inc
diff --git a/RedfishClientPkg/RedfishClientPkg.dec b/RedfishClientPkg/RedfishClientPkg.dec new file mode 100644 index 0000000000..4038a47bd5 --- /dev/null +++ b/RedfishClientPkg/RedfishClientPkg.dec @@ -0,0 +1,24 @@ +## @file +# Redfish Client Package +# +# (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR> +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +## + +[Defines] + DEC_SPECIFICATION = 0x0001001b + PACKAGE_NAME = RedfishClientPkg + PACKAGE_GUID = 61B1638B-1DF9-4052-9468-382FC164AA85 + PACKAGE_VERSION = 1.0 + +[Includes] + Include + + +[LibraryClasses] + +[Protocols] + +[Guids] + gEfiRedfishClientPkgTokenSpaceGuid = { 0x8c444dae, 0x728b, 0x48ee, { 0x9e, 0x19, 0x8f, 0x0a, 0x3d, 0x4e, 0x9c, 0xc8 } } diff --git a/RedfishClientPkg/RedfishClient.dsc.inc b/RedfishClientPkg/RedfishClient.dsc.inc new file mode 100644 index 0000000000..ad771fcb7f --- /dev/null +++ b/RedfishClientPkg/RedfishClient.dsc.inc @@ -0,0 +1,21 @@ +## @file +# Redfish Client DSC include file for Platform DSC +# +# This file includes all required information to enable Redfish features. +# It can be included to a platform DSC file by using "!include RedfishClientPkg/RedfishClient.dsc.inc". +# +# (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR> +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +[Defines] + !include RedfishClientPkg/RedfishClientDefines.dsc.inc + +[LibraryClasses] + !include RedfishClientPkg/RedfishClientLibs.dsc.inc + +[Components] + !include RedfishClientPkg/RedfishClientComponents.dsc.inc + diff --git a/RedfishClientPkg/RedfishClientComponents.dsc.inc b/RedfishClientPkg/RedfishClientComponents.dsc.inc new file mode 100644 index 0000000000..0648fa9d54 --- /dev/null +++ b/RedfishClientPkg/RedfishClientComponents.dsc.inc @@ -0,0 +1,16 @@ +## @file +# Redfish Client DSC include file for [Components*] section of all Architectures. +# +# This file can be included to the [Components*] section(s) of a platform DSC file +# by using "!include RedfishClientPkg/RedfishClientComponents.dsc.inc" to specify the INF files +# of EDKII Redfish drivers according to the value of flags described in +# "RedfishClientDefines.dsc.inc". +# +# (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR> +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +!if $(REDFISH_CLIENT) == TRUE +!endif diff --git a/RedfishClientPkg/RedfishClientDefines.dsc.inc b/RedfishClientPkg/RedfishClientDefines.dsc.inc new file mode 100644 index 0000000000..14b7d67102 --- /dev/null +++ b/RedfishClientPkg/RedfishClientDefines.dsc.inc @@ -0,0 +1,27 @@ +## @file +# RedfishClientPkg DSC include file for [Defines] section of all Architectures. +# +# This file can be included to the [Defines] section of a platform DSC file by +# using "!include RedfishClientPkg/RedfishClientDefines.dsc.inc" to set value of +# flags. +# +# These flags can be defined before the !include line, or changed on the command +# line to enable or disable related feature support. +# -D FLAG=VALUE +# +# The default value of these flags are: +# DEFINE REDFISH_CLIENT = TRUE +# +# (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR> +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +!ifndef REDFISH_CLIENT + # + # This flag is to enable or disable the EDK2 Redfish client support. + # + DEFINE REDFISH_CLIENT = TRUE +!endif + diff --git a/RedfishClientPkg/RedfishClientLibs.dsc.inc b/RedfishClientPkg/RedfishClientLibs.dsc.inc new file mode 100644 index 0000000000..2f360abed6 --- /dev/null +++ b/RedfishClientPkg/RedfishClientLibs.dsc.inc @@ -0,0 +1,13 @@ +## @file +# Redfish DSC include file for [LibraryClasses*] section of all Architectures. +# +# This file can be included to the [LibraryClasses*] section(s) of a platform DSC file +# by using "!include RedfishPkg/RedfisLibs.dsc.inc" to specify the library instances +# of EDKII network library classes. +# +# (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR> +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + diff --git a/RedfishClientPkg/RedfishClientPkg.dsc b/RedfishClientPkg/RedfishClientPkg.dsc new file mode 100644 index 0000000000..f423bf3861 --- /dev/null +++ b/RedfishClientPkg/RedfishClientPkg.dsc @@ -0,0 +1,46 @@ +## @file +# Redfish Client Package +# +# (C) Copyright 2021 Hewlett-Packard Enterprise Development LP. +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +[Defines] + PLATFORM_NAME = RedfishClientPkg + PLATFORM_GUID = 43491BF9-2879-492B-905E-E82E0C30B412 + PLATFORM_VERSION = 1.0 + DSC_SPECIFICATION = 0x0001001c + OUTPUT_DIRECTORY = Build/RedfishClientPkg + SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64|RISCV64 + BUILD_TARGETS = DEBUG|RELEASE|NOOPT + SKUID_IDENTIFIER = DEFAULT + +!include MdePkg/MdeLibs.dsc.inc + +[LibraryClasses] + UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf + UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf + UefiLib|MdePkg/Library/UefiLib/UefiLib.inf + UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf + MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf + DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf + BaseLib|MdePkg/Library/BaseLib/BaseLib.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf + PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf + DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf + DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf + PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf + +[LibraryClasses.ARM, LibraryClasses.AARCH64] + # + # This library provides the instrinsic functions generated by a given compiler. + # + NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf + NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf + ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf + +[Components] + + !include RedfishClientPkg/RedfishClient.dsc.inc diff --git a/RedfishClientPkg/RedfishClient.fdf.inc b/RedfishClientPkg/RedfishClient.fdf.inc new file mode 100644 index 0000000000..4f0714004e --- /dev/null +++ b/RedfishClientPkg/RedfishClient.fdf.inc @@ -0,0 +1,14 @@ +## @file +# Redfish Client FDF include file for [FV*] section of all Architectures. +# +# This file can be included to the [FV*] section(s) of a platform FDF file +# by using "!include RedfishClientPkg/RedfisClientLibs.fdf.inc" to specify the module instances +# to be built in the firmware volume. +# +# (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR> +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## +!if $(REDFISH_CLIENT) == TRUE +!endif -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78226): https://edk2.groups.io/g/devel/message/78226 Mute This Topic: https://groups.io/mt/84484819/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-