diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2013-03-12 12:24:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-15 01:53:03 +0000 |
commit | 92281f999804463c289cd9164cce21f80cc209df (patch) | |
tree | 19e619e72cdfabff2f39ffefc78ef7a7df604907 /meta/classes | |
parent | 23c88bb151bfcc8b4e50f6c0543b22ecbc7923b5 (diff) | |
download | poky-92281f999804463c289cd9164cce21f80cc209df.tar.gz |
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>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/package.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 1625ebdb38..f3a6bc726d 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -682,6 +682,12 @@ python split_and_strip_files () { | |||
682 | debugdir = "" | 682 | debugdir = "" |
683 | debuglibdir = "/usr/lib/debug" | 683 | debuglibdir = "/usr/lib/debug" |
684 | debugsrcdir = "/usr/src/debug" | 684 | debugsrcdir = "/usr/src/debug" |
685 | elif d.getVar('PACKAGE_DEBUG_SPLIT_STYLE', True) == 'debug-without-src': | ||
686 | # Original OE-core, a.k.a. ".debug", style debug info, but without sources in /usr/src/debug | ||
687 | debugappend = "" | ||
688 | debugdir = "/.debug" | ||
689 | debuglibdir = "" | ||
690 | debugsrcdir = "" | ||
685 | else: | 691 | else: |
686 | # Original OE-core, a.k.a. ".debug", style debug info | 692 | # Original OE-core, a.k.a. ".debug", style debug info |
687 | debugappend = "" | 693 | debugappend = "" |