From nobody Sun May 5 09:01:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+67335+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+67335+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1605144598; cv=none; d=zohomail.com; s=zohoarc; b=YtrwD0Z5Xamsd44ntNzkOkC3tDUFiJrkAyjKmJdjHw0Xju+Zy69UHNfMsyBOmJEtoYifIl3DNowGQbF9MRzhbfLyTlIVvX5N3obDRrIsrCwOEvkltqo1SY9/RA3flLMLSH9n3nyQrAJQAtqCmfyFfXGy0payUjHqlYfE7gnBn/c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605144598; h=Cc:Date:From:List-Id:List-Unsubscribe:Message-ID:Reply-To:Sender:Subject:To; bh=7YWmk5zJ819RXHSB7JLyKnRHpq7ZwoZ+600aNUZZ/cU=; b=lIiSBqmM7K1vgbA9/IwOjFNXs8dx+JF3UZ30ut7CnEPfQGI4QzXHpgVj1CWFednQItXRgrNTFiPTUggs37KvPPffd4G7b89hBNRluKdTKyjxg25dEiVbuiMtJNtSS5Sj0Std+1VK2K0Z2eRW6pVhhGBB2DvekjdUONLf3BxDBDw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+67335+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1605144598914794.4982920296814; Wed, 11 Nov 2020 17:29:58 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 2705YY1788612xZCUgcpo7n3; Wed, 11 Nov 2020 17:29:57 -0800 X-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 X-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 X-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 X-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) X-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: [edk2-devel] [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-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,abner.chang@hpe.com X-Gm-Message-State: CXGWvHFD5sj8sGGfwYkF2yjRx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1605144597; bh=CzW7wOkTQLSSS0MyVMHUtFd/uYtdS1MEs/5cW1Er0xY=; h=Cc:Date:From:Reply-To:Subject:To; b=TxFTbF2zq6l7Vn2ehbUVwGDNCAfKpijCo0TK0xav7jk83wAm9sDbSLxxbtZYg52KRqf PkaqwCElFzK/4r9i2I1kmzdpcL31MCaWVEBkh9iFuY1o/v4K2KBK2VpVunyWx9RoIDzU/ 9L+8H4dyrtTS+TL7iCjsR8KyEC4UhQW570E= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" - 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 Reviewed-by: Nickle Wang --- 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 @@ }, =20 "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/UefiBoo= tServicesTableLib.inf UefiLib|MdePkg/Library/UefiLib/UefiLib.inf UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/U= efiRuntimeServicesTableLib.inf - UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf BaseLib|MdePkg/Library/BaseLib/BaseLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf - SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchroniza= tionLib.inf PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseD= ebugPrintErrorLevelLib.inf - PostCodeLib|MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.i= nf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf - PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC= offGetEntryPointLib.inf - DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableL= ib.inf - DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf - ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeRepor= tStatusCodeLib.inf RedfishPlatformHostInterfaceLib|RedfishPkg/Library/PlatformHostInterface= LibNull/PlatformHostInterfaceLibNull.inf =20 [LibraryClasses.ARM, LibraryClasses.AARCH64] @@ -51,5 +44,4 @@ [Components] RedfishPkg/Library/PlatformHostInterfaceLibNull/PlatformHostInterfaceLib= Null.inf =20 - RedfishPkg/RestJsonStructureDxe/RestJsonStructureDxe.inf - RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.inf + !include RedfishPkg/Redfish.dsc.inc --=20 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#67335): https://edk2.groups.io/g/devel/message/67335 Mute This Topic: https://groups.io/mt/78197748/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-