mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
meta/scripts: Improve internal variable naming
Update internal variable names to improve the terms used. (From OE-Core rev: f408068e5d7998ae165f3002e51bc54b380b8099) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8827a3ed80
commit
d9e500f83d
@@ -441,7 +441,8 @@ def package_qa_hash_style(path, name, d, elf, messages):
|
||||
QAPATHTEST[buildpaths] = "package_qa_check_buildpaths"
|
||||
def package_qa_check_buildpaths(path, name, d, elf, messages):
|
||||
"""
|
||||
Check for build paths inside target files and error if not found in the whitelist
|
||||
Check for build paths inside target files and error if paths are not
|
||||
explicitly ignored.
|
||||
"""
|
||||
# Ignore .debug files, not interesting
|
||||
if path.find(".debug") != -1:
|
||||
@@ -1283,8 +1284,8 @@ Rerun configure task after fixing this."""
|
||||
options = set()
|
||||
for line in output.splitlines():
|
||||
options |= set(line.partition(flag)[2].split())
|
||||
whitelist = set(d.getVar("UNKNOWN_CONFIGURE_OPT_IGNORE").split())
|
||||
options -= whitelist
|
||||
ignore_opts = set(d.getVar("UNKNOWN_CONFIGURE_OPT_IGNORE").split())
|
||||
options -= ignore_opts
|
||||
if options:
|
||||
pn = d.getVar('PN')
|
||||
error_msg = pn + ": configure was passed unrecognised options: " + " ".join(options)
|
||||
|
||||
Reference in New Issue
Block a user