diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-02-28 19:21:10 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-02 16:49:07 +0000 |
commit | fc99c59d822f5104d0c81561f6c5562cf379ff36 (patch) | |
tree | 85428a4b02c83735dcac100c778b08c5602d658a /meta | |
parent | 3dd005248f56aa774631d6bb868b1f7328d57f3c (diff) | |
download | poky-fc99c59d822f5104d0c81561f6c5562cf379ff36.tar.gz |
bitbake.conf: Drop -fno-omit-frame-pointer
Let -Og decide the best debugging experience
(From OE-Core rev: e9a6f67e12864d59bb9178e87635eed2d2785a2a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/bitbake.conf | 4 | ||||
-rw-r--r-- | meta/conf/documentation.conf | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 85aab98462..f1540a0acf 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -610,10 +610,10 @@ DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types ${DEBUG_PREFIX_MAP}" | |||
610 | 610 | ||
611 | # Disabled until the option works properly -feliminate-dwarf2-dups | 611 | # Disabled until the option works properly -feliminate-dwarf2-dups |
612 | FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" | 612 | FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" |
613 | DEBUG_OPTIMIZATION = "-Og -fno-omit-frame-pointer ${DEBUG_FLAGS} -pipe" | 613 | DEBUG_OPTIMIZATION = "-Og ${DEBUG_FLAGS} -pipe" |
614 | SELECTED_OPTIMIZATION = "${@d.getVar(oe.utils.vartrue('DEBUG_BUILD', 'DEBUG_OPTIMIZATION', 'FULL_OPTIMIZATION', d))}" | 614 | SELECTED_OPTIMIZATION = "${@d.getVar(oe.utils.vartrue('DEBUG_BUILD', 'DEBUG_OPTIMIZATION', 'FULL_OPTIMIZATION', d))}" |
615 | SELECTED_OPTIMIZATION[vardeps] += "FULL_OPTIMIZATION DEBUG_OPTIMIZATION DEBUG_BUILD" | 615 | SELECTED_OPTIMIZATION[vardeps] += "FULL_OPTIMIZATION DEBUG_OPTIMIZATION DEBUG_BUILD" |
616 | BUILD_OPTIMIZATION = "${@oe.utils.vartrue('DEBUG_BUILD', '-Og -g -feliminate-unused-debug-types -fno-omit-frame-pointer', '-O2', d)} -pipe" | 616 | BUILD_OPTIMIZATION = "${@oe.utils.vartrue('DEBUG_BUILD', '-Og -g -feliminate-unused-debug-types', '-O2', d)} -pipe" |
617 | BUILD_OPTIMIZATION[vardeps] += "DEBUG_BUILD" | 617 | BUILD_OPTIMIZATION[vardeps] += "DEBUG_BUILD" |
618 | 618 | ||
619 | ################################################################## | 619 | ################################################################## |
diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf index c2c96ecf1e..550df20b0f 100644 --- a/meta/conf/documentation.conf +++ b/meta/conf/documentation.conf | |||
@@ -125,7 +125,7 @@ D[doc] = "The destination directory." | |||
125 | DATE[doc] = "The date the build was started using YMD format." | 125 | DATE[doc] = "The date the build was started using YMD format." |
126 | DATETIME[doc] = "The date and time the build was started." | 126 | DATETIME[doc] = "The date and time the build was started." |
127 | DEBUG_BUILD[doc] = "Specifies to build packages with debugging information. This influences the value of the SELECTED_OPTIMIZATION variable." | 127 | DEBUG_BUILD[doc] = "Specifies to build packages with debugging information. This influences the value of the SELECTED_OPTIMIZATION variable." |
128 | DEBUG_OPTIMIZATION[doc] = "The options to pass in TARGET_CFLAGS and CFLAGS when compiling a system for debugging. This variable defaults to '-Og -fno-omit-frame-pointer ${DEBUG_FLAGS} -pipe'." | 128 | DEBUG_OPTIMIZATION[doc] = "The options to pass in TARGET_CFLAGS and CFLAGS when compiling a system for debugging. This variable defaults to '-Og ${DEBUG_FLAGS} -pipe'." |
129 | DEFAULT_PREFERENCE[doc] = "Specifies a weak bias for recipe selection priority." | 129 | DEFAULT_PREFERENCE[doc] = "Specifies a weak bias for recipe selection priority." |
130 | DEPENDS[doc] = "Lists a recipe's build-time dependencies (i.e. other recipe files)." | 130 | DEPENDS[doc] = "Lists a recipe's build-time dependencies (i.e. other recipe files)." |
131 | DEPLOY_DIR[doc] = "Points to the general area that the OpenEmbedded build system uses to place images, packages, SDKs and other output files that are ready to be used outside of the build system." | 131 | DEPLOY_DIR[doc] = "Points to the general area that the OpenEmbedded build system uses to place images, packages, SDKs and other output files that are ready to be used outside of the build system." |