summaryrefslogtreecommitdiffstats
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:37:10 +0000
commit43bc21462bcf4eb46deae1a0f51f44a8ff920083 (patch)
treeba4d6ec39b5c8795e7de98709dd897e55602a91b
parent7980773d909a5373b7e21a973428bbb9d4be6182 (diff)
downloadpoky-43bc21462bcf4eb46deae1a0f51f44a8ff920083.tar.gz
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>
-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 () {
766 elf_file = isELF(file) 766 elf_file = isELF(file)
767 if elf_file & 1: 767 if elf_file & 1:
768 if elf_file & 2: 768 if elf_file & 2:
769 bb.warn("File '%s' from %s was already stripped, this will prevent future debugging!" % (src, pn)) 769 bb.warn("File '%s' from %s was already stripped, this will prevent future debugging!" % (file[len(dvar):], pn))
770 continue 770 continue
771 # Check if it's a hard link to something else 771 # Check if it's a hard link to something else
772 if s.st_nlink > 1: 772 if s.st_nlink > 1: