From 9ca1f1446a5ad6b108044739a50e9275758e772c Mon Sep 17 00:00:00 2001 From: "Feng, Bob C" Date: Fri, 10 May 2019 14:33:36 +0800 Subject: [PATCH] BaseTools: Remove './SecMain' from 'run' target BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1561 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: Liming Gao 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/Python/build/build.py index 78654a0dee..a8b4ce7375 100644 --- a/BaseTools/Source/Python/build/build.py +++ b/BaseTools/Source/Python/build/build.py @@ -1232,10 +1232,6 @@ class Build(): # run if Target == 'run': - RunDir = os.path.normpath(os.path.join(AutoGenObject.BuildDir, GlobalData.gGlobalDefines['ARCH'])) - Command = '.\SecMain' - os.chdir(RunDir) - LaunchCommand(Command, RunDir) return True # build modules