summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Feng <bob.c.feng@intel.com>2019-05-23 17:06:35 +0800
committerFeng, Bob C <bob.c.feng@intel.com>2019-05-24 15:28:42 +0800
commite812a812c1a0800c49e11507cb46222351520cc7 (patch)
treec22d8b91b6fefccdae2073f9221654f7f4485f77
parent01e074bfbcf0a381e90feafa7c6fec30cdeae59b (diff)
downloadedk2-e812a812c1a0800c49e11507cb46222351520cc7.tar.gz
edk2-e812a812c1a0800c49e11507cb46222351520cc7.tar.bz2
edk2-e812a812c1a0800c49e11507cb46222351520cc7.zip
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 <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
-rw-r--r--BaseTools/Source/Python/build/build.py4
1 files changed, 0 insertions, 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