From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.86]) by mx.groups.io with SMTP id smtpd.web12.42960.1597060584554209920 for ; Mon, 10 Aug 2020 04:56:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=kGFZ4l+a; spf=pass (domain: arm.com, ip: 40.107.20.86, mailfrom: edhaya.chandran@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Q1ia8gHqNO9SJBlcKbWcQ0488DaNH8gbn2zd11rk40E=; b=kGFZ4l+aEAYaGxHMmN/TCi0glu3yODJRl+Lc0TbHst86HF0aItWlsF63KFd4HwVCKmP58wqTIWDvMquN+pEYDyVQcrQauRaIo+MP1VX4Bz8y8571FexnUeZoo+4c7SFtnVG5rPPBwePU7+mqJmI65tBJH9oD22R6X+cujk677cA= Received: from DB8PR06CA0002.eurprd06.prod.outlook.com (2603:10a6:10:100::15) by AM6PR08MB3031.eurprd08.prod.outlook.com (2603:10a6:209:45::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.18; Mon, 10 Aug 2020 11:56:22 +0000 Received: from DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:100:cafe::59) by DB8PR06CA0002.outlook.office365.com (2603:10a6:10:100::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.15 via Frontend Transport; Mon, 10 Aug 2020 11:56:22 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT011.mail.protection.outlook.com (10.152.20.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.16 via Frontend Transport; Mon, 10 Aug 2020 11:56:22 +0000 Received: ("Tessian outbound 7a6fb63c1e64:v64"); Mon, 10 Aug 2020 11:56:22 +0000 X-CR-MTA-TID: 64aa7808 Received: from c4deeb53a728.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id B49AC226-8B13-4199-8AA5-474108CFD8E5.1; Mon, 10 Aug 2020 11:56:17 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c4deeb53a728.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 10 Aug 2020 11:56:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nUn3SdzHplIAgxtca92HTiSbXP3l75qapQZPz3nPReSrV8G197R2jFXPg2TOPxfQITTqH1rmUvW+LnEeyuKIsb5MQSdcUjl57E3lzAqPBSEaDNAUrynZ7mH0q6+twnonsfTwtDCIgkFf2EnyhbTrHdbp+8a8Da5Ps4MfG8MPPPlJ+r3zdx7thmbRy7xL9g0fT9MdTq7EVE6/R6L4ZLusKbGm6oumI4HmfY3Lr6SlgfJHPmKaKff7LFoeVcfxfBaghWZrbnUcSQcB99YmPTo2iFqn1xXKjj9cAU/R8J/gaj7jGo4hAiMJxlVYXln1L8k2TrpCanSFY1f/WMTSplRwUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Q1ia8gHqNO9SJBlcKbWcQ0488DaNH8gbn2zd11rk40E=; b=JfcJxHHJmmekS8O7KSVycb25egkj+63KIhDEUX2TEkF7jcydRwrp0bq/Ye7Tbb5AfNnsUbavrXdoRvLze7yc3whsdw//8LyHMwQFXegjomDlNuaf+AIxJNX9Fcz4bkOYyuaX5xNqNI5rC1jcqOD/CpxSSLwGv6/lYJPnNOuxvsbuBkXgvfHzVK123BrobHl/CLEqd3zvwInidmP8xvM6T1yIcfCMj8JTDwiJc1RBhRtVrWgi7Rl6g8IuatML8BPx1OGrF494Ur+1h9jYg2hPtYAvEUK9pOR4plbnq6ZCI1V5waouIVAdRZu3f2rGuXTOP8fYmC1LN03KdHt/9VQ8jg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Q1ia8gHqNO9SJBlcKbWcQ0488DaNH8gbn2zd11rk40E=; b=kGFZ4l+aEAYaGxHMmN/TCi0glu3yODJRl+Lc0TbHst86HF0aItWlsF63KFd4HwVCKmP58wqTIWDvMquN+pEYDyVQcrQauRaIo+MP1VX4Bz8y8571FexnUeZoo+4c7SFtnVG5rPPBwePU7+mqJmI65tBJH9oD22R6X+cujk677cA= Received: from HE1PR0801MB1691.eurprd08.prod.outlook.com (2603:10a6:3:7b::13) by HE1PR08MB2763.eurprd08.prod.outlook.com (2603:10a6:7:36::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.20; Mon, 10 Aug 2020 11:56:12 +0000 Received: from HE1PR0801MB1691.eurprd08.prod.outlook.com ([fe80::d4ac:fc42:54fe:6ddb]) by HE1PR0801MB1691.eurprd08.prod.outlook.com ([fe80::d4ac:fc42:54fe:6ddb%10]) with mapi id 15.20.3261.019; Mon, 10 Aug 2020 11:56:12 +0000 From: "G Edhaya Chandran" To: Samer El-Haj-Mahmoud , "devel@edk2.groups.io" CC: Eric Jin , Irene Park , Heinrich Schuchardt , nd Subject: Re: [edk2-test][PATCH v1 1/3] uefi-sct/SctPkg: Fix build with latest EDK2 Thread-Topic: [edk2-test][PATCH v1 1/3] uefi-sct/SctPkg: Fix build with latest EDK2 Thread-Index: AQHWYWI68D19sWxX3k2PUf8h9fNdBKkxVofQ Date: Mon, 10 Aug 2020 11:56:12 +0000 Message-ID: References: <20200724022900.30826-1-Samer.El-Haj-Mahmoud@arm.com> <20200724022900.30826-2-Samer.El-Haj-Mahmoud@arm.com> In-Reply-To: <20200724022900.30826-2-Samer.El-Haj-Mahmoud@arm.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: CD13344D7E40F449B2D601110A7A8492.0 x-checkrecipientchecked: true Authentication-Results-Original: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [115.99.54.241] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 58459cc9-daf0-4ceb-61e4-08d83d24668a x-ms-traffictypediagnostic: HE1PR08MB2763:|AM6PR08MB3031: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:7691;OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: dRIqb45BsuApj0KuZeZdeQFbsCN3maaWeKZByL/OL3lI/xNk9w+0O6iMXo8py5K0aE1V7APBBpoi10FDVfQrc0+P2pPs+fqho/UXtMJU8PKqv5HVBo3/iVTf9srSzW2HdanhyF5ub0If4usrZfRkHuXwMGsvqPIFO0kAATrQFiwV2pNkM4wtdrz4wdJb7aKhYvoN+jSsowMFuLlKrhJ0K7BY3/ELqPd35icTMw/sTsDFBWBZ3gyPtM4MWOsUUqmglIYb5Ds0T5ewt/KXeVIfJ7hb0cobK/I0mOvs0upSW8BvX2vgZr8YfDmh6v7GEi8iyMoUBXlrNP+e4HGpAnQch9gOQVxTHUUDngg7ojQ3evauzy+WX/3O1+o7uAuNgSsG0tPH05VF+T/mHmAGtevdcg== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0801MB1691.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(39860400002)(136003)(366004)(346002)(396003)(376002)(110136005)(54906003)(71200400001)(7696005)(4326008)(33656002)(2906002)(316002)(9686003)(55016002)(8676002)(478600001)(53546011)(6506007)(186003)(5660300002)(83380400001)(26005)(86362001)(66476007)(64756008)(66556008)(8936002)(52536014)(66946007)(66446008)(966005)(76116006);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: aVuDkm0GKZfa6L2apK5vWOC0pPnkpecNh24CKLId3BfbqKBj87h7G3LMgdq9Sy/t1I3mAknOFRd6hwhE6E/NSGIt5cS3zxsTvSgz3MpzBvrs8vw6MLgZ6FA/WHi9gdrkeYGlKHdtE5sWyY6S96esASdq9RND1+JV8a8XPs/MAG6oRJRri92sztDgcth4toL7OGOLpNXDZGz8S1Z+zsWt23maMW7woyXGJhjaNl/ORX0fgkxDt0bWo5h8nlzIkAotU1ngh3VT7R4iFl+VzzcBfid8qgT9rDrsfjhpwzYe1ZCsmqQRUHu9cBXQYRFifJqTA33O6bv5JMAQn1mER8dDA9GvjKAuoMwhdFeAMvxZqGcQDIIoCQSWQCk99ec3pcOEU0YBPug/+RPkzVpMekCX6aQIr0nJzGoZAy6FhJ6JG5Dd0MyW7WJNpW3XWnsccCc/A8UnwdYUDev6PRtsLCrTyH4+fHE/iLq212KDl482WJoUtXNqhd4vDfYnMG4wFHkhni7pHFgGed9wOi4ZC3p8qdvvY9pujQULYBEH31P7517wZepMGdqwX14CA5KNYWWh3tqzDPKtQIvW+zQOlxeGccuccW/dUi9sFcELeOz2OZtXE8jRmMUhRMDoG2uuUye22YqvFJKNC1JhbRiz09kiGQ== MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR08MB2763 Original-Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; Return-Path: Edhaya.Chandran@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 0ce0f3f9-0266-4b57-e178-08d83d2460bd X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YTrjsZUR/2P1GXhcUq0UqGCtQVw2zFMJwbpxXiuvzkUhCPek8AwvFxjM6m8n0RuqX2fWwQ/o6beiOuZooVDbHxN7WcONPlMB384QyLYCZJlIkfVydVhPakGO1qUzSCH9vVl7dR2Q+YdTZk8lDwbDWqqewwKZwd6daTsbnkDgp1jjVCuQHbLB9ujJkBjxWaWNtnwpToBDAyJfwblOe62oASOkneDJydKKHETFzHRmV7hzwBSz/9frg8jPFiGRubFii8J7ys4CDVVc8QvjZn6/Ivy2hcGEFqFs9cCng6PjbB4fZwknwKdQ8B+oTCYAEtsNNb5Y4bVbom6/I5z9wk0UBO3Wgd3iGXCDXj4Vu4HHZS7XaPhA468N5Z36sJKEmc8RA8eMyF+T9ec0NN6X8DFxDIeT5TkKg+F14JXolRK/0KI7nt6hCuz0z90NZlbaOadTe97wz5v4+G16QBVIAc8DXwDuQWeS03vqReY5NPGPwBo= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFTY:;SFS:(4636009)(376002)(396003)(346002)(136003)(39860400002)(46966005)(9686003)(55016002)(52536014)(316002)(54906003)(7696005)(70586007)(5660300002)(70206006)(83380400001)(8676002)(6506007)(53546011)(478600001)(86362001)(336012)(186003)(8936002)(4326008)(110136005)(82310400002)(81166007)(356005)(26005)(2906002)(82740400003)(47076004)(966005)(33656002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Aug 2020 11:56:22.1317 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 58459cc9-daf0-4ceb-61e4-08d83d24668a X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3031 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: G Edhaya Chandran > -----Original Message----- > From: Samer El-Haj-Mahmoud > Sent: 24 July 2020 07:59 > To: devel@edk2.groups.io > Cc: G Edhaya Chandran ; Eric Jin > ; Irene Park ; Heinrich Schuchardt > > Subject: [edk2-test][PATCH v1 1/3] uefi-sct/SctPkg: Fix build with latest= EDK2 >=20 > Update the SctPkg build.sh script to work with latest EDK2, without depen= ding > on UDK2017. Changes include: >=20 > - Allowing GCC versions 5+ > - Refactoring WORKSPACE based on the new EDK2 stuructre > (SctPkg is treated as another PACKAGES_PATH component, not a package > in the Edk2 folder itself) > - Remove unnecessary EdkCompatibilityPkg reference >=20 > This patch depends on the change in > https://edk2.groups.io/g/devel/message/60407 >=20 > Cc: G Edhaya Chandran > Cc: Eric Jin > Cc: Irene Park > Cc: Heinrich Schuchardt > Signed-off-by: Samer El-Haj-Mahmoud > --- > uefi-sct/SctPkg/build.sh | 19 +++++++++++-------- > 1 file changed, 11 insertions(+), 8 deletions(-) >=20 > diff --git a/uefi-sct/SctPkg/build.sh b/uefi-sct/SctPkg/build.sh index > baf28b40a5f0..d4253cecc7a5 100755 > --- a/uefi-sct/SctPkg/build.sh > +++ b/uefi-sct/SctPkg/build.sh > @@ -1,7 +1,7 @@ > #!/bin/bash > # > # Copyright 2006 - 2015 Unified EFI, Inc.
-# Copyright (c) 2011 - = 2019, > ARM Ltd. All rights reserved.
> +# Copyright (c) 2011 - 2020, ARM Ltd. All rights reserved.
> # > # This program and the accompanying materials # are licensed and made > available under the terms and conditions of the BSD License @@ -13,7 +13,= 7 > @@ # ## >=20 > -SctpackageDependencyList=3D(EdkCompatibilityPkg SctPkg BaseTools) > +SctpackageDependencyList=3D(SctPkg BaseTools) >=20 > function get_build_arch > { > @@ -55,8 +55,13 @@ function set_cross_compile function get_gcc_version > { > gcc_version=3D$($1 -dumpversion) > + > + if [ "$gcc_version" -gt "5" ]; then > + gcc_version=3D"5" > + fi > + > case $gcc_version in > - 4.6*|4.7*|4.8*|4.9*) > + 4.6*|4.7*|4.8*|4.9*|5*) > echo GCC$(echo ${gcc_version} | awk -F. '{print $1$2}') > ;; > *) > @@ -122,7 +127,6 @@ do > done >=20 > export EFI_SOURCE=3D`pwd` > -export EDK_SOURCE=3D`pwd`/EdkCompatibilityPkg >=20 > # check if the last command was successful status=3D$? > @@ -201,14 +205,13 @@ fi > # > if [ -z "${WORKSPACE:-}" ]; then > echo Initializing workspace > - # Uses an external BaseTools project > - # Uses the BaseTools in edk2 > - export EDK_TOOLS_PATH=3D`pwd`/BaseTools > + export WORKSPACE=3D$PWD > + export PACKAGES_PATH=3D$WORKSPACE/edk2:$WORKSPACE/SctPkg > # We do not pass BuildArmSct.sh arguments to edksetup.sh > while (( "$#" )); do > shift > done > - source ./edksetup.sh > + . edk2/edksetup.sh > else > echo Building from: $WORKSPACE > fi > -- > 2.17.1