From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 95F261A1E8E for ; Tue, 6 Sep 2016 17:34:56 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP; 06 Sep 2016 17:34:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,294,1470726000"; d="scan'208";a="1052327231" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga002.fm.intel.com with ESMTP; 06 Sep 2016 17:34:51 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 6 Sep 2016 17:34:50 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 6 Sep 2016 17:34:50 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.102]) by shsmsx102.ccr.corp.intel.com ([169.254.2.109]) with mapi id 14.03.0248.002; Wed, 7 Sep 2016 08:34:48 +0800 From: "Ni, Ruiyu" To: Leif Lindholm , "edk2-devel@lists.01.org" CC: Ard Biesheuvel Thread-Topic: [PATCH] OptionRomPkg: .dsc fixes for ARM/AARCH64 and USB drivers Thread-Index: AQHSBq6T4Df9ihNyDU2TGOxO+lIGmKBtMdzw Date: Wed, 7 Sep 2016 00:34:47 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D58D4DB9A@SHSMSX103.ccr.corp.intel.com> References: <20160904131619.1263-1-leif.lindholm@linaro.org> In-Reply-To: <20160904131619.1263-1-leif.lindholm@linaro.org> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODcwMDBkMDEtYTFmMy00ZjAwLWIxOTYtZjAxNTM4YjVjNmEzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjZSOGZURWZIYVhhZFwvTFJnUlRPV01QUm5QRUFaTXRMTzlHQzg3TnpNajZrPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH] OptionRomPkg: .dsc fixes for ARM/AARCH64 and USB drivers X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2016 00:34:56 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ruiyu Ni Regards, Ray >-----Original Message----- >From: Leif Lindholm [mailto:leif.lindholm@linaro.org] >Sent: Sunday, September 4, 2016 9:16 PM >To: edk2-devel@lists.01.org >Cc: Ni, Ruiyu ; Ard Biesheuvel >Subject: [PATCH] OptionRomPkg: .dsc fixes for ARM/AARCH64 and USB drivers > >Drivers under OptionRomPkg wouldn't build standalone, since ARM and >AARCH64 were missing from SUPPORTED_ARCHITECTURES. So add them. >Also, add some compiler libraries needed for ARM/AARCH64 GCC >toolchains (CompilerIntrinsicsLib and BaseSwStackCheckLib). > >Also, the UsbNetworking drivers were not listed under [Components], >so failed to build standalone. This patch adds them. > >Contributed-under: TianoCore Contribution Agreement 1.0 >Signed-off-by: Leif Lindholm >--- > OptionRomPkg/OptionRomPkg.dsc | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) > >diff --git a/OptionRomPkg/OptionRomPkg.dsc b/OptionRomPkg/OptionRomPkg.dsc >index 03592f8..3365556 100644 >--- a/OptionRomPkg/OptionRomPkg.dsc >+++ b/OptionRomPkg/OptionRomPkg.dsc >@@ -7,6 +7,7 @@ > # A single driver can support mixes of EFI 1.1, UEFI 2.0 and UEFI 2.1. > # > # Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.
>+# Copyright (c) 2016, Linaro Ltd. All rights reserved.
> # > # This program and the accompanying materials > # are licensed and made available under the terms and conditions of the B= SD License >@@ -29,7 +30,7 @@ [Defines] > PLATFORM_VERSION =3D 0.1 > DSC_SPECIFICATION =3D 0x00010005 > OUTPUT_DIRECTORY =3D Build/OptionRomPkg >- SUPPORTED_ARCHITECTURES =3D IA32|IPF|X64|EBC >+ SUPPORTED_ARCHITECTURES =3D IA32|IPF|X64|EBC|ARM|AARCH64 > BUILD_TARGETS =3D DEBUG|RELEASE > SKUID_IDENTIFIER =3D DEFAULT > >@@ -60,6 +61,12 @@ [LibraryClasses] > UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/Uefi= ApplicationEntryPoint.inf > UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf > >+[LibraryClasses.AARCH64, LibraryClasses.ARM] >+ NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf >+ >+[LibraryClasses.ARM] >+ NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf >+ > #########################################################################= ####### > # > # Pcd Section - list of all EDK II PCD Entries defined by this Platform >@@ -105,6 +112,8 @@ [Components] > OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430Dxe.inf > OptionRomPkg/UndiRuntimeDxe/UndiRuntimeDxe.inf > OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDxe.inf >+ OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/Ax88772.inf >+ OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/Ax88772b.inf > > [Components.IA32, Components.X64, Components.IPF] > OptionRomPkg/Application/BltLibSample/BltLibSample.inf >-- >2.9.3