mirror of https://github.com/acidanthera/audk.git
Fix ‘build run’ doesn’t work for NT32 X64 build.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Cinnamon Shia <cinnamon.shia@hp.com> Reviewed-by: Yingke Liu <yingke.d.liu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16550 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9093fb92d5
commit
997a5d1b04
|
@ -1,6 +1,7 @@
|
||||||
## @file
|
## @file
|
||||||
# build a platform or a module
|
# build a platform or a module
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2014, Hewlett-Packard Development Company, L.P.<BR>
|
||||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||||
#
|
#
|
||||||
# This program and the accompanying materials
|
# This program and the accompanying materials
|
||||||
|
@ -938,7 +939,7 @@ class Build():
|
||||||
|
|
||||||
# run
|
# run
|
||||||
if Target == 'run':
|
if Target == 'run':
|
||||||
RunDir = os.path.normpath(os.path.join(AutoGenObject.BuildDir, 'IA32'))
|
RunDir = os.path.normpath(os.path.join(AutoGenObject.BuildDir, GlobalData.gGlobalDefines['ARCH']))
|
||||||
Command = '.\SecMain'
|
Command = '.\SecMain'
|
||||||
os.chdir(RunDir)
|
os.chdir(RunDir)
|
||||||
LaunchCommand(Command, RunDir)
|
LaunchCommand(Command, RunDir)
|
||||||
|
@ -1061,7 +1062,7 @@ class Build():
|
||||||
|
|
||||||
# run
|
# run
|
||||||
if Target == 'run':
|
if Target == 'run':
|
||||||
RunDir = os.path.normpath(os.path.join(AutoGenObject.BuildDir, 'IA32'))
|
RunDir = os.path.normpath(os.path.join(AutoGenObject.BuildDir, GlobalData.gGlobalDefines['ARCH']))
|
||||||
Command = '.\SecMain'
|
Command = '.\SecMain'
|
||||||
os.chdir(RunDir)
|
os.chdir(RunDir)
|
||||||
LaunchCommand(Command, RunDir)
|
LaunchCommand(Command, RunDir)
|
||||||
|
|
Loading…
Reference in New Issue