summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2020-09-02 11:41:53 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-02 16:00:46 +0100
commit0033cc5c10cbdb7850c96f42e02ef12f55dbc575 (patch)
tree09c8ab8f725c1cf0f065d3feb01fc4ada4875611
parentc1b2e1b424407f33bfb082d9992d8b553f4735cd (diff)
downloadpoky-0033cc5c10cbdb7850c96f42e02ef12f55dbc575.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: 4f78fc65bb0c9bff05651d9e543bab3d75998f79) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 c32bf25124..d7f8f919c3 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -443,7 +443,8 @@ def package_qa_hash_style(path, name, d, elf, messages):
443 if ("[mips32]" in line or "[mips64]" in line) and d.getVar('TCLIBC') == "musl": 443 if ("[mips32]" in line or "[mips64]" in line) and d.getVar('TCLIBC') == "musl":
444 sane = True 444 sane = True
445 if has_syms and not sane: 445 if has_syms and not sane:
446 package_qa_add_message(messages, "ldflags", "No GNU_HASH in the ELF binary %s, didn't pass LDFLAGS?" % path) 446 path = package_qa_clean_path(path, d, name)
447 package_qa_add_message(messages, "ldflags", "File %s in package %s doesn't have GNU_HASH (didn't pass LDFLAGS?)" % (path, name))
447 448
448 449
449QAPATHTEST[buildpaths] = "package_qa_check_buildpaths" 450QAPATHTEST[buildpaths] = "package_qa_check_buildpaths"