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

(From OE-Core rev: b07e79ea049d341a5a0a7e4bb72151f49336c5bc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj 2013-02-06 13:54:31 -08:00 committed by Richard Purdie
parent 7980773d90
commit 43bc21462b
1 changed files with 1 additions and 1 deletions

View File

@ -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: