diff options
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 60f3200e89..acba388226 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -285,7 +285,7 @@ DOTDEBUG-dbg = "${bindir}/.debug ${sbindir}/.debug ${libexecdir}/.debug ${libdir | |||
285 | 285 | ||
286 | DEBUGFILEDIRECTORY-dbg = "/usr/lib/debug /usr/src/debug" | 286 | DEBUGFILEDIRECTORY-dbg = "/usr/lib/debug /usr/src/debug" |
287 | 287 | ||
288 | FILES_${PN}-dbg = "${@bb.data.getVar(['DOTDEBUG-dbg', 'DEBUGFILEDIRECTORY-dbg'][d.getVar('PACKAGE_DEBUG_SPLIT_STYLE', 1) == 'debug-file-directory'], d, 1)}" | 288 | FILES_${PN}-dbg = "${@d.getVar(['DOTDEBUG-dbg', 'DEBUGFILEDIRECTORY-dbg'][d.getVar('PACKAGE_DEBUG_SPLIT_STYLE', True) == 'debug-file-directory'], True)}" |
289 | 289 | ||
290 | SECTION_${PN}-dbg = "devel" | 290 | SECTION_${PN}-dbg = "devel" |
291 | ALLOW_EMPTY_${PN}-dbg = "1" | 291 | ALLOW_EMPTY_${PN}-dbg = "1" |
@@ -502,7 +502,7 @@ DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types" | |||
502 | # Disabled until the option works properly -feliminate-dwarf2-dups | 502 | # Disabled until the option works properly -feliminate-dwarf2-dups |
503 | FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" | 503 | FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" |
504 | DEBUG_OPTIMIZATION = "-O -fno-omit-frame-pointer ${DEBUG_FLAGS} -pipe" | 504 | DEBUG_OPTIMIZATION = "-O -fno-omit-frame-pointer ${DEBUG_FLAGS} -pipe" |
505 | SELECTED_OPTIMIZATION = "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][d.getVar('DEBUG_BUILD', 1) == '1'], d, 1)}" | 505 | SELECTED_OPTIMIZATION = "${@d.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][d.getVar('DEBUG_BUILD', True) == '1'], True)}" |
506 | SELECTED_OPTIMIZATION[vardeps] += "FULL_OPTIMIZATION DEBUG_OPTIMIZATION" | 506 | SELECTED_OPTIMIZATION[vardeps] += "FULL_OPTIMIZATION DEBUG_OPTIMIZATION" |
507 | BUILD_OPTIMIZATION = "-O2 -pipe" | 507 | BUILD_OPTIMIZATION = "-O2 -pipe" |
508 | 508 | ||