summaryrefslogtreecommitdiff
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-02-06 13:54:31 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-06 23:24:11 +0000
commitb07e79ea049d341a5a0a7e4bb72151f49336c5bc (patch)
treead033a50cd685b2dcc5ae03c21e5d9f5f077c999 /meta/classes/package.bbclass
parenteb09ebc9680eb50e23778dcc1c2697d13cf073ae (diff)
downloadopenembedded-core-b07e79ea049d341a5a0a7e4bb72151f49336c5bc.tar.gz
openembedded-core-b07e79ea049d341a5a0a7e4bb72151f49336c5bc.tar.bz2
openembedded-core-b07e79ea049d341a5a0a7e4bb72151f49336c5bc.zip
package.bbclass: Replace undefined 'src' with valid variable
After rewrite of split_and_strip_files src var is no longer available here where it is used so we should replace it with a valid value Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 69a4924ebb..b10e6f6a4a 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -766,7 +766,7 @@ python split_and_strip_files () {
elf_file = isELF(file)
if elf_file & 1:
if elf_file & 2:
- bb.warn("File '%s' from %s was already stripped, this will prevent future debugging!" % (src, pn))
+ bb.warn("File '%s' from %s was already stripped, this will prevent future debugging!" % (file[len(dvar):], pn))
continue
# Check if it's a hard link to something else
if s.st_nlink > 1: