From patchwork Thu Nov 1 15:36:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 149972 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp937756ljp; Thu, 1 Nov 2018 08:36:59 -0700 (PDT) X-Google-Smtp-Source: AJdET5d+bbbAQgpAIISWaTRivn7fy0rinOEwVRz5LJHJ9R+Mset/DAOIV2YiRzHUWWtbGfU6EMWr X-Received: by 2002:a63:1302:: with SMTP id i2-v6mr7747138pgl.380.1541086619233; Thu, 01 Nov 2018 08:36:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541086619; cv=none; d=google.com; s=arc-20160816; b=fxN5JF4kuEyYt1XlGLSaXs/9kao7LElz1wxqg0XEPbkhUZEqO7JB0qvImloims0zyB Ma0CRUNLxxYCcikB/IXnq7DSY+NxAj0Xh+Loqj9/horzMqo27YhSUgIe2u1PDfaDoMPf 0vCxbCdiAtjbvH2IUOl0kDrRq+qjsRoKPDWiKKTAbbPBg/qJl1QLM9hziV3l4OMvtDU/ waAF83L6EcpNBwt50+FA/oMl46pC4u9iS9P+RZ90Eg6PH7/TPd/F5AA1/A0D1ijz/nws OnJEomDPkyZzS6ITLpBZC45yUVD8+I0c3cqq9GBmFCyg7q0eNTgTC299NHZ1SnauG0/i flFA== 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=1dtt6BdCc4afwTPY/tCdgbuNe+XAMA2vn6WtXILpfas=; b=AAhZ6MdFLbpnt1JpshfIoC7GW8jToSZqnifWDHbgTwduYhVKqxu0XGqY7ubo6W6WJg IZojSkGwQ404uhBJT4Z0QmEerYxoUr9lSEXo5dQXRKqFkdE2yCr8h/sKveV/zZ4g2Y7g o3kiFNaHEQYdtFRAyLdcoKjgf/l70nly6J3xZR2wy+z722H5/ydMVK+YYHwH1fyOpRP2 K5iTcb9LdB/gxb7xSabdjM+sDojH2pl0sAfUL9+UW3IgAJYSQ37yh9Mk9MsC4zI8Qzhh Dr+1UZ4OuzOO3YmIt5jHgbzemckYWnVxYI92I4zYUTKUPAr8uFciBDpajpe/9ZgtNUVk DkzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="Y5OVlp/Z"; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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. [198.145.21.10]) by mx.google.com with ESMTPS id 132si6091398pge.141.2018.11.01.08.36.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 08:36:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="Y5OVlp/Z"; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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 698C721189FAD; Thu, 1 Nov 2018 08:36:50 -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::344; helo=mail-wm1-x344.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) (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 E4C9621188C5B for ; Thu, 1 Nov 2018 08:36:48 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id b203-v6so1683334wme.5 for ; Thu, 01 Nov 2018 08:36:48 -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=z7XlNjQA+3UguYdgmakTHs4M9+OBAH148FP8wKUG2yQ=; b=Y5OVlp/ZJuBqiMU8n4M0m7gJlKM+9UQzMdqDKPSrZpXM3o+ec3sEFP6WhG925nz5CY sYngtEq5PSjTnS2F+X+tmQD52xSUAtss8UPmeWGJ0mvvsurIldwdIVEcTWuEz5mypAP5 RT0x11A9ot07RRhDgmN9meoJmKayPJT6XhiKw= 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=z7XlNjQA+3UguYdgmakTHs4M9+OBAH148FP8wKUG2yQ=; b=l8FGZaEvzAxBxB3Wqd9Sce1LI16tMgA/hv+beZwmuBZcYzJe3OViw+WE82RXIm9FhU d2v6ZRdhrrg66Rk1KGTI+ezxqni7fElx+Rb3xWzzFY9YC+JPpcC1P90Qclvjx7jlSYsY 7zoE7EsGJuWaSvsMyy/smUmVnUOJDVLNiiK42+KPkNXwXns2s3GvUAisUS6XksfBk/hU p0No77OgwBl1uye/73cqo+NIAAOmW6jmYwG7ldw87usSmiguNMDbzRlrGQ+yc47/7Qp6 tScQ/qGOfLCRElJcWANk8LAdFXpHzXL8GWc/7V4Kz4m4L+OvKAjkWljxqxHJhkVWJE+i Wghg== X-Gm-Message-State: AGRZ1gJTAXXbL//QEBsQ4uZ6VhsGt0BCvym8KSk1EmZi3fgow0uBO8w0 gMX6zhq8lxk33FV4/Wk7nlOghRjDZ7s= X-Received: by 2002:a1c:13d2:: with SMTP id 201-v6mr5760285wmt.58.1541086606885; Thu, 01 Nov 2018 08:36:46 -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.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 08:36:45 -0700 (PDT) From: Leif Lindholm To: edk2-devel@lists.01.org Date: Thu, 1 Nov 2018 15:36:37 +0000 Message-Id: <20181101153642.11315-2-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 1/6] AppPkg: fix webserver build for !Ia32/X64 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: Jaben Carsey , Daryl McDaniel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" The WebServer application is really quite Ia32/X64 specific, but fundamentally it builds for other architectures as long as the architecture-specific #include header file is filtered out. So add an architecture-based filter on that to enable AppPkg.dsc to build for AARCH64/ARM (both listed in SUPPORTED_ARCHITECTURES). Cc: Daryl McDaniel Cc: Jaben Carsey Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm --- Note: there is definitely a case here for just disabling this component for !Ia32/X64, but the _interesting_ bits of this application are completely architecture independent, so my preference would be to do this for now, and worry about remaining issues (like MTRR dump) at some point in the future. AppPkg/Applications/Sockets/WebServer/WebServer.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/AppPkg/Applications/Sockets/WebServer/WebServer.h b/AppPkg/Applications/Sockets/WebServer/WebServer.h index 21b07b63df..610abdcf9e 100644 --- a/AppPkg/Applications/Sockets/WebServer/WebServer.h +++ b/AppPkg/Applications/Sockets/WebServer/WebServer.h @@ -20,7 +20,9 @@ #include +#if defined(__x86_64__) || defined(__i386__) #include +#endif #include #include #include From patchwork Thu Nov 1 15:36:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 149973 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp937811ljp; Thu, 1 Nov 2018 08:37:02 -0700 (PDT) X-Google-Smtp-Source: AJdET5e1T80IKOTmh7xgxDKL1pAUIa0HpHXqD53lTmwcgLSZE6+2QEjGVhd+FftpwP+crhoa6mD5 X-Received: by 2002:a62:507:: with SMTP id 7-v6mr8216182pff.80.1541086622574; Thu, 01 Nov 2018 08:37:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541086622; cv=none; d=google.com; s=arc-20160816; b=wYMNhN1Rd1r+WxaLq7a1icYBWyu67si0G0jJBpTzE5NbDFt+p891s42/Gk1+3eORXI w4tpTrtTgvAQ0X0Ca40uycbRPD7lxmt7kTP8PPr5OBwkxNCXr7aZ8k60Rb/BK8XuxDIY 3cxx9m4VCtNzpQdgVaj3DTIUgxHt1j5+FS9nvN816vf9Y+vlsZ4FNr0jgvMlUQBf6XSl 0aHltVwRPtnv38d429WCVXElwh525Q+QDuExQSn8tbhGuK3Av/nzdgh2rm7FL1V4Tpwu vvjvhqQRzsL4mCUIET1AP9HKP1DWSY1w+4v4eZffdi0In2v1jUIlvCasnl/isdfgGGWd F6/w== 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=/gOBsOeULkKbffvcFWOdKBePQlV2a/t3//ODFbk2AGM=; b=GVyp2CnR4HEDKo24ZX9sETYfcbrVHFkdg0TsMAnzwVP30COYG26Xnz8h3JQuWkv6FO RxLGzU+TxmQlR0PEcLV84BCLJthR6Kcd7CxqoF9YNCJzOStKyuy0jTYTrI9nMv1MuDDB TaU6ZTNLozO6veUEcOfAMP1w4Mkxk5j8ISTJEtBtTQhBfW5NosEK0s09BfsPvLydtBJ0 T6NabIq5r734tfVMz/ntCxdgJ4/GB4qL6SNOEqqrHaDO+v78o/sFyYAOmnABiTse42+y DVgZLHMwt8WyG7Y+eEl0RppcIDq7chQPpQAkw+VVQxilQnZuB/19gr095dKOcaTmUe2l 3GVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QtDtoZ+C; 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 g11-v6si20644368pgd.26.2018.11.01.08.36.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 08:37:02 -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=QtDtoZ+C; 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 9A89321189FB3; Thu, 1 Nov 2018 08:36:52 -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::342; helo=mail-wm1-x342.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) (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 7DFA521189FB0 for ; Thu, 1 Nov 2018 08:36:50 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id v24-v6so1767797wmh.3 for ; Thu, 01 Nov 2018 08:36:50 -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=IMo8YeUb1HdxjVnj0/qliYz6k+ZdeFIB1r+kSkUWGkc=; b=QtDtoZ+CBA5d5VPidcveno5StU8XEy2mhPtWqkCCAw32a7d/v1SZrpwDAwub1K041u M8M+f4xTHv0AGaryWEQ+3VkMWrKFzKTIyjmdyCVvlqpKDoyhs4sYJhR/Psza5W0BufGc lcZA1Q3NvQid3APHcaGW19ct0p6f2hQegcQk0= 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=IMo8YeUb1HdxjVnj0/qliYz6k+ZdeFIB1r+kSkUWGkc=; b=YKTH5BnjamrwYjtLZoDx6F8VtL+AofPXO9e6m7qDV1o24078vVExr6F4HCsdW/tzIA EwNvfruxn919VZkpRe/9qG9/+A9k6BOa2tucAI3oFGTR07EjTycdFY4GrKkG7exzx2/C OG81aVcy6yc2cStx0cinczvFgKuOHUbcbfXcB9WTG+llEGDnpODb5/VrE+L5J9f+fRA3 bw8Zdx4iKcmhqA0Nbz3HplDeDYUl1iFpvvhku9TEF/h67b7WwfKGY0v8XR0k/QP1sQN+ /zCD/2s9Wkbo87RAVDf/UJEo6fXQAwwSqcZBlEODn9jxG6yQX5WrBX/zMEC6pFFWk4T+ A7aQ== X-Gm-Message-State: AGRZ1gKxex65KOiS2CCrR5iPIV2F1Gfojdaf27XeG2th53zl4lVLwnHC DxrnA71ozy+NU6hKHiOiiLqdgCttRm0= X-Received: by 2002:a7b:c153:: with SMTP id z19-v6mr6158982wmi.132.1541086608642; Thu, 01 Nov 2018 08:36:48 -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.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 08:36:47 -0700 (PDT) From: Leif Lindholm To: edk2-devel@lists.01.org Date: Thu, 1 Nov 2018 15:36:38 +0000 Message-Id: <20181101153642.11315-3-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 2/6] IntelFrameworkModulePkg: fix 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: Liming Gao MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Contrary to what the name suggests, some modules in this package are used on other architecture. ARM is already listed in SUPPORTED_ARCHITECTURES in the .dsc, but AARCH64 was never added. Add that, and force inclusion of CompilerIntrinsicsLib and BaseStackCheckLib for AARCH64/ARM to make the build successful. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm --- IntelFrameworkModulePkg/IntelFrameworkModulePkg.dsc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dsc b/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dsc index 894c5340a0..14bef5356e 100644 --- a/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dsc +++ b/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dsc @@ -25,7 +25,7 @@ [Defines] PLATFORM_VERSION = 0.96 DSC_SPECIFICATION = 0x00010005 OUTPUT_DIRECTORY = Build/IntelFrameworkModuleAll - SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM + SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64 BUILD_TARGETS = DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER = DEFAULT @@ -76,6 +76,17 @@ [LibraryClasses] UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf +[LibraryClasses.ARM, LibraryClasses.AARCH64] + # + # 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. + #^M + NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf + + # Add support for GCC stack protector + NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf + [LibraryClasses.common.PEIM] HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf From patchwork Thu Nov 1 15:36:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 149974 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp937889ljp; Thu, 1 Nov 2018 08:37:07 -0700 (PDT) X-Google-Smtp-Source: AJdET5fTkQiFNOCm+mZ/oNkBMvzcL7Fo7/RHJbN3iV6kELvv1m2Swl2AjfFsYUaxPXnn8//7Yv+5 X-Received: by 2002:a62:204a:: with SMTP id g71-v6mr8090470pfg.28.1541086627740; Thu, 01 Nov 2018 08:37:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541086627; cv=none; d=google.com; s=arc-20160816; b=Kv/kFtZu6OCdJa+bVk1OtVRPlaYoENf6m1H2Di7Mv6whgHkPhFxOC1p5XruoxQElJv qRmEy0gL4FFU+3ykfViSsopaCPM7KOx3Y8Yv5Rb2aeZI2a2rLy9vh3PjiG/yK80stJ0p 4wo26UShORtAt4zEo/qdMZEEOj3SwLKzexXE6P2fDCT47TJ3F9LiY7XS18AkVR9JOP+Q pzrYAv9aZTEQQqb5BV48fs2z/Rda6sgHe6igvQAQTIF4e35dj64gXB9MmkQ+Nn547DXI iZzQLCZ3HvySD2R22RayWKTj1TIKW8R5+Jp+Dlamr9mP63Xjy3g4Q3k5ocZz6DsCTEyx DHXA== 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=9WVbYPnzdyBs2jliNtbJBvL/Md6jdHoK/QvFNZ+SIsc=; b=NpRoU6mZ2Hs0Tkh4StKe9H2kHP2DtJvfCLecyRgFFVc+9wsUMt7AnBGGlrSOb9ofiK Wk6v/owMkax4UyX6p2CCO999NYI9eBD82XdPX5ayz3qaLGLR4MP+D19BgTt2Y2b+V+5k te+G2xYG4/we0Pj9bySbTUt2lv51Vd7VH/Pppw++TxIRiPai4wS37JZgjrqTXOT2HjOl vPWFAsFrBmgLKdKyDESAgm8jg/1LLsR/TxfziCCMUyYUeZlo2aoExCYqRDMycFWDA4lf ugVMP/oetSvL8STo4IlPsEDtTy/HWD4swxpVlnIKkqbW+wOsOe0ANiipKA849Y7e2krk wYwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LJ23H2nG; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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. [198.145.21.10]) by mx.google.com with ESMTPS id r15-v6si31158659pgh.88.2018.11.01.08.36.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 08:37:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LJ23H2nG; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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 C7EAC21189FB5; Thu, 1 Nov 2018 08:36:53 -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::443; helo=mail-wr1-x443.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) (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 36C2A21189FB2 for ; Thu, 1 Nov 2018 08:36:52 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id y16so20505236wrw.3 for ; Thu, 01 Nov 2018 08:36:52 -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=sfgLX1wh+BiIU0itH0XnMz+iw8xEj9Doo6sksfP0SZU=; b=LJ23H2nGkfCJTjfSH6XIz9CJVIR0WrWKenw2F/CXTw4e35v9NKlK0MuqeZQKGS9buI NxzitJquZNwawr0YF+azsolOmmiVjE28I6ACAF1uX90RFF78o+uHhWPNKzbSD1/F+86I vLkM1qtQdeNraPWPfdff9Q1rYpu5sipQP55DM= 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=sfgLX1wh+BiIU0itH0XnMz+iw8xEj9Doo6sksfP0SZU=; b=swl3g9bi4/9TOkcQGOuLhvtni8eRRFykEK21R0FXAxc4vVNt2c+C7lbROEHLkxu7TC 4yzR4NbzI2n9mM1J8LN2oXaZZTX8IYOhYBtgMtrnE+xJu6F5lbgYoVRDA+i3Y9yPw8TJ sxuk6/C1Ho/MHEwLbdZlP8X/ifWQfO5HGJIgkt3yjJKuAFveHT9rFVsE8L6VpjVp7mu6 x/bGW8MyLLfyj8DXUglMlxAWqm4rmoHyZUgjWMrr1+Zb1RIkbaCCZIDT0eyWsGtHqLPF 5oF3qVDqz+XnaVRs1s/dOUDfEhyV5jC+rRVZKCcUEJa7w6O/2vtz0QUJek/CaAbdBD4X jJbQ== X-Gm-Message-State: AGRZ1gL0jJiMzSJevbdGnfLo/bLUaO/JggW+uIUNhiepe9qzhgrV9LdP 1SPTjjz329gZx9QKUSDNtcZ25Rp1IOA= X-Received: by 2002:a5d:4bd2:: with SMTP id l18-v6mr7250258wrt.168.1541086610303; Thu, 01 Nov 2018 08:36:50 -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.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 08:36:48 -0700 (PDT) From: Leif Lindholm To: edk2-devel@lists.01.org Date: Thu, 1 Nov 2018 15:36:39 +0000 Message-Id: <20181101153642.11315-4-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 3/6] IntelFrameworkPkg: fix 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: Michael D Kinney , Liming Gao MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Contrary to what the name suggests, some modules in this package are used on other architecture. ARM is already listed in SUPPORTED_ARCHITECTURES in the .dsc, but AARCH64 was never added - so do that. Cc: Michael D Kinney Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm --- IntelFrameworkPkg/IntelFrameworkPkg.dsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Michael D Kinney diff --git a/IntelFrameworkPkg/IntelFrameworkPkg.dsc b/IntelFrameworkPkg/IntelFrameworkPkg.dsc index bd5df8c5d9..f957af78fb 100644 --- a/IntelFrameworkPkg/IntelFrameworkPkg.dsc +++ b/IntelFrameworkPkg/IntelFrameworkPkg.dsc @@ -26,7 +26,7 @@ [Defines] PLATFORM_VERSION = 0.96 DSC_SPECIFICATION = 0x00010005 OUTPUT_DIRECTORY = Build/IntelFramework - SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM + SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64 BUILD_TARGETS = DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER = DEFAULT From patchwork Thu Nov 1 15:36:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 149975 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp937958ljp; Thu, 1 Nov 2018 08:37:11 -0700 (PDT) X-Google-Smtp-Source: AJdET5cW6ALuOWsSRAiZgLho+O6c4lJXEzW18UrHEDBhl8nw5+YiCXvS74X+kYKBokiGEowHtfJQ X-Received: by 2002:a62:d148:: with SMTP id t8-v6mr8154965pfl.212.1541086631811; Thu, 01 Nov 2018 08:37:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541086631; cv=none; d=google.com; s=arc-20160816; b=tHkJXf1AomBcb7XjItb4WAZI3pi0peKELCkB0/OyxI4R+tyJAJovUxQ0DuC4cTSbnF SpyoCdufO3X1DSMhvLxtBucLYGDQRveUMdKN58RDfGCw2bqxrqcqAFV3PPoUPcNIqHox TNs/y2ukomwmgrERhqK3YE7BJcEWXI2SWINpgxHSzipUErQz2jozHvpU5VQzyVDgpxgj U2+CUP7+YDq8zYgGj84z5FHywqAMnVevdq3W1Q0tYJlbthutuFqG8u92oT21t0onP7Qr E4jGv7xCKBGFFL5x/JI85dZPuz4vnejgvww6kEAgt12e5jugy19vZ3Jle9jFrNit4w4D yffA== 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=Udb3319MCcSoSJayNDz7gcxQtoRXqAcJbcPbRUBzDjs=; b=JZDzgUEHhVUrmtXRyENih9vBXGr6c9mWGqZuAGHzG1qTsrWDHLhSsCIgjkhV9kuDUu aAUgsHMXVkUVr8GQPmv2Y24mZ0zE05bDoSRkE0hYFEhX9BEIsSvY4wl56dPXLHNdAyDI 5UCuYqIyUAC58MBlLcO9UCpXD9TZfwUXPHfiwz/yvPhE9jGuSvnpDKNqISzTl+JBPa7v SIxwP6APxHbFkVvPrlczbgltg1vaiMT149+0LrmevVlqal5pT/7RY37Ns70j2UwRFIeB T177U3DmG2jdK7/qCLUZfcBGOqqn88PNdoiXm6hEgHrg5isj1jzrYMhJmvzN+gV13czP 96bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=kT3kLYtK; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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. [198.145.21.10]) by mx.google.com with ESMTPS id l30-v6si31884778plg.179.2018.11.01.08.37.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 08:37:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=kT3kLYtK; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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 01EA621189FB6; Thu, 1 Nov 2018 08:36:55 -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::442; helo=mail-wr1-x442.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) (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 C7F1E21189FB6 for ; Thu, 1 Nov 2018 08:36:53 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id r10-v6so20506891wrv.6 for ; Thu, 01 Nov 2018 08:36:53 -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=BxCmMbPtMglIRrMEDTao9OIxPecPXfz/7IAIaH4Q4bg=; b=kT3kLYtKZwSVCuZxKf95k/2iXWd6+VeX1/xhL2Alf23V/b6JZIc7Jj2I6mpE2anI7I Xv6SMk17+Q5kL60ULDWuVmm+10jBxd3OwpF0ChPsycjJ9fSoWQ1flVA7cKrch+FGP7rf Eaxpv0vJTBUDJMJocBadgFu1eGNXkpP+PIwbc= 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=BxCmMbPtMglIRrMEDTao9OIxPecPXfz/7IAIaH4Q4bg=; b=tvdrYnlAeQjN/uiGvIjm5qRbjXmDlAifkrw+VPMEfcX6KVQVJIVxtMaAGQARXaZsP0 /huYGchqWhGI4fk2/eRoTtca6dotQGhzYpQfr7DFvyQNqK955OpZPIb8csFY7lk2yGKJ yFv7qu9tztTGP4nUrfW4OP0YA4YuFb+rASSqxLbOxGYfK3VWY0VsBSwMuprJVv0/tE3d VbHHR7Ph2ex6OWRXh4yRoLZjoY7y+Dfq3902fpj0Hw1RiefuKysMw3Scxg2di/8QY70C mODDmd0QENFctvqy8+o9PZDws6xeAx69TbeGeIRWo1NFFTbEpzlWCwashXwDOyaO3XGi 1kKQ== X-Gm-Message-State: AGRZ1gJ2dji3r0h+h3e5xiU9YC1aOAoPWih7Va3qFN2unsy7kGnFUx8s 6msoPRZ6njnvqDTIfMV9/IpbSzPPbSQ= X-Received: by 2002:adf:fc0c:: with SMTP id i12-v6mr7026238wrr.145.1541086611999; Thu, 01 Nov 2018 08:36:51 -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.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 08:36:50 -0700 (PDT) From: Leif Lindholm To: edk2-devel@lists.01.org Date: Thu, 1 Nov 2018 15:36:40 +0000 Message-Id: <20181101153642.11315-5-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 4/6] MdeModulePkg: drop DebugSupportDxe from AARCH64 components 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: Star Zeng MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" DebugSupportDxe.inf was listed in [Components.IA32, Components.X64, Components.AARCH64], but the plumbing that would be required to actually build it does not exist. Move the component to [Components.IA32, Components.X64] to permit build of MdeModulePkg.dsc on AARCH64. Cc: Star Zeng Cc: Jian J Wang Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm --- MdeModulePkg/MdeModulePkg.dsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Star Zeng Signed-off-by: Leif Lindholm diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc index 2465d39fd7..942c70566b 100644 --- a/MdeModulePkg/MdeModulePkg.dsc +++ b/MdeModulePkg/MdeModulePkg.dsc @@ -423,7 +423,6 @@ [Components] [Components.IA32, Components.X64, Components.AARCH64] MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf - MdeModulePkg/Universal/DebugSupportDxe/DebugSupportDxe.inf MdeModulePkg/Universal/EbcDxe/EbcDxe.inf MdeModulePkg/Universal/EbcDxe/EbcDebugger.inf MdeModulePkg/Universal/EbcDxe/EbcDebuggerConfig.inf @@ -440,6 +439,7 @@ [Components.IA32, Components.X64, Components.Ebc] MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf [Components.IA32, Components.X64] + MdeModulePkg/Universal/DebugSupportDxe/DebugSupportDxe.inf MdeModulePkg/Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.inf MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf From patchwork Thu Nov 1 15:36:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 149976 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp938114ljp; Thu, 1 Nov 2018 08:37:21 -0700 (PDT) X-Google-Smtp-Source: AJdET5cZP3lH/QHFhDoF6D0GFrlsyw84FRgDCVaBvbz2ocNI24ufp8upgn8CICSiy9kfNbkOisQh X-Received: by 2002:a17:902:6a:: with SMTP id 97-v6mr7647652pla.276.1541086640975; Thu, 01 Nov 2018 08:37:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541086640; cv=none; d=google.com; s=arc-20160816; b=t4WR5Ing55MMIHZ+3JWN/CVfxoqg/4RSgv925BAD+PB8OW9Onvv3A9GGL0GtDnO6/Y lJNBaRDkHwWhKsvQPjmq1QlgxxM43ZazeLmcYSB78Qb4GVEE+Dl9mIRLvelIRi+5RFN5 TgW9z2TU8I31u7eP+jNvWWuFtgtj6OFBTcyOV0EqTxMVxOyWlMcjNOEP9ajvUYqsIN38 3FpfVovXUbbVHz3FOpwU6aXBFjfrtkNx+MdFRcClmUKsHgXgHqFnAjMf5S940zIXRF4d Q9Pe1IImEXc+cStWOYe1uFZrgjmGBGNWxGiTJnZyftEkOgR3Tn/yJ+Y+1fONoJtcj2m1 u1Ag== 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=JvB/oOZSaea74+gWqFU9iFAxU0C3L8vr9hoLNjXUnSk=; b=GpQX57m23k2PFd4ofEITzPjwUn/k+o6Hzxp9JekMiTi3bVL0VaL86yWHbvngfky1NL Y4UkeJGLFO7kCnX12NNd/C/4iBQ2GYjAYs7H8wOzQ/wzRtOk6WcQR+F/CKsAXwZsT9zV t10e9KMTMTcfu5mp+i8KMWIspVh/8LhDFLISzAgcfzD3/PoDJ8SjNY/ZAHIGCYBKxMl4 LKPy09DKTVA7sjEu2nsmnxOgOU+1LU3lauZBLLrD0dNJQv2LME48jkQDbQDAOD4M3GaZ YTQWU371uhcYRoup/1lqvNgsBjcZqJPvExgIiQ15haBiS33VboV/FTW1aHzN3DWw5/Na hnRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=k2aTB3Kk; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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. [198.145.21.10]) by mx.google.com with ESMTPS id 6-v6si29680660plb.230.2018.11.01.08.37.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 08:37:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=k2aTB3Kk; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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 3080021189FBB; Thu, 1 Nov 2018 08:36:57 -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 9803C21189FAC for ; Thu, 1 Nov 2018 08:36:55 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id j26-v6so6315336wre.1 for ; Thu, 01 Nov 2018 08:36:55 -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=nmpkeszesHqgvnUEDVEp8tplI2GnUuUL7uuPazRpm2o=; b=k2aTB3KkgV9UlaC9pm6hOcR2BPO/ce8MVaHxDkmSdX6KECeyixEQC7jhFV+RhzeiD3 p3dA9QHAK0y68ZSQHMI9hkdvaYCePSNlxY2WJMC1/izBWheZAkjitHnJIOrLPH1j/T67 qOyR/cTQ3f5AsHSPkn3nqaMtJmONrnCJWusLI= 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=nmpkeszesHqgvnUEDVEp8tplI2GnUuUL7uuPazRpm2o=; b=ctdWwZnlJS6c1Jm8hQDbU6Oo6OcA8k7fN5YCpVg4KrwQqrbfIeAwzNfn6b1HxDs7pD zKYJRC7btJsxksHGVaoCZntcusuGuDHDd2DQCFrEvPBLI+zHT/VjtGTRBqQSnGMjygDT SWISrXBE1cLZUmNsB0BGtlgDhZYI2UKMuv1G5ZfV3b0vToxgXihV84CNIs/RY8Rdxpf+ /ISL34s/wTcUSul/of7PIIDMV8gbbTJm51jQF7G7+PffFKtS7lfizeCCjqOJuYaEdPvz oy0CclCpKZQH1C+joJaLpsFyT1aAZnjMrGXZAomzs05N4jkJ6jp+ndYCOCeJxHlJiAyh YHFA== X-Gm-Message-State: AGRZ1gLwgyNXVSEov4e2gT4V7HZbDTNjT6CNp4k6Jxb+jOqeloAqgwD3 tgSBOv0WndHPWNOXk987TlOAUcWR3fM= X-Received: by 2002:adf:e808:: with SMTP id o8-v6mr7054199wrm.112.1541086613783; Thu, 01 Nov 2018 08:36:53 -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.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 08:36:52 -0700 (PDT) From: Leif Lindholm To: edk2-devel@lists.01.org Date: Thu, 1 Nov 2018 15:36:41 +0000 Message-Id: <20181101153642.11315-6-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 5/6] SecurityPkg: fix package build on 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 , Chao Zhang MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" The CompilerIntrinsicsLib and BaseStackCheckLib need to be included in order for an ARM build of the package .dsc to succeed - so add them. Cc: Chao Zhang Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm --- SecurityPkg/SecurityPkg.dsc | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 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/SecurityPkg/SecurityPkg.dsc b/SecurityPkg/SecurityPkg.dsc index 68a2953162..eaccbd9354 100644 --- a/SecurityPkg/SecurityPkg.dsc +++ b/SecurityPkg/SecurityPkg.dsc @@ -73,6 +73,17 @@ [LibraryClasses] TcgStorageOpalLib|SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf +[LibraryClasses.ARM] + # + # 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.PEIM] PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf 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