* [Patch 2] BaseTools: Remove './SecMain' from 'run' target
@ 2019-05-23 9:06 Bob Feng
2019-05-23 14:01 ` Liming Gao
2019-05-23 14:40 ` [edk2-devel] " Michael D Kinney
0 siblings, 2 replies; 3+ messages in thread
From: Bob Feng @ 2019-05-23 9:06 UTC (permalink / raw)
To: devel; +Cc: Bob Feng, Liming Gao, Michael D Kinney
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>
---
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
@@ -1358,14 +1358,10 @@ class Build():
EdkLogger.error("build", COMMAND_FAILURE)
return True
# 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
if Target == 'libraries':
pass
--
2.20.1.windows.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Patch 2] BaseTools: Remove './SecMain' from 'run' target
2019-05-23 9:06 [Patch 2] BaseTools: Remove './SecMain' from 'run' target Bob Feng
@ 2019-05-23 14:01 ` Liming Gao
2019-05-23 14:40 ` [edk2-devel] " Michael D Kinney
1 sibling, 0 replies; 3+ messages in thread
From: Liming Gao @ 2019-05-23 14:01 UTC (permalink / raw)
To: Feng, Bob C, devel@edk2.groups.io; +Cc: Kinney, Michael D
Reviewed-by: Liming Gao <liming.gao@intel.com>
> -----Original Message-----
> From: Feng, Bob C
> Sent: Thursday, May 23, 2019 5:07 PM
> To: devel@edk2.groups.io
> Cc: Feng, Bob C <bob.c.feng@intel.com>; Gao, Liming <liming.gao@intel.com>; Kinney, Michael D <michael.d.kinney@intel.com>
> Subject: [Patch 2] 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>
> ---
> 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
> @@ -1358,14 +1358,10 @@ class Build():
> EdkLogger.error("build", COMMAND_FAILURE)
> return True
>
> # 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
> if Target == 'libraries':
> pass
> --
> 2.20.1.windows.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [edk2-devel] [Patch 2] BaseTools: Remove './SecMain' from 'run' target
2019-05-23 9:06 [Patch 2] BaseTools: Remove './SecMain' from 'run' target Bob Feng
2019-05-23 14:01 ` Liming Gao
@ 2019-05-23 14:40 ` Michael D Kinney
1 sibling, 0 replies; 3+ messages in thread
From: Michael D Kinney @ 2019-05-23 14:40 UTC (permalink / raw)
To: devel@edk2.groups.io, Feng, Bob C, Kinney, Michael D; +Cc: Gao, Liming
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
> -----Original Message-----
> From: devel@edk2.groups.io
> [mailto:devel@edk2.groups.io] On Behalf Of Bob Feng
> Sent: Thursday, May 23, 2019 2:07 AM
> To: devel@edk2.groups.io
> Cc: Feng, Bob C <bob.c.feng@intel.com>; Gao, Liming
> <liming.gao@intel.com>; Kinney, Michael D
> <michael.d.kinney@intel.com>
> Subject: [edk2-devel] [Patch 2] 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>
> ---
> 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
> @@ -1358,14 +1358,10 @@ class Build():
> EdkLogger.error("build",
> COMMAND_FAILURE)
> return True
>
> # 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
> if Target == 'libraries':
> pass
> --
> 2.20.1.windows.1
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-05-23 14:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-23 9:06 [Patch 2] BaseTools: Remove './SecMain' from 'run' target Bob Feng
2019-05-23 14:01 ` Liming Gao
2019-05-23 14:40 ` [edk2-devel] " Michael D Kinney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox