diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-04-21 20:21:22 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-29 07:58:45 +0100 |
commit | 768c796850b1919286cc261e810c2339ae8c215c (patch) | |
tree | 39ee6dd8b12f73f5884806f4ba28eea02f4f58a8 /meta/classes | |
parent | f22380e69383049cc20a97dbf21cc838472d1bda (diff) | |
download | poky-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.bbclass | 1 |
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 | ||
26 | def base_contains(variable, checkvalues, truevalue, falsevalue, d): | 26 | def 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 | ||
29 | def base_both_contain(variable1, variable2, checkvalue, d): | 30 | def base_both_contain(variable1, variable2, checkvalue, d): |