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:
parent
34927dfa61
commit
6480e3a2f6
|
@ -149,6 +149,12 @@ def runstrip(file, d):
|
||||||
bb.debug(1, "runstrip: skip %s" % file)
|
bb.debug(1, "runstrip: skip %s" % file)
|
||||||
return 0
|
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)
|
strip = bb.data.getVar("STRIP", d, 1)
|
||||||
objcopy = bb.data.getVar("OBJCOPY", d, 1)
|
objcopy = bb.data.getVar("OBJCOPY", d, 1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue