mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
image-buildinfo: Remove unused function argument
Removes the listvars argument to image_buildinfo_outputvars(). It doesn't appear that this argument ever did anything. (From OE-Core rev: 66ff9408291f3df98e8a6cb3e6e348d7ec8f401d) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
85bad95a08
commit
0fc667d695
@@ -16,9 +16,8 @@ IMAGE_BUILDINFO_VARS ?= "DISTRO DISTRO_VERSION"
|
||||
IMAGE_BUILDINFO_FILE ??= "${sysconfdir}/build"
|
||||
|
||||
# From buildhistory.bbclass
|
||||
def image_buildinfo_outputvars(vars, listvars, d):
|
||||
def image_buildinfo_outputvars(vars, d):
|
||||
vars = vars.split()
|
||||
listvars = listvars.split()
|
||||
ret = ""
|
||||
for var in vars:
|
||||
value = d.getVar(var) or ""
|
||||
@@ -59,8 +58,7 @@ def buildinfo_target(d):
|
||||
return ""
|
||||
# Single and list variables to be read
|
||||
vars = (d.getVar("IMAGE_BUILDINFO_VARS") or "")
|
||||
listvars = (d.getVar("IMAGE_BUILDINFO_LVARS") or "")
|
||||
return image_buildinfo_outputvars(vars, listvars, d)
|
||||
return image_buildinfo_outputvars(vars, d)
|
||||
|
||||
# Write build information to target filesystem
|
||||
python buildinfo () {
|
||||
|
||||
Reference in New Issue
Block a user