summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source
diff options
context:
space:
mode:
authorFeng, Bob C <bob.c.feng@intel.com>2019-05-10 14:33:36 +0800
committerFeng, Bob C <bob.c.feng@intel.com>2019-05-22 09:15:56 +0800
commit9ca1f1446a5ad6b108044739a50e9275758e772c (patch)
treeb979da613ad96f677367cbfa7df56bd7c928e411 /BaseTools/Source
parentc1387446edbb05a11e2646e4184585d58d47a7d6 (diff)
downloadedk2-9ca1f1446a5ad6b108044739a50e9275758e772c.tar.gz
edk2-9ca1f1446a5ad6b108044739a50e9275758e772c.tar.bz2
edk2-9ca1f1446a5ad6b108044739a50e9275758e772c.zip
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 <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>
Diffstat (limited to 'BaseTools/Source')
-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 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