From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web12.3293.1627401005754191321 for ; Tue, 27 Jul 2021 08:50:05 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=IHcBSpB3; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=084293f174=abner.chang@hpe.com) Received: from pps.filterd (m0134421.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 16RFmofm016798; Tue, 27 Jul 2021 15:49:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=pps0720; bh=8tgHiFSe3QkZhx5riEmHGv5C9aerlrGraZ/20fPG8FE=; b=IHcBSpB3nfbOpHeIApX2+1964AF65moOrA2/Hu5suCWdFRoZPGsLIrS3jCCqwcnMgsO5 Eow1XOBeJQwMFRLKod41acyitv799PhOVXxdgIen/LcnZsHBNq8xKkHEBufp7yAVIi10 oZYmQjh16qhPcevm9qq2gQYgeVlB0Imo6uLvNYjav19apEVrMnaZ97LP5StT8J8GrFkY Likm94Znrijh124j896hRLvnFA0eKiiVt8ELRigqygD0qHAOX2tZQBS3+6/ztyy4uZd5 x+nzBAXBfaGdFLjGqmGEHt5deUFZMIzeuBuIlRJEbIPb+hqUkRMuZZrvwddAKwGIuTbw TA== Received: from g4t3425.houston.hpe.com (g4t3425.houston.hpe.com [15.241.140.78]) by mx0b-002e3701.pphosted.com with ESMTP id 3a2366rhnf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Jul 2021 15:49:59 +0000 Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g4t3425.houston.hpe.com (Postfix) with ESMTP id AB030AA; Tue, 27 Jul 2021 15:49:58 +0000 (UTC) Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id C913A48; Tue, 27 Jul 2021 15:49:57 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Nickle Wang , Liming Gao Subject: [staging/edk2-redfish-client RedfishFeatureCore PATCH 1/3] RedfishClientPkg: Initial commit of meta files Date: Tue, 27 Jul 2021 22:54:40 +0800 Message-Id: <20210727145442.22840-2-abner.chang@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210727145442.22840-1-abner.chang@hpe.com> References: <20210727145442.22840-1-abner.chang@hpe.com> X-Proofpoint-GUID: sFdE5QEdKMYGfXiNiVINe_7QzgBPyAOV X-Proofpoint-ORIG-GUID: sFdE5QEdKMYGfXiNiVINe_7QzgBPyAOV X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-07-27_10:2021-07-27,2021-07-27 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 bulkscore=0 adultscore=0 impostorscore=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 phishscore=0 clxscore=1015 mlxlogscore=999 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2107270095 Initial commit of RedfishclientPkg meta files Signed-off-by: Abner Chang Cc: Nickle Wang Cc: Liming Gao --- 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
+# +# 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
+# +# 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
+# +# 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
+# +# 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
+# +# 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
+# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## +!if $(REDFISH_CLIENT) == TRUE +!endif -- 2.17.1