diff options
author | Liu Yu <pedroa.liu@outlook.com> | 2018-11-18 12:32:50 +0000 |
---|---|---|
committer | Jordan Justen <jordan.l.justen@intel.com> | 2018-11-18 16:31:24 -0800 |
commit | 90fa59f6857388231688675813fa43e068267214 (patch) | |
tree | 3b900508ab3e6c6ad3c60478afa4df8593851f41 /EmulatorPkg | |
parent | 66127011a544b90e800eb3619e84c2f94a354903 (diff) | |
download | edk2-90fa59f6857388231688675813fa43e068267214.zip edk2-90fa59f6857388231688675813fa43e068267214.tar.gz edk2-90fa59f6857388231688675813fa43e068267214.tar.bz2 |
EmulatorPkg/build.sh: Fix 'run' path to simulator host executable
Fixes: f89c018f3d "EmulatorPkg/Win: Enable 64bit (SEC, PEI, DXE all run at 64bit)"
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Pedroa Liu <pedroa.liu@outlook.com>
Diffstat (limited to 'EmulatorPkg')
-rwxr-xr-x | EmulatorPkg/build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/EmulatorPkg/build.sh b/EmulatorPkg/build.sh index 339c6b3..9ed5938 100755 --- a/EmulatorPkg/build.sh +++ b/EmulatorPkg/build.sh @@ -179,16 +179,16 @@ then PROCESSOR=$HOST_PROCESSOR fi +BUILD_OUTPUT_DIR=$WORKSPACE/Build/Emulator$PROCESSOR + case $PROCESSOR in IA32) ARCH_SIZE=32 - BUILD_OUTPUT_DIR=$WORKSPACE/Build/Emulator32 LIB_NAMES="ld-linux.so.2 libdl.so.2 crt1.o crti.o crtn.o" LIB_SEARCH_PATHS="/usr/lib/i386-linux-gnu /usr/lib32 /lib32 /usr/lib /lib" ;; X64) ARCH_SIZE=64 - BUILD_OUTPUT_DIR=$WORKSPACE/Build/Emulator LIB_NAMES="ld-linux-x86-64.so.2 libdl.so.2 crt1.o crti.o crtn.o" LIB_SEARCH_PATHS="/usr/lib/x86_64-linux-gnu /usr/lib64 /lib64 /usr/lib /lib" ;; |