From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.65]) by mx.groups.io with SMTP id smtpd.web08.8293.1613837048983105422 for ; Sat, 20 Feb 2021 08:04:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=1t+tGpqD; spf=pass (domain: arm.com, ip: 40.107.21.65, mailfrom: samer.el-haj-mahmoud@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=vwrdb43kHQELWtAtYroKSWVdtO5JHDbzwvj22Xvto0c=; b=1t+tGpqDlacRiahSDLpsUmpiMscPQdS++Tx5JtEZQKhFMkTsKKbvS+i3nQk2w4KM9sx5ebWVQ98dIhgo78BWM8wVXLoWxpcAq/cLnpECt89MIHhyHn/jP5YubqWE22FnJrWXE+3PKcz0UVykPG3v41k7MUnSxbGplyf7XGPzDEc= Received: from AM5PR0601CA0069.eurprd06.prod.outlook.com (2603:10a6:206::34) by AM0PR08MB5476.eurprd08.prod.outlook.com (2603:10a6:208:18d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.27; Sat, 20 Feb 2021 16:04:06 +0000 Received: from AM5EUR03FT040.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:0:cafe::c2) by AM5PR0601CA0069.outlook.office365.com (2603:10a6:206::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.27 via Frontend Transport; Sat, 20 Feb 2021 16:04:06 +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=pass 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 AM5EUR03FT040.mail.protection.outlook.com (10.152.17.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.27 via Frontend Transport; Sat, 20 Feb 2021 16:04:05 +0000 Received: ("Tessian outbound 2db1bbc8a1d2:v71"); Sat, 20 Feb 2021 16:04:04 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 8dc51b92fb202c41 X-CR-MTA-TID: 64aa7808 Received: from 9c7f93f2465f.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 0E442108-E46A-4026-9549-2A8F4AED57CF.1; Sat, 20 Feb 2021 16:03:56 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9c7f93f2465f.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Sat, 20 Feb 2021 16:03:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Cah8QdWJwm3MwZgOLJWTWyhWUOfST+FEF/fCoh4BOIvj8fveX9XgdxN5jvnRwz9KY7XLvgYyTU5ATKBeRbBPqTV1RUFfMPHJHYmYQRcKbNkOndJgKhePzdpIaL2pdt0kJt1LIFB2WEd5CQa5FQ9BxjMSGngVG9X995p5AKY47dS60VM5BiVMGsY65TmgK6CtNIr4itlGLvuQEPnv9AAMAzDTWp0grCPII1HPAdszPAVhKsO/yuz0Ak7lE2iRmxuMcLs+CswlnyY0UB76w1F+0MK5ymX5uEQYZaVWSHhiwIzG0jM/NHQLXaSaqb6libsd1xNgGijuLXtL/ePJbgnvTw== 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=vwrdb43kHQELWtAtYroKSWVdtO5JHDbzwvj22Xvto0c=; b=h0dfdWLZ8Jj8XHP+ZnDvxmkzqvO843QIlxZbQe7Vx/v3tWdCXXvtm/U0HlIGUayyTCRNKvWlDlj50YIbknilTiLegZtkp3ZKpo2fQDvYFHVmi8jMVoM638bHqt6elcpSVF/d1d+gi6c+ZqRvZnpOmbnDWYYR8i1v1WEmBHhfLE4UwW2UKgNlRMAGDNJqOa7PGeQH7empFd6BP7ncYohplLd5rdvOd8gVzO8/3pBJpG/kohS2bZzlJPJZBBw+3TkvuJj5ZCPt0y6J9laybit3+bgRpSLBvSi1Bo7Ll+mgaiOVXej2ptrCm5o+nNtN3O0TtgBUP0Cu0/xMx4Akw6v5jQ== 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=vwrdb43kHQELWtAtYroKSWVdtO5JHDbzwvj22Xvto0c=; b=1t+tGpqDlacRiahSDLpsUmpiMscPQdS++Tx5JtEZQKhFMkTsKKbvS+i3nQk2w4KM9sx5ebWVQ98dIhgo78BWM8wVXLoWxpcAq/cLnpECt89MIHhyHn/jP5YubqWE22FnJrWXE+3PKcz0UVykPG3v41k7MUnSxbGplyf7XGPzDEc= Received: from DB7PR08MB3260.eurprd08.prod.outlook.com (2603:10a6:5:21::23) by DBBPR08MB6057.eurprd08.prod.outlook.com (2603:10a6:10:1f5::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.27; Sat, 20 Feb 2021 16:03:54 +0000 Received: from DB7PR08MB3260.eurprd08.prod.outlook.com ([fe80::a15d:ad7f:98a0:23f9]) by DB7PR08MB3260.eurprd08.prod.outlook.com ([fe80::a15d:ad7f:98a0:23f9%5]) with mapi id 15.20.3846.043; Sat, 20 Feb 2021 16:03:54 +0000 From: "Samer El-Haj-Mahmoud" To: Grant Likely , "devel@edk2.groups.io" , G Edhaya Chandran , Barton Gao CC: nd Subject: Re: [edk2-sct PATCH 1/3] edk2-test: Add support for building extra packages Thread-Topic: [edk2-sct PATCH 1/3] edk2-test: Add support for building extra packages Thread-Index: AQHXAJ3wz/DYU5A/xUqlUhwxGWjlqKphQrbA Date: Sat, 20 Feb 2021 16:03:53 +0000 Message-ID: References: <20210211174605.17937-1-grant.likely@arm.com> In-Reply-To: <20210211174605.17937-1-grant.likely@arm.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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: [99.132.126.10] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: adae57b2-3253-465f-dcc1-08d8d5b925f4 x-ms-traffictypediagnostic: DBBPR08MB6057:|AM0PR08MB5476: 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: XHbwmX0AhtcHG5QiGHWoMTRsOgKw8EPT6Ep7RaJo4ycsaaK1QZaxIbhf7G54H08gXIxSFWycczNOrakF4ydKyikaK3giqhB5jfmNFV9aFiQZjnWubbhnhSMZz2LTRlhWQmozfNbIoFzkpgvBwlFeAemKoK62iy6EB1Ia8boWNy+/EGJi94+xlHskFfQcLxWtgdemZzrepBjYvDqisfShFDNncB6YQtcGzFHKmEFF0ErNXN1NVQY/BUUiukV3PxGm77bAcpiqs2oBkpR+bw/Y6FjAFazwgG7c2JiSjfTPGmZ1fWaRE7sf7e6K9+0HiZeYzZRGSmSlZYqXrB0qfvVE+B8ufsII6i+LoeJdEniRLz5TViRQ9G69G5F0urnPlBtAeeOrDmpawm9fhEX6Nq8EhFL5hEGm2PECOW7sFHGEaXvL74ZBcLNO7PBKUn7FUHcDvBmDrugOplTb+xnc12L9/NHq9VLB3+Ynmze2hETJAhB30NNdpIyVHNi6Cmi0rc3KQAiUSayoHmibb2m3RMGeQA== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR08MB3260.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(136003)(376002)(346002)(366004)(396003)(39860400002)(8676002)(5660300002)(83380400001)(6506007)(4326008)(2906002)(52536014)(66476007)(53546011)(66556008)(66946007)(66446008)(64756008)(76116006)(186003)(316002)(7696005)(8936002)(9686003)(86362001)(71200400001)(26005)(33656002)(55016002)(478600001)(110136005);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?de6zTjomsXCFRsHaBeAckRv2E/8iB5HvhvIWc+odNw7jJZbl+3jShgN3CIb5?= =?us-ascii?Q?iqiBGoMYTHiFF9pqEjuCUFY3275pXqWmQ+NEwpAr9zONoMxjNdi+5Uyo5cOQ?= =?us-ascii?Q?LBldhgdoU7bSVTSehEiPJSKL9hnLX7DbfGKduCj8dOt8ieUApdxSGawXHVGC?= =?us-ascii?Q?8nu1rwMajf73IANeFJ08gQb7pnUW2wQra2bn5zfo2+JsP7Z5JGpZsar4RJJ4?= =?us-ascii?Q?Q3kDjAWKWzFolhnIBv80sl8N21eeXPbpyGA62P6BxL191tg5wrAGGXBbK0kM?= =?us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CUVsENL56h63B0b+TCV/8mPaL87BhrrmB?= =?us-ascii?Q?I6la3lbnaR71tzQ4hL6wPGWeUDdD41omewJfdEspy8FMtm4QDrsspZHQvU6C?= =?us-ascii?Q?tfBgBAtcrdxUVmJgaedTZolvGVH0GRoW3QwIDCRiuovsGUJhnABU2iLgTCHF?= =?us-ascii?Q?hjgxEfFZxpnGQNaxGS0WE5Pk?= MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB6057 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: Samer.El-Haj-Mahmoud@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT040.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 0f3d6cfc-f6e3-46d1-95ac-08d8d5b91f15 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KEOWT0jVUb5lgsRXCvEKyppHNp0NMkq7BTl5K/ZIkqShBx8M+Mhv5lvW8OFi2rb/kFKj4viHuaZMp8c0xDAhT9LiXudFOjh9bRw/EplFu6myNu+LDpfDGiNQcx/hL6N+JY549zswbA/+I9OT6i5rCD77jx5eUM83boNVyKbrfr0x9sXhxXQRz8EBp4gmF9XOBZSr3FX+O2SutRRjemqMopYIOspgAs9Zk6TU1Y5hmaZEgjt57rRKxvDjHnYTvTS20gr+BDM20z2jb8VXzJM+fv8Qv0CH8xMCSYejsmVa61VnGHq5JOFN3B9gVwFBobJbvBrGS97vFx9rQZ2Pq7uu709Dk32uBsCYZJ5xxdqJz3fcMUSxw2mWFlchllOMpoAMXFyoVXuYz4vGQFRKwBWddb+onhaxJ6STlk3EdjGc7wgWSCOIMEQvoI3UGyBEvH59ACkrK5/Et5rTfPBhTySQ/y0qPpOu37a31BYPJFE82VURg5y5fiwLHmdq5D2a7MSd1lQ4P9k1Jqt4A2roDl2jZpSmcoiXCgbB9LCq1tpTDQ1IfkdJDM3GvkkOHouYmFR7h5s0odifD2IJlTd3gvrm35ZLUThBu3fu6em3ODHYVOeW6zvTIOy5VUIGMA3NmZgQO53AKz8Lk1d4tvouEJ5nXQcb/7H9DnXoutuGUMciJLg= 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;SFS:(4636009)(39860400002)(376002)(396003)(136003)(346002)(46966006)(36840700001)(316002)(70586007)(4326008)(6506007)(53546011)(70206006)(81166007)(478600001)(33656002)(110136005)(5660300002)(52536014)(26005)(86362001)(47076005)(83380400001)(186003)(7696005)(356005)(9686003)(336012)(8676002)(8936002)(82310400003)(36860700001)(55016002)(2906002)(82740400003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Feb 2021 16:04:05.4695 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: adae57b2-3253-465f-dcc1-08d8d5b925f4 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: AM5EUR03FT040.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5476 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Samer El-Haj-Mahmoud > -----Original Message----- > From: Grant Likely > Sent: Thursday, February 11, 2021 12:46 PM > To: devel@edk2.groups.io; G Edhaya Chandran > ; Barton Gao > Cc: nd ; Samer El-Haj-Mahmoud Mahmoud@arm.com>; Grant Likely ; Samer El-Haj- > Mahmoud > Subject: [edk2-sct PATCH 1/3] edk2-test: Add support for building extra > packages >=20 > The build.sh script is very useful for setting up the build environment b= efore > calling the package build. Sometimes additional packages are needed when > building the SCT. (e.g., it is useful to build ShellPkg). > Refactor the build code to allow additional DSCs to be added to the build= . >=20 > This patch is useful when building a full SCT image that includes the > EDK2 shell. >=20 > Signed-off-by: Grant Likely > Cc: G Edhaya Chandran > Cc: Barton Gao > Cc: Samer El-Haj-Mahmoud > --- > uefi-sct/SctPkg/build.sh | 34 +++++++++++++--------------------- > 1 file changed, 13 insertions(+), 21 deletions(-) >=20 > diff --git a/uefi-sct/SctPkg/build.sh b/uefi-sct/SctPkg/build.sh index > 37667711..22cf9667 100755 > --- a/uefi-sct/SctPkg/build.sh > +++ b/uefi-sct/SctPkg/build.sh > @@ -249,28 +249,20 @@ mkdir -p $DEST_DIR cp > $EDK_TOOLS_PATH/Source/C/bin/GenBin $DEST_DIR/GenBin >=20 > # > -# Build the SCT package > +# Build the packages needed for the SCT # Set $DSC_EXTRA to any extra > +packages needed for the build > # > -build -p SctPkg/UEFI/UEFI_SCT.dsc -a $SCT_TARGET_ARCH -t > $TARGET_TOOLS -b $SCT_BUILD $3 $4 $5 $6 $7 $8 $9 > - > -# Check if there is any error > -status=3D$? > -if test $status -ne 0 > -then > - echo Could not build the UEFI SCT package > - exit -1 > -fi > - > -build -p SctPkg/UEFI/IHV_SCT.dsc -a $SCT_TARGET_ARCH -t > $TARGET_TOOLS -b $SCT_BUILD $3 $4 $5 $6 $7 $8 $9 > - > -# Check if there is any error > -status=3D$? > -if test $status -ne 0 > -then > - echo Could not build the IHV SCT package > - exit -1 > -fi > - > +for DSC in SctPkg/UEFI/UEFI_SCT.dsc SctPkg/UEFI/IHV_SCT.dsc > $DSC_EXTRA > +do > + build -p $DSC -a $SCT_TARGET_ARCH -t $TARGET_TOOLS -b > $SCT_BUILD $3 $4 $5 $6 $7 $8 $9 > + # Check if there is any error > + status=3D$? > + if test $status -ne 0 > + then > + echo Could not build package $DSC > + exit -1 > + fi > +done >=20 > # > # If the argument is clean, then don't have to generate Sct binary. > -- > 2.20.1