From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] package.bbclass: add debug-without-src PACKAGE_DEBUG_SPLIT_STYLE
Date: Tue, 12 Mar 2013 12:24:32 +0100 [thread overview]
Message-ID: <1363087472-32085-1-git-send-email-Martin.Jansa@gmail.com> (raw)
* same as original and default version, but does not package source files in PN-dbg
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/classes/package.bbclass | 6 ++++++
1 file changed, 6 insertions(+)
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 = ""
--
1.8.1.5
next reply other threads:[~2013-03-12 11:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-12 11:24 Martin Jansa [this message]
2013-03-12 15:28 ` [PATCH] package.bbclass: add debug-without-src PACKAGE_DEBUG_SPLIT_STYLE Burton, Ross
2013-03-12 15:38 ` Mark Hatle
2013-03-13 14:08 ` Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1363087472-32085-1-git-send-email-Martin.Jansa@gmail.com \
--to=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox