mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 15:44:04 +02:00
InOsEmuPkg: Make sure to skip DXE IPL on emulator build, and don't double build every thing IA-32 Xcode.
Signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11868 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
53a6813fd0
commit
ea203f2215
@ -274,12 +274,14 @@
|
|||||||
#
|
#
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
|
|
||||||
|
!ifndef $(SKIP_MAIN_BUILD)
|
||||||
[Components.X64]
|
[Components.X64]
|
||||||
MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
|
MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
# turn off CR3 write so that DXE IPL will not crash emulator
|
# turn off CR3 write so that DXE IPL will not crash emulator
|
||||||
BaseLib|UnixPkg/Library/UnixBaseLib/UnixBaseLib.inf
|
BaseLib|UnixPkg/Library/UnixBaseLib/UnixBaseLib.inf
|
||||||
}
|
}
|
||||||
|
!endif
|
||||||
|
|
||||||
[Components.IA32]
|
[Components.IA32]
|
||||||
MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
|
MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
|
||||||
|
@ -121,7 +121,7 @@ done
|
|||||||
#
|
#
|
||||||
echo $PATH
|
echo $PATH
|
||||||
echo `which build`
|
echo `which build`
|
||||||
build -p $WORKSPACE/InOsEmuPkg/Unix/UnixX64.dsc -a IA32 -t $TARGET_TOOLS -D SEC_ONLY -D BUILD_32 -n 3 $1 $2 $3 $4 $5 $6 $7 $8 modules
|
build -p $WORKSPACE/InOsEmuPkg/Unix/UnixX64.dsc -a IA32 -t $TARGET_TOOLS -D SEC_ONLY -D BUILD_32 -D SKIP_MAIN_BUILD -n 3 $1 $2 $3 $4 $5 $6 $7 $8 modules
|
||||||
build -p $WORKSPACE/InOsEmuPkg/Unix/UnixX64.dsc -a IA32 -t $UNIXPKG_TOOLS -D BUILD_32 $NETWORK_SUPPORT $BUILD_NEW_SHELL $BUILD_FAT -n 3 $1 $2 $3 $4 $5 $6 $7 $8
|
build -p $WORKSPACE/InOsEmuPkg/Unix/UnixX64.dsc -a IA32 -t $UNIXPKG_TOOLS -D BUILD_32 $NETWORK_SUPPORT $BUILD_NEW_SHELL $BUILD_FAT -n 3 $1 $2 $3 $4 $5 $6 $7 $8
|
||||||
cp $WORKSPACE/Build/EmuUnixIa32/DEBUG_"$TARGET_TOOLS"/IA32/SecMain $WORKSPACE/Build/EmuUnixIa32/DEBUG_"$UNIXPKG_TOOLS"/IA32
|
cp $WORKSPACE/Build/EmuUnixIa32/DEBUG_"$TARGET_TOOLS"/IA32/SecMain $WORKSPACE/Build/EmuUnixIa32/DEBUG_"$UNIXPKG_TOOLS"/IA32
|
||||||
exit $?
|
exit $?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user