summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Duplichan <scott@notabs.org>2015-04-10 02:41:36 +0000
committermauricema <mauricema@Edk2>2015-04-10 02:41:36 +0000
commit090b856b348408a21bd41e784874c2855d6071ac (patch)
tree7153724ba8b4c2e25552db5cc0309ef80e835018
parent08e9b6f72c07719d99bbeebbea990af7891deec0 (diff)
downloadedk2-platforms-090b856b348408a21bd41e784874c2855d6071ac.tar.xz
CorebootPayloadPkg: Add NOOPT build to accommodate source level debugging
Add NOOPT build to accommodate source level debugging. The NOOPT build avoids the use of compiler optimization so that every local variable is accessible by a source level debugger. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Scott Duplichan <scott@notabs.org> Reviewed-by: Prince Agyeman <prince.agyeman@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17149 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--CorebootPayloadPkg/CorebootPayloadPkgIA32.dsc2
-rw-r--r--CorebootPayloadPkg/CorebootPayloadPkgX64.dsc2
2 files changed, 2 insertions, 2 deletions
diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIA32.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIA32.dsc
index 9fc6c07a85..fd2d02c114 100644
--- a/CorebootPayloadPkg/CorebootPayloadPkgIA32.dsc
+++ b/CorebootPayloadPkg/CorebootPayloadPkgIA32.dsc
@@ -25,7 +25,7 @@
PLATFORM_VERSION = 0.1
DSC_SPECIFICATION = 0x00010005
SUPPORTED_ARCHITECTURES = IA32|X64
- BUILD_TARGETS = DEBUG|RELEASE
+ BUILD_TARGETS = DEBUG|RELEASE|NOOPT
SKUID_IDENTIFIER = DEFAULT
OUTPUT_DIRECTORY = Build/CorebootPayloadPkg
FLASH_DEFINITION = CorebootPayloadPkg/CorebootPayloadPkg.fdf
diff --git a/CorebootPayloadPkg/CorebootPayloadPkgX64.dsc b/CorebootPayloadPkg/CorebootPayloadPkgX64.dsc
index e1d6a622a3..20e6d7db52 100644
--- a/CorebootPayloadPkg/CorebootPayloadPkgX64.dsc
+++ b/CorebootPayloadPkg/CorebootPayloadPkgX64.dsc
@@ -25,7 +25,7 @@
PLATFORM_VERSION = 0.1
DSC_SPECIFICATION = 0x00010005
SUPPORTED_ARCHITECTURES = IA32|X64
- BUILD_TARGETS = DEBUG|RELEASE
+ BUILD_TARGETS = DEBUG|RELEASE|NOOPT
SKUID_IDENTIFIER = DEFAULT
OUTPUT_DIRECTORY = Build/CorebootPayloadPkg
FLASH_DEFINITION = CorebootPayloadPkg/CorebootPayloadPkg.fdf