diff options
Diffstat (limited to 'meta/classes/package.bbclass')
| -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 514adfad44..5b1a7cf28a 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
| @@ -149,6 +149,12 @@ def runstrip(file, d): | |||
| 149 | bb.debug(1, "runstrip: skip %s" % file) | 149 | bb.debug(1, "runstrip: skip %s" % file) |
| 150 | return 0 | 150 | return 0 |
| 151 | 151 | ||
| 152 | # If the file is in a .debug directory it was already stripped, | ||
| 153 | # don't do it again... | ||
| 154 | if os.path.dirname(file).endswith(".debug"): | ||
| 155 | bb.note("Already run strip") | ||
| 156 | return 0 | ||
| 157 | |||
| 152 | strip = bb.data.getVar("STRIP", d, 1) | 158 | strip = bb.data.getVar("STRIP", d, 1) |
| 153 | objcopy = bb.data.getVar("OBJCOPY", d, 1) | 159 | objcopy = bb.data.getVar("OBJCOPY", d, 1) |
| 154 | 160 | ||
