diff options
author | Feng, Bob C <bob.c.feng@intel.com> | 2019-05-10 14:33:36 +0800 |
---|---|---|
committer | Feng, Bob C <bob.c.feng@intel.com> | 2019-05-22 09:15:56 +0800 |
commit | 9ca1f1446a5ad6b108044739a50e9275758e772c (patch) | |
tree | b979da613ad96f677367cbfa7df56bd7c928e411 | |
parent | c1387446edbb05a11e2646e4184585d58d47a7d6 (diff) | |
download | edk2-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>
-rw-r--r-- | BaseTools/Source/Python/build/build.py | 4 |
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
|