summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJun Zhu <R01007@freescale.com>2015-04-03 22:34:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-15 18:12:39 +0100
commita536594605931fc940705b59afcfe457b8194f6d (patch)
tree16018eeaa6cbd9e4fadee20043955576366950ed /meta
parente2e522a6ede3165f63ad81c72f8ac6d3903f8296 (diff)
downloadpoky-a536594605931fc940705b59afcfe457b8194f6d.tar.gz
meta/lib/oe/utils.py: Corrected the return value of both_contain()
oe.utils.both_contain() should return the result as "checkvalue" or "", but the latest implement returns as "set(['checkvalue'])" or ""; It causes that bitbake.conf generates the wrong result of COMBINED_FEATURES, which contains the common components in both DISTRO_FEATURE and MACHINE_FEATURES. For example, build in Dizzy branch, COMBINED_FEATURES is "alsa usbhost ...", but recently, COMBINED_FEATURES is like "set(['alsa']) set(['usbhost']) ...". (From OE-Core master rev: c4ca9dbd4191fcff08e75035e3d276490ed80b05) (From OE-Core rev: 9471b87ecadeeba8e8ffe6955ec1dedc976a2978) Signed-off-by: Jun Zhu <R01007@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oe/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py
index bedade292b..b8224de20b 100644
--- a/meta/lib/oe/utils.py
+++ b/meta/lib/oe/utils.py
@@ -51,7 +51,7 @@ def both_contain(variable1, variable2, checkvalue, d):
51 else: 51 else:
52 checkvalue = set(checkvalue) 52 checkvalue = set(checkvalue)
53 if checkvalue.issubset(val1) and checkvalue.issubset(val2): 53 if checkvalue.issubset(val1) and checkvalue.issubset(val2):
54 return checkvalue 54 return " ".join(checkvalue)
55 else: 55 else:
56 return "" 56 return ""
57 57