CorebootPayloadPkg: Add NOOPT build to accommodate source level debugging
authorScott Duplichan <scott@notabs.org>
Fri, 10 Apr 2015 02:41:36 +0000 (02:41 +0000)
committermauricema <mauricema@Edk2>
Fri, 10 Apr 2015 02:41:36 +0000 (02:41 +0000)
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

CorebootPayloadPkg/CorebootPayloadPkgIA32.dsc
CorebootPayloadPkg/CorebootPayloadPkgX64.dsc

index 9fc6c07..fd2d02c 100644 (file)
@@ -25,7 +25,7 @@
   PLATFORM_VERSION                    = 0.1\r
   DSC_SPECIFICATION                   = 0x00010005  \r
   SUPPORTED_ARCHITECTURES             = IA32|X64\r
-  BUILD_TARGETS                       = DEBUG|RELEASE\r
+  BUILD_TARGETS                       = DEBUG|RELEASE|NOOPT\r
   SKUID_IDENTIFIER                    = DEFAULT\r
   OUTPUT_DIRECTORY                    = Build/CorebootPayloadPkg\r
   FLASH_DEFINITION                    = CorebootPayloadPkg/CorebootPayloadPkg.fdf\r
index e1d6a62..20e6d7d 100644 (file)
@@ -25,7 +25,7 @@
   PLATFORM_VERSION                    = 0.1\r
   DSC_SPECIFICATION                   = 0x00010005  \r
   SUPPORTED_ARCHITECTURES             = IA32|X64\r
-  BUILD_TARGETS                       = DEBUG|RELEASE\r
+  BUILD_TARGETS                       = DEBUG|RELEASE|NOOPT\r
   SKUID_IDENTIFIER                    = DEFAULT\r
   OUTPUT_DIRECTORY                    = Build/CorebootPayloadPkg\r
   FLASH_DEFINITION                    = CorebootPayloadPkg/CorebootPayloadPkg.fdf\r