mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user