package.bbclass: add debug-without-src PACKAGE_DEBUG_SPLIT_STYLE
* same as original and default version, but does not package source files in PN-dbg (From OE-Core rev: 3c8452c3abae74a42989c0fbd5ba303788528750) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
23c88bb151
commit
92281f9998
|
@ -682,6 +682,12 @@ python split_and_strip_files () {
|
|||
debugdir = ""
|
||||
debuglibdir = "/usr/lib/debug"
|
||||
debugsrcdir = "/usr/src/debug"
|
||||
elif d.getVar('PACKAGE_DEBUG_SPLIT_STYLE', True) == 'debug-without-src':
|
||||
# Original OE-core, a.k.a. ".debug", style debug info, but without sources in /usr/src/debug
|
||||
debugappend = ""
|
||||
debugdir = "/.debug"
|
||||
debuglibdir = ""
|
||||
debugsrcdir = ""
|
||||
else:
|
||||
# Original OE-core, a.k.a. ".debug", style debug info
|
||||
debugappend = ""
|
||||
|
|
Loading…
Reference in New Issue