From patchwork Thu Nov 1 15:36:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 149977 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp938116ljp; Thu, 1 Nov 2018 08:37:21 -0700 (PDT) X-Google-Smtp-Source: AJdET5d/VYMelsobJ7SUFDDXe7QoxZeH/kK2C8jy60oq+PZppO1O1A161whPSu2SCJiNGzpu+n7d X-Received: by 2002:a62:1b4f:: with SMTP id b76-v6mr5761941pfb.96.1541086641119; Thu, 01 Nov 2018 08:37:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541086641; cv=none; d=google.com; s=arc-20160816; b=jnQTBkSeIWN3CWjl14oSX5QOwaTdUXTwFUx45FTzrnWihf5MLDGPqbatTiYlj1/GsR mwqJxAa/zjZe6Tr6nMrb1qkGmgkQWKTJylxPz17VOV5X8XX46hu+dvg73NlvPCOlCqEA 0F8HRiECPS4OftAQ7NMEs0Vancvto0/Zh0uFCw4iTHQMnF30dLGvsQFHvsYwhBRk8AHn M3WaEd0dPJOWaGVAIiQb6UbrzSWpLSd//CbCofZtOhMjZbtqBOlYVjxCVGbDVY2HVttU CuaAVhXGAMKqA8aCs5PS+68JHVimyfHF0tdvTJNwWTA8OboCNY7xggX0/osiw3ns55sf o8kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=gLPUdPfs6mTlGv7NSf7KrFr98rGO0LxPYUEfpt1jG0U=; b=M28Bx6eXZSVwfVLmsRsvf7vem9fxENPIV0AKlSWsFN9T22ZyURnEB4FOfLZbFjR1K4 4MQ0dUrXYG3PYfispNWiZ/6F2qPMP8y9z8/FQyaiMzDxAlZe4biOVaf1pQ9G/n6ameSm 297Kh56bCXjN8kUqagPMTRkCipD0HiopbZvt0gag8NbWHXXdFXEI67ILLHqQuTLi4DTB +FKTO4xjgKRo3V0Y/v/MvCP2KRtsLlzw7NsvnE+GzQ5tfmuO5oh/q/R0awJDgWnyrf/P nAMfb+CgDdXk+uXTHu1KeF5r2fhufQJzS8b8C72iI2SSl+4bgrKpu+YGjJ6E2jAWW/PI FA5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=H885U4O1; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id a93-v6si26416433pla.226.2018.11.01.08.37.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 08:37:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=H885U4O1; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 5E2C621189FBA; Thu, 1 Nov 2018 08:36:59 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::444; helo=mail-wr1-x444.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (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 9C83621189FAC for ; Thu, 1 Nov 2018 08:36:57 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id d10-v6so20513356wrs.5 for ; Thu, 01 Nov 2018 08:36:57 -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:in-reply-to:references; bh=gmGg3x7dEIvFgmspCBXvAFcsEBnniizAxCcU8teDgOo=; b=H885U4O1OrSk3KOkC/Fofod7s76VqeHgOd61WUGbTtVAqGzO7gJd6Y812/s3AUUpsa ARy2USxUy/96z39KKxcUMZpyb79XKo1hVXY2LoexymEXoH8GAXBqukBpRUjXytpcgwe3 mM0DJG4IPsTN6o6eCB88KgTmb4EEsznqiRWrc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gmGg3x7dEIvFgmspCBXvAFcsEBnniizAxCcU8teDgOo=; b=FY54jo9XanX3GSwAkHhSTSluXbCKytatnJttMB3JmEFystKR+n+hmBnDwPh1a97/uS QCjm1Zrycq0lVUv05i9jw9wwWuxq/xtJSaObCd4i2zHgQ4qWp3eY36tZ4BFIpyOtC+Oy bAtesvzOudbT3zjEffs3Vq8WT3Eq3EZZbmAqogxdV6DSTfLNALCj+J0DWpvGsS6S24Tx MCrbfRO59BpECi+VDI0dbiOKHRYSEqN2emIO7857eD8hDdob6uL7nrpgv3G84EmXk1Tu yK/SYgBeuUlACSKykLwaMsJ6naBlUwe3OHo6iWpEDvJIdUGsX1M1/sdYsa2rTv3rODJx 7hjg== X-Gm-Message-State: AGRZ1gLDlOR9Us44DQkWJRjyoSpx+sUi9fH/8BSTmb9qq7kFY4ihw6RG PeYaVMjkmFhsSMFMIaiqauFrWN5Jlm4= X-Received: by 2002:a5d:530c:: with SMTP id e12-v6mr6696576wrv.29.1541086615769; Thu, 01 Nov 2018 08:36:55 -0700 (PDT) Received: from vanye.hemma.eciton.net (cpc92302-cmbg19-2-0-cust304.5-4.cable.virginm.net. [82.1.209.49]) by smtp.gmail.com with ESMTPSA id 195-v6sm29669157wmx.21.2018.11.01.08.36.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 08:36:54 -0700 (PDT) From: Leif Lindholm To: edk2-devel@lists.01.org Date: Thu, 1 Nov 2018 15:36:42 +0000 Message-Id: <20181101153642.11315-7-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181101153642.11315-1-leif.lindholm@linaro.org> References: <20181101153642.11315-1-leif.lindholm@linaro.org> Subject: [edk2] [PATCH 6/6] SignedCapsulePkg: enable package build for AARCH64/ARM X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jiewen Yao MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" This package is used by several platforms in edk2-platforms, so ensure it can be built directly by adding AARCH64/ARM to SUPPORTED_ARCHITECTURES. Also force-include CompilerIntrinsicsLib, BaseStackCheckLib and create a resolution for ArmSoftFloatLib for ARM. Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm --- SignedCapsulePkg/SignedCapsulePkg.dsc | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: jiewen.yao@intel.com diff --git a/SignedCapsulePkg/SignedCapsulePkg.dsc b/SignedCapsulePkg/SignedCapsulePkg.dsc index db7f176166..3d9c4afb91 100644 --- a/SignedCapsulePkg/SignedCapsulePkg.dsc +++ b/SignedCapsulePkg/SignedCapsulePkg.dsc @@ -19,7 +19,7 @@ [Defines] PLATFORM_VERSION = 0.96 DSC_SPECIFICATION = 0x00010005 OUTPUT_DIRECTORY = Build/SignedCapsulePkg - SUPPORTED_ARCHITECTURES = IA32|X64 + SUPPORTED_ARCHITECTURES = AARCH64|ARM|IA32|X64 BUILD_TARGETS = DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER = DEFAULT @@ -105,6 +105,19 @@ [LibraryClasses] IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf PlatformFlashAccessLib|SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf +[LibraryClasses.ARM] + ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf + + # + # It is not possible to prevent the ARM compiler for generic intrinsic functions. + # This library provides the instrinsic functions generate by a given compiler. + # And NULL mean link this library into all ARM images. + # + NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf + + # Add support for GCC stack protector + NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf + [LibraryClasses.common.PEI_CORE] HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf