summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2020-09-02 10:41:53 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-10 18:07:40 (GMT)
commit936d5e0aa53b8b265eca75dd5f257803166bbf49 (patch)
treefcd99694e23fce12d1b3abb1f2e6d6f5539c860f /meta/classes
parent572cfbabc23634b6bd1bf343cebdeec9ef9abd25 (diff)
downloadpoky-936d5e0aa53b8b265eca75dd5f257803166bbf49.tar.gz
insane: improve gnu-hash-style warning
Instead of showing a filename under packages-split, show the package name and filename inside the package. (From OE-Core rev: 60b474320e2dd36bff9f0ef5f1dc491cbe734919) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 4f78fc65bb0c9bff05651d9e543bab3d75998f79) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/insane.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 12ae44d..c595080 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -442,7 +442,8 @@ def package_qa_hash_style(path, name, d, elf, messages):
442 if ("[mips32]" in line or "[mips64]" in line) and d.getVar('TCLIBC') == "musl": 442 if ("[mips32]" in line or "[mips64]" in line) and d.getVar('TCLIBC') == "musl":
443 sane = True 443 sane = True
444 if has_syms and not sane: 444 if has_syms and not sane:
445 package_qa_add_message(messages, "ldflags", "No GNU_HASH in the ELF binary %s, didn't pass LDFLAGS?" % path) 445 path = package_qa_clean_path(path, d, name)
446 package_qa_add_message(messages, "ldflags", "File %s in package %s doesn't have GNU_HASH (didn't pass LDFLAGS?)" % (path, name))
446 447
447 448
448QAPATHTEST[buildpaths] = "package_qa_check_buildpaths" 449QAPATHTEST[buildpaths] = "package_qa_check_buildpaths"