From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a01:111:f400:fe49::716; helo=nam03-dm3-obe.outbound.protection.outlook.com; envelope-from=sean.brogan@microsoft.com; receiver=edk2-devel@lists.01.org Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0716.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe49::716]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E5AD92263DD8E for ; Tue, 17 Apr 2018 15:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=JsBgszbB/7lPJ39uZAWZAS8f+JJekAk9AoynSJdCjFs=; b=Hk1/X1+F7CaUSj/F7+Bhg3VUfENOMwzD5vTzH03EDrIHuwl/n0E5keeexkobqmJXiDhjv3NfoOOo7e2huZ6YXpypuJWCiKbP4NK1+tfq0vM3DWg5TuXzfIuNaIFltoOmGb0UpQrKwmgJvX/BxaW5cYDq9PQ9BNxHQfE8BXTSjd4= Received: from CY4PR21MB0789.namprd21.prod.outlook.com (10.175.121.143) by CY4PR21MB0629.namprd21.prod.outlook.com (10.175.115.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.715.4; Tue, 17 Apr 2018 22:26:58 +0000 Received: from CY4PR21MB0789.namprd21.prod.outlook.com ([fe80::1468:84b3:8592:87aa]) by CY4PR21MB0789.namprd21.prod.outlook.com ([fe80::1468:84b3:8592:87aa%7]) with mapi id 15.20.0715.004; Tue, 17 Apr 2018 22:26:58 +0000 From: Sean Brogan To: "Kinney, Michael D" , "edk2-devel@lists.01.org" CC: Jiewen Yao Thread-Topic: [RFC v2 4/4] FmpDevicePkg: Add DSC file to build all package components Thread-Index: AQHT1o/RfL4el+ghF0mUAOnmYM2eMqQFiT6A Date: Tue, 17 Apr 2018 22:26:57 +0000 Message-ID: References: <20180417210522.29644-1-michael.d.kinney@intel.com> <20180417210522.29644-5-michael.d.kinney@intel.com> In-Reply-To: <20180417210522.29644-5-michael.d.kinney@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=sebrogan@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2018-04-17T22:26:56.6239625Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic; Sensitivity=General x-originating-ip: [131.107.32.41] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR21MB0629; 7:+g+u45F3kbDkiscY6tfg8Lhk2Gv6TLYkwxpJDtA2DUADLUBH+DEYP+fEQYdTyMcO1NQmRRm2AjnrBnGdkoRkGq6z8F0bLtMuv1pzPSzlL2W98GJoDtJ0nv5d7TkM98FBn1yep99GFbQBQF1jEzNcH3fdWyE67SxBKMU1bUwbjgcO5pctrSfbQri0s5lCucGcqcyN3nXClhvhFjch2UyxK1W5XsAvFdPz7Dlm0GQOD4lVtMt+eep9AeWU2odVoYsy; 20:y8+xvz3BsiC9GSFVwyeHoD2U2bh6hFPaRVmhl5D43ffWiJZ/nihKC8imdnW+Yonagz2Izc1lEPjdu1ZuvJS2rhuYU9FevQhWWX1Sh5eFekHIkPHFEIkhQRerL+fb4XUeA+ZyNHtGL9l1OJsqnwrgBSAy0sJclG/3oRJeVUY7ZKk= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(2017052603328)(7193020); SRVR:CY4PR21MB0629; x-ms-traffictypediagnostic: CY4PR21MB0629: authentication-results: outbound.protection.outlook.com; spf=skipped (originating message); dkim=none (message not signed) header.d=none; dmarc=none action=none header.from=microsoft.com; x-o365ent-eop-header: Message processed by - O365_ENT: Allow from ranges (Engineering ONLY) x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(189930954265078)(162533806227266)(219752817060721)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(61425038)(6040522)(2401047)(8121501046)(5005006)(3231232)(944501361)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(61426038)(61427038)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(6072148)(201708071742011); SRVR:CY4PR21MB0629; BCL:0; PCL:0; RULEID:; SRVR:CY4PR21MB0629; x-forefront-prvs: 0645BEB7AA x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(39380400002)(366004)(376002)(13464003)(53936002)(86362001)(575784001)(33656002)(86612001)(229853002)(6246003)(110136005)(316002)(26005)(186003)(22452003)(5660300001)(53546011)(6506007)(966005)(59450400001)(74316002)(102836004)(99286004)(7736002)(305945005)(76176011)(11346002)(446003)(476003)(81166006)(8676002)(55016002)(9686003)(6436002)(6306002)(66066001)(8936002)(5250100002)(2501003)(10290500003)(10090500001)(4326008)(478600001)(3846002)(25786009)(3280700002)(2906002)(3660700001)(7696005)(44832011)(19627235001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR21MB0629; H:CY4PR21MB0789.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; MLV:sfv; x-microsoft-antispam-message-info: Pq84ioQw9V+w20a2Rzk7WVzs1sjsqI+gHo6R4e2Ig8iCMYrWTrTx2TgbghPiP/R3EXPDS7tmGVhDerIPflGhKGHDCEUFZ/siF189PGWAQvKWU5gphKR2ptPfZx7sQMQGXdNFdVne5OSjPagdeRUB0ukPjMRmgJt0VmwX5Fmtgub37pSlmWV/rb7+/pXwMTZm spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 2b6bb28a-1b80-4d70-e51d-08d5a4b25511 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2b6bb28a-1b80-4d70-e51d-08d5a4b25511 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2018 22:26:57.9852 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0629 Subject: Re: [RFC v2 4/4] FmpDevicePkg: Add DSC file to build all package components X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2018 22:27:01 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Signed-off-by: Sean Brogan -----Original Message----- From: Kinney, Michael D =20 Sent: Tuesday, April 17, 2018 2:05 PM To: edk2-devel@lists.01.org Cc: Sean Brogan ; Jiewen Yao ; Michael D Kinney Subject: [RFC v2 4/4] FmpDevicePkg: Add DSC file to build all package compo= nents https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fbugzilla= .tianocore.org%2Fshow_bug.cgi%3Fid%3D922&data=3D02%7C01%7Csean.brogan%40mic= rosoft.com%7C1c8ccfb7e03541ef276008d5a4a6f35c%7C72f988bf86f141af91ab2d7cd01= 1db47%7C1%7C0%7C636595959310987323&sdata=3Dc5VXpiX%2Bum%2Fyo4xL4tq1M6%2FAOo= 2I0jpKoor3APsOiIQ%3D&reserved=3D0 Based on content from the following branch: https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.c= om%2FMicrosoft%2FMS_UEFI%2Ftree%2Fshare%2FMsCapsuleSupport%2FMsCapsuleUpdat= ePkg&data=3D02%7C01%7Csean.brogan%40microsoft.com%7C1c8ccfb7e03541ef276008d= 5a4a6f35c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636595959310987323&s= data=3DfXTprDEZ5dkcrsaj%2BNyjke5llRVQYSV72%2BBbtKRat70%3D&reserved=3D0 Adds a DSC file that is used to verify that all of the FmpDevicePkg librari= es and modules build without error. Cc: Sean Brogan Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney --- FmpDevicePkg/FmpDevicePkg.dsc | 134 ++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 134 insertions(+) create mode 100644 FmpDevicePkg/FmpDevicePkg.dsc diff --git a/FmpDevicePkg/FmpDevicePkg.dsc b/FmpDevicePkg/FmpDevicePkg.dsc = new file mode 100644 index 0000000000..4d08a2cf9e --- /dev/null +++ b/FmpDevicePkg/FmpDevicePkg.dsc @@ -0,0 +1,134 @@ +## @file +# Firmware Management Protocol Device Package # # This package provides=20 +an implementation of a Firmware Management Protocol # instance that=20 +supports the update of firmware storage devices using UEFI # Capsules. =20 +The behavior of the Firmware Management Protocol instance is #=20 +customized using libraries and PCDs. +# +# Copyright (c) 2016, Microsoft Corporation. All rights reserved.
#=20 +Copyright (c) 2018, Intel Corporation. All rights reserved.
# #=20 +Redistribution and use in source and binary forms, with or without #=20 +modification, are permitted provided that the following conditions are met= : +# 1. Redistributions of source code must retain the above copyright=20 +notice, # this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright=20 +notice, # this list of conditions and the following disclaimer in the=20 +documentation # and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS=20 +"AS IS" AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT=20 +LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A = PARTICULAR PURPOSE ARE DISCLAIMED. +# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR=20 +ANY DIRECT, # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR=20 +CONSEQUENTIAL DAMAGES (INCLUDING, # BUT NOT LIMITED TO, PROCUREMENT OF=20 +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR=20 +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF # LIABILITY,=20 +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE #=20 +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF = # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +## + +[Defines] + PLATFORM_NAME =3D FmpDevicePkg + PLATFORM_GUID =3D 0af3d540-27c6-11e8-828b-f8597177a00a + PLATFORM_VERSION =3D 0.1 + DSC_SPECIFICATION =3D 0x00010005 + OUTPUT_DIRECTORY =3D Build/FmpDevicePkg + SUPPORTED_ARCHITECTURES =3D IA32|IPF|X64|ARM|AARCH64 + BUILD_TARGETS =3D DEBUG|RELEASE + SKUID_IDENTIFIER =3D DEFAULT + + # + # Define ESRT GUIDs for Firmware Management Protocol instances # =20 + DEFINE FMP_GRAPHICS_ESRT_GUID =3D B461B3BD-E62A-4A71-841C-50BA4E500267 + DEFINE FMP_TEXT_ESRT_GUID =3D 226034C4-8B67-4536-8653-D6EE7CE5A316 + +[LibraryClasses] + =20 +UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntr +yPoint.inf + =20 +UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/Uefi +ApplicationEntryPoint.inf + =20 +UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBo +otServicesTableLib.inf + UefiLib|MdePkg/Library/UefiLib/UefiLib.inf + =20 +UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/ +UefiRuntimeServicesTableLib.inf + UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf + =20 +MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAl +locationLib.inf + DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf + UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf + UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf + BaseLib|MdePkg/Library/BaseLib/BaseLib.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf + =20 +SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchroniz +ationLib.inf + PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf + DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf + =20 +DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/Base +DebugPrintErrorLevelLib.inf + =20 +PostCodeLib|MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80. +inf + PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf + DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf + + =20 + UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib + /UefiRuntimeServicesTableLib.inf =20 + UefiLib|MdePkg/Library/UefiLib/UefiLib.inf + DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf + =20 + UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootMan + agerLib.inf =20 + DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTabl + eLib.inf =20 + MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryA + llocationLib.inf HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf + OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf + IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf + BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + =20 + FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/Fmp + AuthenticationLibPkcs7.inf + + =20 + CapsuleUpdatePolicyLib|FmpDevicePkg/Library/CapsuleUpdatePolicyLibNull + /CapsuleUpdatePolicyLibNull.inf =20 + FmpPayloadHeaderLib|FmpDevicePkg/Library/FmpPayloadHeaderLibV1/FmpPayl + oadHeaderLibV1.inf =20 + FmpDeviceLib|FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLibNull.in + f =20 + BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib + .inf SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf + CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf + +[LibraryClasses.ARM, LibraryClasses.AARCH64] + # + # It is not possible to prevent the ARM compiler for generic intrinsic f= unctions. + # This library provides the instrinsic functions generate by a given com= piler. + # [LibraryClasses.ARM, LibraryClasses.AARCH64] and NULL mean link=20 +this library + # into all ARM and AARCH64 images. + # + NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf + + # Add support for stack protector + NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf + +[LibraryClasses.ARM] + ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf + +[Components] + # + # Libraries + # + =20 +FmpDevicePkg/Library/CapsuleUpdatePolicyLibNull/CapsuleUpdatePolicyLibN +ull.inf + FmpDevicePkg/Library/FmpPayloadHeaderLibV1/FmpPayloadHeaderLibV1.inf + FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLibNull.inf + FmpDevicePkg/FmpDxe/FmpDxeLib.inf + + # + # Modules + # + FmpDevicePkg/FmpDxe/FmpDxe.inf { + + # + # FILE_GUID is FMP ESRT GUID + # + FILE_GUID =3D $(FMP_GRAPHICS_ESRT_GUID) + + =20 + DisplayUpdateProgressLib|MdeModulePkg/Library/DisplayUpdateProgressLib + Graphics/DisplayUpdateProgressLibGraphics.inf + } + + FmpDevicePkg/FmpDxe/FmpDxe.inf { + + # + # FILE_GUID is used as ESRT GUID + # + FILE_GUID =3D $(FMP_TEXT_ESRT_GUID) + + =20 + DisplayUpdateProgressLib|MdeModulePkg/Library/DisplayUpdateProgressLib + Text/DisplayUpdateProgressLibText.inf + } -- 2.14.2.windows.3