git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4461ec
)
package.bbclass: Don't strip files in .debug directories meaning rerunning the packag...
author
Richard Purdie
<rpurdie@rpsys.net>
Wed, 19 Dec 2007 11:19:31 +0000
(11:19 +0000)
committer
Richard Purdie
<rpurdie@rpsys.net>
Wed, 19 Dec 2007 11:19:31 +0000
(11:19 +0000)
classes/package.bbclass
patch
|
blob
|
history
diff --git
a/classes/package.bbclass
b/classes/package.bbclass
index
37b9d83
..
ec8c3d9
100644
(file)
--- a/
classes/package.bbclass
+++ b/
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)