From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 138171A1E1E for ; Sun, 4 Sep 2016 06:16:24 -0700 (PDT) Received: by mail-wm0-x236.google.com with SMTP id 1so96928256wmz.1 for ; Sun, 04 Sep 2016 06:16:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=FY6TJcbFrjNpAGnF05OHn3Km29ndmMVIHg29HZqKyeo=; b=jOnzliFXqWGNEINoDOrqX9fBblcBvxWyB9Iejq1Jmr8jt9+JDxop2qqty2EpikE51y yFQpjPctoOFA0F3YPzd/3FlZPO0zOs9330UZk8V8cm2Lua/n566ssjmUsvS/cNgimBmb me9FoaJrIBY5FZFvDS/CdDxK6JBBE/u890yh8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=FY6TJcbFrjNpAGnF05OHn3Km29ndmMVIHg29HZqKyeo=; b=NV2wtds+hV+26V86PK9GU4mpoN1b8eBLl4xkFQnEX1AjrBxwr5dV7kdCgTT3WmZ5KP oH1zxurKkUJ9S/e5m/vh54mv6uIGDEFZlrAL9tf7Er93V8EOgUDjpbci8hU0TramMOwr fCEbCT+Ex55wqBRaOFkq3+iZyGNZ88FcpNKH5nAPM6IX8eeUQXscbhS1Mbgz2U8o6xVl 7gKRtUjtlxSSf7oiAeyp14DluRAvLe4LFM1ywG413eHCsfN25/zl5pZX8GxEWcT49sOM hJlFqDBa6f2Pk8nBQgarBL7cjdLrv+KKvJzmUQtlTftDJ5A7/LnaS2MGpUnWW+35p3Wc iCHg== X-Gm-Message-State: AE9vXwNpkkJp/aBhIlveIDWRpcPjmOBGM38aEDwrd9bTejv5x9B3s+oFini8JeGVQdXZzYdu X-Received: by 10.194.79.198 with SMTP id l6mr27109146wjx.84.1472994982020; Sun, 04 Sep 2016 06:16:22 -0700 (PDT) Received: from mohikan.mushroom.smurfnet.nu ([2a01:348:6:8735:e23f:49ff:fe6d:9d26]) by smtp.gmail.com with ESMTPSA id jq5sm21238266wjc.20.2016.09.04.06.16.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Sep 2016 06:16:20 -0700 (PDT) From: Leif Lindholm To: edk2-devel@lists.01.org Cc: Ruiyu Ni , Ard Biesheuvel Date: Sun, 4 Sep 2016 14:16:19 +0100 Message-Id: <20160904131619.1263-1-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.9.3 Subject: [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: Sun, 04 Sep 2016 13:16:24 -0000 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 BSD License @@ -29,7 +30,7 @@ [Defines] PLATFORM_VERSION = 0.1 DSC_SPECIFICATION = 0x00010005 OUTPUT_DIRECTORY = Build/OptionRomPkg - SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC + SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC|ARM|AARCH64 BUILD_TARGETS = DEBUG|RELEASE SKUID_IDENTIFIER = DEFAULT @@ -60,6 +61,12 @@ [LibraryClasses] UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.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