aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2018-12-03 21:42:45 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-08 00:12:34 +0000
commit66ff9408291f3df98e8a6cb3e6e348d7ec8f401d (patch)
tree19753caa9b4ab667e0e69455076e3400342b7a28
parent4ec42465e9df8cef20a97be11243726aa7dfb8c1 (diff)
downloadopenembedded-core-contrib-66ff9408291f3df98e8a6cb3e6e348d7ec8f401d.tar.gz
openembedded-core-contrib-66ff9408291f3df98e8a6cb3e6e348d7ec8f401d.tar.bz2
openembedded-core-contrib-66ff9408291f3df98e8a6cb3e6e348d7ec8f401d.zip
image-buildinfo: Remove unused function argument
Removes the listvars argument to image_buildinfo_outputvars(). It doesn't appear that this argument ever did anything. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/image-buildinfo.bbclass6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/classes/image-buildinfo.bbclass b/meta/classes/image-buildinfo.bbclass
index 87a6a1a4893..94c585d4cd9 100644
--- a/meta/classes/image-buildinfo.bbclass
+++ b/meta/classes/image-buildinfo.bbclass
@@ -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 () {