documentation: dev-manual - Created list of option.

Better display of the SELECTED_OPTIMIZATION variable options
when they appear as a list.

Also, some punctuation added.

(From yocto-docs rev: 73777e545f13eacca9ee466ba852bccd84c17f6f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2012-10-01 07:45:33 -07:00 committed by Richard Purdie
parent 70c657200f
commit 93e7454bd7
1 changed files with 11 additions and 6 deletions

View File

@ -1880,11 +1880,11 @@
</para>
<para>
Perhaps the easiest way is to have an 'sdk' image that corresponds to the plain
Perhaps the easiest way is to have an SDK image that corresponds to the plain
image installed on the device.
In the case of <filename>core-image-sato</filename>,
<filename>core-image-sato-sdk</filename> would contain suitable symbols.
Because the sdk images already have the debugging symbols installed, it is just a
Because the SDK images already have the debugging symbols installed, it is just a
question of expanding the archive to some location and then informing GDB.
</para>
@ -2015,13 +2015,18 @@
<filename>-fno-omit-framepointer</filename> flag.
You can achieve this by setting the
<filename><ulink url='&YOCTO_DOCS_REF_URL;#var-SELECTED_OPTIMIZATION'>SELECTED_OPTIMIZATION</ulink></filename>
variable to
<filename>-fexpensive-optimizations -fno-omit-framepointer -frename-registers -O2</filename>.
variable with the following options:
<literallayout class='monospaced'>
-fexpensive-optimizations
-fno-omit-framepointer
-frename-registers
-O2
</literallayout>
You can also achieve it by setting the
<filename><ulink url='&YOCTO_DOCS_REF_URL;#var-DEBUG_BUILD'>DEBUG_BUILD</ulink></filename>
variable to "1" in the <filename>local.conf</filename> configuration file.
If you use the <filename>DEBUG_BUILD</filename> variable you will also add extra debug information
that can make the debug packages large.
If you use the <filename>DEBUG_BUILD</filename> variable,
you will also add extra debug information that can make the debug packages large.
</para>
<section id="platdev-oprofile-target">