summaryrefslogtreecommitdiff
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2013-03-12 12:24:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-15 01:52:54 +0000
commit3c8452c3abae74a42989c0fbd5ba303788528750 (patch)
tree08ba85af250be1a9c9536675429a8fa4b795ed9b /meta/classes/package.bbclass
parent3348e113d1e77bbe3b78abb7cddf866250421e06 (diff)
downloadopenembedded-core-3c8452c3abae74a42989c0fbd5ba303788528750.tar.gz
openembedded-core-3c8452c3abae74a42989c0fbd5ba303788528750.tar.bz2
openembedded-core-3c8452c3abae74a42989c0fbd5ba303788528750.zip
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 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass6
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 () {
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 = ""