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.web09.16666.1605144596952828057 for ; Wed, 11 Nov 2020 17:29:57 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=WjfMtuBF; spf=pass (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=05853b2334=abner.chang@hpe.com) Received: from pps.filterd (m0150242.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0AC1Mrb3032210 for ; Thu, 12 Nov 2020 01:29:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id; s=pps0720; bh=Tqi3ZQIuVzds7s9aRx1Iv+gKAZfek5JpfvqxFqVtdbI=; b=WjfMtuBFaNEuiQe7z0SIeZ0LjDpmtVJZUWdYjjcyDrFwZM47RiYCy0aA7AiJJdaMZh2F dSQUEfBc/6k1V/99IdNroWXRvESxec0YrjqM0ZwXhEsqtACVIZqIdyWdO2khPWfbbQuy Hx9GgND1yCHJtO0XZTEdyWHeRWKf++HBF8NxjEyAWxQInP6h9Xq9k/vKGGfM+/TEeEps bdKqGBooCQgl8cod9E13SXL3KifY/9u7gCCd2vzlI1XaFoTXF3/omM41vQnNmLSNPAut jPnFULxtCtpZzAYLjNRqft/vgfxKkirpWTk1ilRKWnpWHPwYADFTL7nuFr7tHnzP78Zx Fg== Received: from g4t3425.houston.hpe.com (g4t3425.houston.hpe.com [15.241.140.78]) by mx0a-002e3701.pphosted.com with ESMTP id 34ru9r8207-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 12 Nov 2020 01:29:54 +0000 Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g4t3425.houston.hpe.com (Postfix) with ESMTP id 20DBAA9 for ; Thu, 12 Nov 2020 01:29:54 +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 307504B; Thu, 12 Nov 2020 01:29:52 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Nickle Wang , Peter O'Hanley Subject: [PATCH] RedfishPkg: Use DSC include file Date: Thu, 12 Nov 2020 08:44:03 +0800 Message-Id: <20201112004403.6331-1-abner.chang@hpe.com> X-Mailer: git-send-email 2.17.1 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312,18.0.737 definitions=2020-11-11_12:2020-11-10,2020-11-11 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=805 priorityscore=1501 adultscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 phishscore=0 suspectscore=1 mlxscore=0 bulkscore=0 malwarescore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011120005 - Include Redfish.dsc.inc in RedfishPkg.dsc. which consolidates the necessary components in Redfish.dsc.inc. - Remove unnecessary library instances from RedfishPkg.dsc. - Add build option in RedfishPkg.yaml. Signed-off-by: Abner Chang Cc: Nickle Wang Cc: Peter O'Hanley --- RedfishPkg/RedfishPkg.ci.yaml | 3 ++- RedfishPkg/RedfishPkg.dsc | 10 +--------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/RedfishPkg/RedfishPkg.ci.yaml b/RedfishPkg/RedfishPkg.ci.yaml index bb3b8b6746..20c297ad22 100644 --- a/RedfishPkg/RedfishPkg.ci.yaml +++ b/RedfishPkg/RedfishPkg.ci.yaml @@ -63,6 +63,7 @@ }, "Defines": { - "BLD_*_CONTINUOUS_INTEGRATION": "TRUE" + "BLD_*_CONTINUOUS_INTEGRATION": "TRUE", + "BLD_*_REDFISH_ENABLE": "TRUE" } } diff --git a/RedfishPkg/RedfishPkg.dsc b/RedfishPkg/RedfishPkg.dsc index c6e79f5645..94e7127bc6 100644 --- a/RedfishPkg/RedfishPkg.dsc +++ b/RedfishPkg/RedfishPkg.dsc @@ -23,21 +23,14 @@ UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf UefiLib|MdePkg/Library/UefiLib/UefiLib.inf UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf - UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.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 - SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf - PostCodeLib|MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf - PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf - DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf - DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf - ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf RedfishPlatformHostInterfaceLib|RedfishPkg/Library/PlatformHostInterfaceLibNull/PlatformHostInterfaceLibNull.inf [LibraryClasses.ARM, LibraryClasses.AARCH64] @@ -51,5 +44,4 @@ [Components] RedfishPkg/Library/PlatformHostInterfaceLibNull/PlatformHostInterfaceLibNull.inf - RedfishPkg/RestJsonStructureDxe/RestJsonStructureDxe.inf - RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.inf + !include RedfishPkg/Redfish.dsc.inc -- 2.17.1