From e812a812c1a0800c49e11507cb46222351520cc7 Mon Sep 17 00:00:00 2001 From: Bob Feng Date: Thu, 23 May 2019 17:06:35 +0800 Subject: [PATCH] BaseTools: Remove './SecMain' from 'run' target BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1561 This patch is related to commit 9ca1f1 It's to remove the second .SecMain call from 'run' target. 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 a8b4ce7375..80ceb98310 100644 --- a/BaseTools/Source/Python/build/build.py +++ b/BaseTools/Source/Python/build/build.py @@ -1360,10 +1360,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 library