summaryrefslogtreecommitdiffabout
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2013-03-12 11:24:32 (GMT)
committer Richard Purdie <richard.purdie@linuxfoundation.org>2013-03-15 01:52:54 (GMT)
commit3c8452c3abae74a42989c0fbd5ba303788528750 (patch)
tree08ba85af250be1a9c9536675429a8fa4b795ed9b
parent3348e113d1e77bbe3b78abb7cddf866250421e06 (diff)
downloadopenembedded-core-3c8452c3abae74a42989c0fbd5ba303788528750.zip
openembedded-core-3c8452c3abae74a42989c0fbd5ba303788528750.tar.gz
openembedded-core-3c8452c3abae74a42989c0fbd5ba303788528750.tar.bz2
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>
-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 1625ebd..f3a6bc7 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 = ""