[MinnowBoard] How to build the firmware image with SourceLevelDebugPkg?
Anteja Vuk-Maček
anteja.vukmacek at gmail.com
Wed Apr 1 11:47:49 UTC 2015
Hi,
I link PeCoffExtraActionLib in PlatformPkgIA32.dsc (Vlv2TbltDevicePkg ).
!if $(SOURCE_DEBUG_ENABLE) == TRUE
PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
#DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.inf
#PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
#SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
!else
PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
!endif
May you tell me is this correct? I boot firmware without HOST and it don't
work correctly.
!if $(SOURCE_DEBUG_ENABLE) == TRUE
MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
#*_*_*_GENFW_FLAGS = --keepexceptiontable
!if $(TARGET) == DEBUG
DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS = /Od /Oy-
!endif
!else
DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS =
!endif
May you tell me is SOURCE_LEVEL_DEBUG_BUILD_OPTIONS macro correctly
defined?
Best regards,
Anteja
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elinux.org/pipermail/elinux-minnowboard/attachments/20150401/ede5a285/attachment.html>
More information about the elinux-MinnowBoard
mailing list