From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Google-Smtp-Source: AJdET5fge3rEENpAz6nRRRQuurU5memtRxRkFGAmO1PedlKFTslrCQk0JA1EXgh3VSU8AX+WNHThpg== 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 Cc: Jiewen Yao 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: [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: , X-List-Received-Date: Thu, 01 Nov 2018 15:36:58 -0000 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(-) 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 -- 2.11.0