All of lore.kernel.org
 help / color / mirror / Atom feed
* one more point about PACKAGE_DEBUG_SPLIT_STYLE
@ 2021-09-17 18:07 Robert P. J. Day
  0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2021-09-17 18:07 UTC (permalink / raw)
  To: YP docs mailing list

[-- Attachment #1: Type: text/plain, Size: 1064 bytes --]


http://docs.yoctoproject.org/ref-manual/variables.html#term-PACKAGE_DEBUG_SPLIT_STYLE

  that section claims:

“debug-with-srcpkg”: The same behavior as “.debug” previously
described with the exception that all source files are placed in a
separate *-src pkg. This is the default behavior.

  well, it's sort of the default behaviour. the code in
package.bbclass states:

    # We default to '.debug' style
    if d.getVar('PACKAGE_DEBUG_SPLIT_STYLE') == 'debug-file-directory':
        # Single debug-file-directory style debug info
        debugappend = ".debug"
        ...
    else:
        # Original OE-core, a.k.a. ".debug", style debug info
        debugappend = ""
        debugstaticappend = ""

  so, according to the if construct in package.bbclass, unless you
explicitly set that variable, the default is ".debug." HOWEVER, not
once you notice what is happening in bitbake.conf:

  PACKAGE_DEBUG_SPLIT_STYLE ?= "debug-with-srcpkg"

it just seems like those two explanations are fighting with each
other.

rday

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-17 18:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-17 18:07 one more point about PACKAGE_DEBUG_SPLIT_STYLE Robert P. J. Day

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.