summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-04-21 20:21:22 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-29 07:58:45 +0100
commit768c796850b1919286cc261e810c2339ae8c215c (patch)
tree39ee6dd8b12f73f5884806f4ba28eea02f4f58a8 /meta/classes
parentf22380e69383049cc20a97dbf21cc838472d1bda (diff)
downloadpoky-768c796850b1919286cc261e810c2339ae8c215c.tar.gz
utils.bbclass: note for deprecated base_contains
(From OE-Core rev: 1a0e56630c5c27d8899dd0979ae0b86bbe227881) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/utils.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index 81b92cb5eb..ce639b283e 100644
--- a/meta/classes/utils.bbclass
+++ b/meta/classes/utils.bbclass
@@ -24,6 +24,7 @@ def base_version_less_or_equal(variable, checkvalue, truevalue, falsevalue, d):
24 return oe.utils.version_less_or_equal(variable, checkvalue, truevalue, falsevalue, d) 24 return oe.utils.version_less_or_equal(variable, checkvalue, truevalue, falsevalue, d)
25 25
26def base_contains(variable, checkvalues, truevalue, falsevalue, d): 26def base_contains(variable, checkvalues, truevalue, falsevalue, d):
27 bb.note('base_contains is deprecated, please use bb.utils.contains instead.')
27 return bb.utils.contains(variable, checkvalues, truevalue, falsevalue, d) 28 return bb.utils.contains(variable, checkvalues, truevalue, falsevalue, d)
28 29
29def base_both_contain(variable1, variable2, checkvalue, d): 30def base_both_contain(variable1, variable2, checkvalue, d):