diff options
author | Richard Purdie <richard@openedhand.com> | 2007-12-19 10:32:12 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-12-19 10:32:12 +0000 |
commit | 6480e3a2f6c0363efe336854476c38767b5d636a (patch) | |
tree | b5d2da444d7975016a5bc19c2ce56d086ead9c39 /meta/classes | |
parent | 34927dfa61c696442f297c284d546e443ed21485 (diff) | |
download | openembedded-core-6480e3a2f6c0363efe336854476c38767b5d636a.tar.gz openembedded-core-6480e3a2f6c0363efe336854476c38767b5d636a.tar.bz2 openembedded-core-6480e3a2f6c0363efe336854476c38767b5d636a.tar.xz openembedded-core-6480e3a2f6c0363efe336854476c38767b5d636a.zip |
package.bbclass: Don't strip files in .debug directories
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3346 311d38ba-8fff-0310-9ca6-ca027cbcb966
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 514adfad4..5b1a7cf28 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -149,6 +149,12 @@ def runstrip(file, d): bb.debug(1, "runstrip: skip %s" % file) return 0 + # If the file is in a .debug directory it was already stripped, + # don't do it again... + if os.path.dirname(file).endswith(".debug"): + bb.note("Already run strip") + return 0 + strip = bb.data.getVar("STRIP", d, 1) objcopy = bb.data.getVar("OBJCOPY", d, 1) |