From nobody Mon May 6 11:15:14 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+40412+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+40412+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1557470027; cv=none; d=zoho.com; s=zohoarc; b=cHZe2AYGB27JWnigSHoqLjvK0O+DwqIrFaQYX9ppQPVSHgegl3VN9HSdAkZYgnTM2HyS+RnmlkMOAOuZR5TE9JCxwEodHAO5tqVfRrl0LNHerGGm5QlC/Ar3A8z6HRxQm4toxgh2shhzer2G8fLvaHpo3Lu56Pp59rc5HE3fOJA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1557470027; h=Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To:ARC-Authentication-Results; bh=1uFusmWSctoG8hiSo/E7pzeFhED81IH4/5Hjslmj1Ow=; b=hDZ+rDqYCY9X2GrbUEBSxts6lprR7SaI2TrwEwUC42tEgL+3b9teCVtP64v/G+m4sLMW69AINSUT8zVZaAsJ/mu9fNXvkg95mfJsT83eGcXdnPBThUunQr9yBvdMif53PDTX4QVCjmia9GirVeMpsEwq4u0oYMxWY6eRB0OpOV0= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+40412+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1557470027414668.080708604682; Thu, 9 May 2019 23:33:47 -0700 (PDT) Return-Path: X-Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by groups.io with SMTP; Thu, 09 May 2019 23:33:42 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 May 2019 23:33:42 -0700 X-ExtLoop1: 1 X-Received: from shwdepsi1121.ccr.corp.intel.com ([10.239.158.47]) by orsmga006.jf.intel.com with ESMTP; 09 May 2019 23:33:41 -0700 From: "Bob Feng" To: devel@edk2.groups.io Cc: Bob Feng , Liming Gao , Michael D Kinney Subject: [edk2-devel] [Patch] BaseTools: Remove './SecMain' from 'run' target Date: Fri, 10 May 2019 14:33:36 +0800 Message-Id: <20190510063336.27928-1-bob.c.feng@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,bob.c.feng@intel.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1557470026; bh=dh3RzqlrIkLZNjgRkA7KkVKoRBcMVubB8PCmE71oF3A=; h=Cc:Date:From:Reply-To:Subject:To; b=fF4qonCfdifWkn9gwOXYzcgEZrSi29b9HTd5t0PTUjCb3CLALIcE4D2uIlwfTD2DocH 2M/qAxobv8iL1eTkaQvq3PSmXbsEv0BngpNTCAAGDNzCbPfKrag45NGArP1Hx4htFSPxp 1hwIrzIwt6I5K4Cd+aqqfzajCnWJDtegAuA= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1561 When a target of 'run' is passed into build.py, BaseTools unconditionally attempts to execute the application called './SecMain' in the build output directory. This behavior applies to the Nt32Pkg which is being replaced with features in the EmulatorPkg. Signed-off-by: Bob Feng Cc: Liming Gao Cc: Michael D Kinney Reviewed-by: Michael D Kinney --- BaseTools/Source/Python/build/build.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/BaseTools/Source/Python/build/build.py b/BaseTools/Source/Pyth= on/build/build.py index 7271570d29..04f266abf5 100644 --- a/BaseTools/Source/Python/build/build.py +++ b/BaseTools/Source/Python/build/build.py @@ -1225,14 +1225,10 @@ class Build(): =20 makefile =3D GenMake.BuildFile(AutoGenObject)._FILE_NAME_[GenMake.= gMakeType] =20 # run if Target =3D=3D 'run': - RunDir =3D os.path.normpath(os.path.join(AutoGenObject.BuildDi= r, GlobalData.gGlobalDefines['ARCH'])) - Command =3D '.\SecMain' - os.chdir(RunDir) - LaunchCommand(Command, RunDir) return True =20 # build modules if BuildModule: BuildCommand =3D BuildCommand + [Target] --=20 2.20.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#40412): https://edk2.groups.io/g/devel/message/40412 Mute This Topic: https://groups.io/mt/31574316/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-