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 <[email protected]>
---

Index: CorebootPayloadPkg/CorebootPayloadPkgIA32.dsc
===================================================================
--- CorebootPayloadPkg/CorebootPayloadPkgIA32.dsc       (revision 17108)
+++ CorebootPayloadPkg/CorebootPayloadPkgIA32.dsc       (working copy)
@@ -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
Index: CorebootPayloadPkg/CorebootPayloadPkgX64.dsc
===================================================================
--- CorebootPayloadPkg/CorebootPayloadPkgX64.dsc        (revision 17108)
+++ CorebootPayloadPkg/CorebootPayloadPkgX64.dsc        (working copy)
@@ -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

Attachment: 11.patch
Description: Binary data

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to